docs

Search parameters — GET /cars

Combine any of these on a single call. The answer carries total, page, count and results[], so you can paginate off total without a second request.

parameterwhat it does
manufacturerBrand, as Encar writes it: BMW, Hyundai, Kia, Genesis, Mercedes-Benz, Audi.
modelModel name, e.g. X5 (G05). Partial names match, and a generation name narrows further: model=The New Carnival returns that generation alone, not the whole nameplate.
qFree-text search across brand, model and badge. Aliases: keyword, search.
fueldiesel · gasoline · hybrid · electric · lpg.
transmissionautomatic · manual.
colorExterior colour.
seatsSeat count: 5, 7, 9. Several at once as seats=7,9. The two ends are ranges, not counts — 2 means two seats or fewer and 10 means ten or more, which is how the source files them. A car's own figure comes back as details.seats from /car.
yearFrom / yearToModel year bounds, as plain years: 2018, 2024.
mileageFrom / mileageToOdometer bounds in kilometres.
priceFrom / priceToPrice bounds in EUR — converted for you, not won.
sortpriceAsc or priceDesc. Left out, results come back newest first.
pagePage index, zero-based. Default 0.
countListings per page. Default 24, maximum 500.

Unknown parameters are ignored rather than rejected, so adding a filter your plan does not support will not break an existing integration — it simply will not narrow the result.

A worked example

Diesel BMW X5s under €40,000, cheapest first, 24 to a page. The whole query is the URL.

curl -H "x-api-key: avg_free_..." \
  "https://api.encar-api.com/api/cars?manufacturer=BMW&model=X5\
&fuel=diesel&priceTo=40000&sort=priceAsc&count=24"
← All documentation

Get your API key

Free tier · 100 requests a day

Get access →