Documentation
Autochek used-car marketplace API reference for 6 operations
Reference for the Autochek used-car marketplace API: what each of its 6 operations' inputs does and what the response fields mean.
See also: Autochek API: used-car search, listings and reference data overview and prices · Autochek used-car marketplace API guide: search workflows
On this page
Autochek used-car marketplace API reference: body types and makes
autochek-body-types holds Autochek's 21 body types, and autochek-makes holds the marketplace's full make list, each returning the same id and name pair per row. autochek-makes's result does not change by market: calling it for Nigeria or Kenya returns the identical 257 rows, so no country input is offered on this operation at all. A row's id is the exact value body.body_type_id or body.make_id is checked against on autochek-search, while name is Autochek's own label for display rather than a value either filter accepts in the id's place. autochek-body-types is also considerably shorter than autochek-makes: 21 rows against 257, well within one page at the default limit of 100 for body types, while the same default limit spans several pages of makes.
Fields in this section (4)
autochek-body-types, autochek-makes, body.limit, body.page
autochek-locations: state and city reference
autochek-locations answers one of two different row shapes depending on body.kind:
state: each row is anidandnamefor one statecity: each row carries the sameidandname, plus a nestedstateobject repeating that city's own stateidandname
body.state_id only has an effect when body.kind is city, narrowing the returned cities to one state rather than every city Autochek knows. Like autochek-makes, this list is shared across every market Autochek operates rather than scoped to one of them, so the state and city spellings a search later needs come from the same list regardless of which country that search targets.
Fields in this section (3)
autochek-locations, body.kind, body.state_id
autochek-models: the model list, and why search cannot filter by it
autochek-models returns every model Autochek knows, each row's own id paired with name and the make object it belongs to; sending body.make_id narrows that list to one make's own models rather than the full set. The id this operation returns has no matching use on autochek-search: a model id that genuinely exists in current inventory still returns zero rows when sent as a search filter, so autochek-models exists to read a make's known models rather than to supply a filter value for search. Looking up a model's make object here answers the reverse question, confirming which make a given model id belongs to before that make's own id is sent to autochek-search.
Fields in this section (2)
autochek-models, body.make_id
autochek-search: fields a list operation's row does not carry
autochek-search returns country and currency at the top level, confirming which of the five markets a call actually matched and which currency the row prices that follow are stated in, rather than leaving a caller to infer either from body.country alone. filters_applied echoes back exactly which of the filters sent on the call actually narrowed the result set, which can come back shorter than the filters sent when one of them matched nothing. Inside each row, summary carries a short description, while image names one photo and the fuller images list carries more than that single one.
seller_id identifies who listed that row without naming them, a value autochek-listing-detail's own seller_name does spell out for the same listing. body.state and body.city only match a row when the spelling sent is exactly the one autochek-locations returns for that place, since neither is checked against the other for a close match.
Fields in this section (5)
autochek-search, body.country, body.query, body.state, body.city
What a search row's transmission, fuel and condition fields confirm
Each row's own transmission, fuel and condition fields echo back Autochek's label for that listing, independent of whatever value the call filtered by, so a call that leaves body.transmission empty still returns a transmission value for every row rather than an empty one. Filtering by body.transmission set to manual also returns rows Autochek itself labels simulated-manual, and a row returned that way still reports its own exact transmission value rather than being relabelled as manual. body.fuel and body.condition behave the same way: the fuel and condition fields on a matching row keep Autochek's own value rather than the filter value a caller sent, so the two can differ in spelling even on a listing that matched the filter.
Fields in this section (4)
autochek-search, body.transmission, body.fuel, body.condition
autochek-listing-detail: fields no search row carries
autochek-listing-detail answers several fields no autochek-search row returns at all. trim and wheel_drive describe the vehicle's trim level and drivetrain layout. vin returns the listing's vehicle identification number with part of it masked rather than the full code.
exterior_color and interior_color name the two colours separately, and owner_type and seller_name identify the kind of owner and the party who listed the vehicle, with seller_since reporting how long that party has sold through Autochek. features lists the feature tags Autochek recorded for the listing, and each entry inside images carries its own url and label rather than the single image field a search row returns.
damage_count reports how many separate damage records Autochek logged for the vehicle, a figure kept apart from the accidented and inspected yes-or-no fields both operations share. created_at and updated_at date two further moments in the listing's history that no autochek-search row returns, while listed_at dates a third moment both operations return alongside their own fields.
Fields in this section (2)
autochek-listing-detail, body.listing_id
{
"body": {
"listing_id": "r6HW7G352"
}
}{
"body": {
"kind": "city",
"state_id": 25,
"limit": 50
}
}Operations
Every public gateway operation uses POST /api/v1/{project}/{action}.
Use a JSON object with the documented path, query, headers and body locations; omit unused locations. input.headers is JSON data for the operation, not browser request headers. Do not put credentials here. Keep body arrays, scalar values and null as documented; omission is different from null.
Body types
POST /api/v1/autochek/autochek-body-types
Lists Autochek's published body types with the numeric id the search body type filter takes.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.limit | integer | Optional | 100 | — | 1–500 |
body.page | integer | Optional | 1 | — | 1–10 |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autochek/autochek-body-types' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"page":1}}'Response fields
pagelimitcountsource_totallast_pagehas_moreresults[]idname
Listing detail
POST /api/v1/autochek/autochek-listing-detail
Returns the full published record for one Autochek listing, including price, financing terms, condition signals, features and photos.
Input fields
| Field | Type | Required | Allowed values | Limits |
|---|---|---|---|---|
body.listing_id | string | Required | — | — |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autochek/autochek-listing-detail' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"listing_id":"r6HW7G352"}}'Response fields
listing_idcountryurltitlemakemodelmake_idmodel_idtrimwheel_driveyearpriceprice_beforecurrencymonthly_installmentloan_valuefinancing_termsmileagemileage_unittransmissionfuelengine_displacement_ccengine_typeconditionvinexterior_colorinterior_colorowner_typeseller_nameseller_sincecitystategrade_scoreinspectedaccidentedwarrantydamage_countfeatures[]images[]urllabel
created_atupdated_atlisted_at
Locations
POST /api/v1/autochek/autochek-locations
Lists the state and city names Autochek's own state and city search filters expect, with each city tied to its state.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.kind | string | Optional | "state" | "state""city" | — |
body.limit | integer | Optional | 100 | — | 1–500 |
body.page | integer | Optional | 1 | — | 1–500 |
body.state_id | integer | Optional | — | — | 1–9007199254740991 |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autochek/autochek-locations' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"kind":"state"}}'Response fields
pagelimitcountsource_totallast_pagehas_moreresults[]idnamestateidname
Makes
POST /api/v1/autochek/autochek-makes
Lists Autochek's published vehicle makes with the numeric id the search make filter takes.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.limit | integer | Optional | 100 | — | 1–500 |
body.page | integer | Optional | 1 | — | 1–100 |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autochek/autochek-makes' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"limit":100}}'Response fields
pagelimitcountsource_totallast_pagehas_moreresults[]idname
Models
POST /api/v1/autochek/autochek-models
Lists the vehicle models Autochek knows for a given make, each tied to that make's own id.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.limit | integer | Optional | 100 | — | 1–500 |
body.make_id | integer | Optional | — | — | 1–9007199254740991 |
body.page | integer | Optional | 1 | — | 1–500 |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autochek/autochek-models' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"make_id":106}}'Response fields
pagelimitcountsource_totallast_pagehas_moreresults[]idnamemakeidname
Search
POST /api/v1/autochek/autochek-search
Searches live listings in one Autochek market with filters for make, body type, transmission, fuel, condition, location, warranty, auction and featured status.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.country | string | Required | — | "ng""ke""gh""ug""ci" | — |
body.auction_only | boolean | Optional | — | — | — |
body.body_type_id | integer | Optional | — | — | 1–9007199254740991 |
body.city | string | Optional | — | — | — |
body.condition | string | Optional | — | "foreign""local""new" | — |
body.featured_only | boolean | Optional | — | — | — |
body.fuel | string | Optional | — | "petrol""diesel""hybrid-petrol" | — |
body.limit | integer | Optional | 24 | — | 1–100 |
body.make_id | integer | Optional | — | — | 1–9007199254740991 |
body.page | integer | Optional | 1 | — | 1–1000 |
body.query | string | Optional | — | — | — |
body.state | string | Optional | — | — | — |
body.transmission | string | Optional | — | "automatic""manual""cvt""simulated-manual""duplex" | — |
body.warranty_only | boolean | Optional | — | — | — |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autochek/autochek-search' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"country":"ng","limit":10}}'Response fields
countrycurrencypagelimitcountsource_totallast_pagehas_morefilters_appliedresults[]listing_idurltitlemakemodelyearpriceprice_beforecurrencymonthly_installmentfinancing_availableloan_valuemileagemileage_unittransmissionfuelengine_displacement_ccengine_typebody_type_idconditioninspectedaccidentedwarrantyauctionfeaturedsoldgrade_scorelisting_scorecitystateseller_idlisted_atsummaryimageimages
How calls work
POST /api/v1/autochek/<action>withx-api-key,Content-Type: application/jsonand a requiredIdempotency-Key.- A successful call returns
ok: true:datais the result of the operation,meta.requestIdidentifies the recorded request andmeta.chargedCreditUnitsis the amount charged. Otherwiseokisfalseanderror.codenames the reason; readokanderror.coderather than relying on the HTTP status alone. Every gateway reply carries a request id for support:meta.requestId, or a top-levelrequestIdin a reply withoutmeta(such as a refusal before admission). - Charged the listed price only when a call succeeds. Failures are not charged; an unconfirmed outcome is released after at most 900 seconds without a charge.
- Repeating the same request with the same Idempotency-Key after it has finished returns the stored response for 24 hours without a new charge.
In the gateway reference: