# /autoscout24/listings/search

`POST /api/autoscout24/listings/search`

Price: 20 credits

Search AutoScout24 car listings with the full filter set: make/model, article type, seller countries, postal code and radius, condition (new/used/demo/...), body type, fuel type, transmission, drivetrain, price range and price type, registration year range, mileage range, power range, seller type, seats and doors, cylinders, equipment, condition requirements, exterior and interior colors, paint and upholstery, emission class, online-since, previous owners and free-text keyword. Sort by best match, price, registration, mileage or power. Returns listing cards with price, vehicle summary, location and seller.

## How to use it

Search AutoScout24 car listings. make/model are slugs (e.g. make='bmw', model='x5'). Filter by countries (DE/AT/IT/BE/NL/ES/FR/LU), zip+radius_km, conditions, body_types, fuel_types, transmissions, drivetrains, price_from/price_to (EUR), registration_year_from/to, mileage_from/to (km), power_from/to (with power_unit kw or hp), seller_type, seats/doors, cylinders, equipment, exterior/interior colors, paint/upholstery, emission_class_from, online_since_days, previous_owners_to, keyword. Sort by best/price/first_registration/mileage/power with descending flag. count is required.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `make` (string, nullable) — Make slug (e.g. 'bmw', 'audi', 'mercedes-benz') (minLength: 1)
- `model` (string, nullable) — Model slug (e.g. 'a4', 'x5'); requires make to be set (minLength: 1)
- `article_type` (string) — Vehicle article type (default: "C"; one of: "C", "B", "N", "X", "L")
- `countries` (array) — Seller countries (empty = all of Europe) (default: []; one of: "A", "B", "D", "E", "F", "I", "L", "NL")
- `zip` (string, nullable) — Postal code to search around (minLength: 1)
- `radius_km` (integer, nullable) — Search radius around the postal code, in km (min: 1)
- `conditions` (array) — Vehicle conditions (new, used, demo, ...) (default: []; one of: "N", "U", "J", "O", "D", "S")
- `body_types` (array) — Body types to include (default: []; one of: 1, 2, 3, 4, 5, 6, 7, 12, 13)
- `fuel_types` (array) — Fuel types to include (default: []; one of: "2", "3", "B", "C", "D", "E", "H", "L", "M", "O")
- `transmissions` (array) — Transmission types to include (default: []; one of: "A", "M", "S")
- `drivetrains` (array) — Drivetrain types to include (default: []; one of: "4", "F", "R")
- `price_from` (integer, nullable) — Minimum price (EUR) (min: 0)
- `price_to` (integer, nullable) — Maximum price (EUR) (min: 0)
- `price_type` (string, nullable) — Whether price is private or dealer price (one of: "private", "dealer")
- `registration_year_from` (integer, nullable) — Minimum first registration year (min: 1900)
- `registration_year_to` (integer, nullable) — Maximum first registration year (min: 1900)
- `mileage_from` (integer, nullable) — Minimum mileage (km) (min: 0)
- `mileage_to` (integer, nullable) — Maximum mileage (km) (min: 0)
- `power_unit` (string) — Unit for power_from/power_to (default: "kw"; one of: "hp", "kw")
- `power_from` (integer, nullable) — Minimum engine power (in power_unit) (min: 0)
- `power_to` (integer, nullable) — Maximum engine power (in power_unit) (min: 0)
- `seller_type` (string, nullable) — Seller type (dealer or private) (one of: "D", "P")
- `seats_from` (integer, nullable) — Minimum number of seats (min: 1)
- `seats_to` (integer, nullable) — Maximum number of seats (min: 1)
- `doors_from` (integer, nullable) — Minimum number of doors (min: 1)
- `doors_to` (integer, nullable) — Maximum number of doors (min: 1)
- `cylinders` (string, nullable) — Number of cylinders (one of: "3", "4", "6", "8", "10plus")
- `equipment` (array) — Required equipment/options (default: []; one of: 1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 23, 25, 26, 27, 28, 29, 30, 31, 32, 34, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 52, 54, 111, 112, 113, 114, 115, 116, 117, 118, 119, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 170, 173, 174, 187, 189, 190, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 237, 238, 239, 240, 241, 242, 243, 244, 245, 248, 249, 250, 251)
- `conditions_equipment` (array) — Condition requirements (guarantee, full service history, ...) (default: []; one of: 37, 49, 53, 110, 120)
- `exterior_colors` (array) — Exterior colors to include (default: []; one of: 1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16)
- `interior_colors` (array) — Interior colors to include (default: []; one of: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
- `paint_types` (array) — Paint types to include (default: []; one of: "M", "O", "P", "S", "U")
- `upholstery_types` (array) — Upholstery types to include (default: []; one of: "AL", "CL", "FL", "OT", "PL", "VL")
- `emission_class_from` (integer, nullable) — Minimum Euro emission class (1-6) (min: 1; max: 6)
- `emission_sticker_min` (integer, nullable) — Minimum environmental (emission) sticker (one of: 1, 2, 3, 4, 5)
- `online_since_days` (integer, nullable) — Only listings online within the last N days (min: 1)
- `previous_owners_to` (integer, nullable) — Maximum number of previous owners (min: 1)
- `keyword` (string, nullable) — Free-text keyword search in the listing (minLength: 1)
- `sort` (string) — Sort order (default: "standard"; one of: "standard", "price", "financerate", "leasing_rate", "make", "year", "mileage", "power", "age", "distance")
- `descending` (boolean) — Sort descending instead of ascending (default: false)
- `count` (integer, required) — Max number of results to return (min: 1)

## Response

### 200 — Successful Response

- `@type` (string) (default: "AutoScout24Listing")
- `id` (string, required)
- `url` (string, nullable)
- `make` (string, nullable)
- `model` (string, nullable)
- `model_group` (string, nullable)
- `variant` (string, nullable)
- `model_version` (string, nullable)
- `price` (number, nullable)
- `mileage_km` (integer, nullable)
- `first_registration` (string, nullable)
- `power_kw` (integer, nullable)
- `power_hp` (integer, nullable)
- `fuel` (string, nullable)
- `transmission` (string, nullable)
- `body_type` (string, nullable)
- `displacement_cc` (integer, nullable)
- `offer_type` (string, nullable)
- `is_new` (boolean) (default: false)
- `is_damaged` (boolean) (default: false)
- `image` (string, nullable)
- `images` (array) (default: [])
- `location` (object, nullable)
  - `@type` (string) (default: "AutoScout24Location")
  - `country_code` (string, nullable)
  - `zip` (string, nullable)
  - `city` (string, nullable)
  - `street` (string, nullable)
  - `latitude` (number, nullable)
  - `longitude` (number, nullable)
- `seller` (object, nullable)
  - `@type` (string) (default: "AutoScout24Seller")
  - `id` (string, nullable)
  - `type` (string, nullable)
  - `is_dealer` (boolean) (default: false)
  - `company_name` (string, nullable)
  - `contact_name` (string, nullable)
  - `image` (string, nullable)
  - `alias` (string, nullable)
  - `info_url` (string, nullable)
  - `culture` (string, nullable)
  - `phones` (array) (default: [])

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

The entity was not found, or a precondition failed

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

