Body types
Lists Autochek's published body types with the numeric id the search body type filter takes.
Loading / 加载中…
Autochek API: used-car search, listings and reference data · Classifieds & second-hand data
The Autochek API searches used-car listings in Nigeria, Kenya, Ghana, Uganda and Côte d'Ivoire with filters for make, body type, transmission, fuel, condition, warranty, auction and featured status, returns full listing detail with price, financing terms, mileage, condition signals, features and photos for one listing, and reads the body-type, location, make and model reference lists that supply the numeric ids several of those filters take.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Lists Autochek's published body types with the numeric id the search body type filter takes.
Returns the full published record for one Autochek listing, including price, financing terms, condition signals, features and photos.
Lists the state and city names Autochek's own state and city search filters expect, with each city tied to its state.
Lists Autochek's published vehicle makes with the numeric id the search make filter takes.
Lists the vehicle models Autochek knows for a given make, each tied to that make's own id.
Searches live listings in one Autochek market with filters for make, body type, transmission, fuel, condition, location, warranty, auction and featured status.
autochek-body-types, autochek-locations, autochek-makes, autochek-models and autochek-search all return the same four paging fields alongside their own rows:
| Field | What it tells you |
|---|---|
count | rows on the current page |
source_total | rows across every page |
last_page | the final page number |
has_more | whether another page remains |
Reading has_more after each call is what tells a caller whether to raise body.page again, rather than assuming a fixed page count from any one operation's own bound. autochek-search additionally returns an honest empty window once body.page runs past the last page, instead of repeating the final page's rows.
autochek-search combines several filters on top of the required body.country, and each one narrows the same result set independently rather than needing to be combined in a fixed order. body.query matches free text against the listing title: searching Nigeria without a query returns thousands of rows, and adding a model word such as corolla cuts that number by more than an order of magnitude.
body.transmission groups Autochek's own simulated-manual label under the manual value rather than keeping it separate, so a manual-gearbox filter also surfaces that labelling. body.condition separates three ownership histories:
foreign: imported usedlocal: locally usednew: brand newbody.state and body.city each narrow independently, with neither one required by the other, unlike autochek-locations's own body.state_id, which only has an effect when body.kind is city.
engine_displacement_cc states the engine's displacement in cubic centimetres, and engine_type names the engine type Autochek records for the listing, on every row of both autochek-search and autochek-listing-detail. mileage carries the recorded distance, and mileage_unit names the unit that figure is measured in, so a caller does not have to assume a single unit across every listing. None of these four fields takes a value from a request: they describe the vehicle itself rather than anything body.country or body.make_id could filter by, and the same four values come back whether a listing was reached through autochek-search or opened directly through autochek-listing-detail.
Both autochek-search and autochek-listing-detail return price in the listing's own market currency, named separately by the currency field so a figure is never read against the wrong unit. price_before carries the figure a listing was previously priced at, letting a price drop be measured from the two fields on a single row rather than needing a second call to compare against an earlier price. Because price and price_before both come from the same row, the gap between them is always expressed in the same currency as the rest of that row, never requiring a conversion to compare the two.
inspected shows whether Autochek itself inspected the car, and accidented shows whether an accident is on record for it, on every row of both autochek-search and autochek-listing-detail. damage_count on autochek-listing-detail reports how many separate damage records Autochek logged for the vehicle, a figure neither of those two fields gives on its own.
warranty answers a third, separate question — whether a warranty applies to the listing — and carries no relation to either of the other two. grade_score on both operations reports Autochek's own condition grade for the listing, independent of the condition filter's import history, so two listings sharing the same body.condition value can still carry different grades. autochek-search alone adds listing_score, a further score kept apart from grade_score rather than replacing it.
filters_applied lists only the filters that actually mattered to an autochek-search result, which can be fewer than the filters a call sent. summary carries a short description of the listing, separate from the full title, and image names a single photo while the fuller images list carries more than that one picture. None of these four fields take a value from a request: all four describe what the search itself found, not a filter a caller chose.
Autochek is an automotive technology company that built a single marketplace spanning vehicle sourcing, financing, after-sales support and warranties, with operations reported across nine African countries. The company started in Nigeria and expanded into Ghana, Kenya and Uganda partly by acquiring existing marketplaces such as Cheki, then extended into francophone markets including Côte d'Ivoire and Senegal through the acquisition of the classifieds platform CoinAfrique. A used car, often called pre-owned or secondhand, is a vehicle that already had one or more retail owners before being listed for resale, and a vehicle identification number is the serial code the automotive industry uses to identify an individual vehicle.
{
"body": {
"country": "ng",
"make_id": 106,
"body_type_id": 3,
"limit": 10
}
}POST /api/v1/autochek/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).body.country value and keep each row's price paired with its own currency.monthly_installment, loan_value and financing_terms from autochek-listing-detail for one listing at a time.inspected, accidented, warranty and grade_score across autochek-search rows before a single autochek-listing-detail call is made.body.state and body.city expect.body.page tops out at 10 on autochek-body-types, 100 on autochek-makes, 500 on autochek-locations and autochek-models, and 1000 on autochek-search.body.limit goes up to 500 on autochek-body-types, autochek-locations, autochek-makes and autochek-models, and up to only 100 on autochek-search.body.country enum holds exactly five values, with no sixth value accepted on this input.make_id search for Toyota also returns Autochek's own Lexus-labelled rows; the source groups them under the same make id rather than a separate one.Call autochek-body-types with body.page and body.limit left at their defaults of 1 and 100, enough to return the entire list in one page since there are only 21 body types in total. Each row's id is the exact value body.body_type_id expects on autochek-search; SUV is 3, Sedan is 8 and Hatchback is 5. per_page is accepted in place of body.limit if a form field is already named that way. count reports how many of the 21 rows the current page holds, and has_more stays false once every row has been returned.
body.country takes one of five values: ng for Nigeria, ke for Kenya, gh for Ghana, ug for Uganda and ci for Côte d'Ivoire; market is accepted as an alternative name for the same input. The group's other country links, such as Senegal, Morocco and Egypt, are rejected rather than searched. Each row's price is stated in that market's own currency, named separately in the currency field returned alongside it, so a price from one market is never automatically converted into another market's currency.
Call autochek-makes and read the id next to the make's name; Toyota is 106 and Honda is 45. Send that number as body.make_id on autochek-search, which only accepts the numeric value autochek-makes returns for that filter. The same list is identical across every market Autochek searches, so this lookup only needs to be repeated when a new make is needed, not for every country.
No numeric model filter exists on autochek-search: a model id read from autochek-models, even one genuinely present in current inventory, returns zero rows when sent as a search filter. Call autochek-models with body.make_id to read a model's display name, then send that name, or part of it, as body.query on autochek-search alongside body.make_id for the same make. Free-text matching against the listing title is the only way this API narrows a search down to one model.
Send the listing's id as body.listing_id to autochek-listing-detail; car_id, the plain id and a full Autochek listing url are all accepted in its place. The response adds financing_terms for the financing arrangement, vin, exterior_color and interior_color for the vehicle, and features for its feature tags, none of which an autochek-search row returns.
body.transmission takes automatic, manual, cvt, simulated-manual or duplex; setting it to manual also returns the rows Autochek itself labels simulated-manual. body.fuel takes petrol, diesel or hybrid-petrol, and fuel_type reaches the same filter when sent in its place. Each matching row still reports its own exact transmission and fuel value rather than the filter value sent, so the two can differ in spelling even on a listing that matched the filter.
autochek-search rows already carry financing_available, monthly_installment and loan_value, showing whether financing is offered and its basic money figures for that listing. Only financing_terms, naming the arrangement itself, is missing from those rows: get it by sending the listing's listing_id as body.listing_id to autochek-listing-detail. A financing comparison across rows can start from monthly_installment and loan_value on the search result, calling autochek-listing-detail only where financing_terms still needs checking.
autochek-locations has no country input at all: the same state and city list serves every market Autochek searches, so no filtering by country is offered or needed. body.kind chooses between state and city rows, and body.state_id, read from a state row's own id, narrows a city request to one state's cities. The exact spelling a state or city row returns is what autochek-search's own body.state and body.city filters expect.