Otomoto car search
Cars and other vehicles for sale on Otomoto (Poland) with the site's filters: category, make, model, generation, version, location and radius, year, price, mileage, power, engine size, seats, battery and range, fuel, gearbox, body type, drive, colour, doors, country of origin, condition, seller type, damage, accident-free, VIN shown and other flags, keywords and any other site filter by its own name, plus sort and paging (32 per page). Each result has id, link, title, price and currency, net price, price evaluation, make, model, version, year, mileage, fuel, gearbox, engine size, power, city, region, seller type and the dealer (name, page, logo). Private sellers are never named. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
category | cars | motorcycles | vans | trucks | construction | trailers | agricultural | parts | Vehicle category. |
make | string | Make slug as in Otomoto links (bmw, volkswagen, mercedes-benz...). Example: bmw |
model | string | Model slug (seria-3, golf...). Needs make. Example: seria-3 |
location | string | City or region slug as in Otomoto links (warszawa, mazowieckie...). |
radius_km | integer | Radius around the location (km). |
year_min | integer | Earliest year. |
year_max | integer | Latest year. |
price_min | number | Lowest price (PLN). |
price_max | number | Highest price (PLN). |
mileage_min | number | Lowest mileage (km). |
mileage_max | number | Highest mileage (km). |
power_min | number | Lowest power (HP). |
power_max | number | Highest power (HP). |
engine_capacity_min | number | Smallest engine (cm3). |
engine_capacity_max | number | Largest engine (cm3). |
fuel | string | Fuel types, comma-separated: petrol, diesel, hybrid, plugin-hybrid, electric, petrol-lpg, petrol-cng, hydrogen. |
gearbox | string | manual or automatic. |
body_type | string | Body types, comma-separated: sedan, combi, suv, compact, coupe, cabrio, minivan, city-car. |
drive | string | Drive types, comma-separated (front-wheel, rear-wheel, 4x4-permanent, 4x4-auto...). |
color | string | Colours, comma-separated (black, white, silver, grey...). |
generation | string | Generation slug (e.g. gen-f30-2012). |
condition | new | used | Condition. |
seller_type | private | dealer | Seller type. |
damaged | boolean | false: only undamaged; true: only damaged. |
no_accident | boolean | true: only accident-free. |
has_vin | boolean | true: only listings with a VIN. |
q | string | Keywords. |
sort | relevance | newest | price_asc | price_desc | mileage_asc | mileage_desc | power_asc | power_desc | Order. |
url | string | An otomoto.pl search link instead of the filters. |
page | integer | Page number (1-based). Pass next_page back as page; null on the last page. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/otomoto/v1/search" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/otomoto/v1/search",
params={},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/otomoto/v1/search");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).