# /autohome/series/search

`POST /api/autohome/series/search`

Price: 5 credits

Search Autohome Car Series

## How to use it

Search the Autohome new-car catalogue of series currently on sale in China, filtered by guide price in 10,000 CNY units, vehicle class, energy type, brand, brand country, body structure, displacement, seats, aspiration, drive, transmission, domestic or imported production and required equipment, optionally ordered by price. Pass a row id to autohome/series for the full series profile or autohome/series/spec for trim parameters.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `count` (integer, required) — Max number of series to return (examples: 100; min: 1; max: 1700)
- `min_price` (integer, nullable) — Lowest guide price in units of 10,000 CNY (examples: 10; min: 0)
- `max_price` (integer, nullable) — Highest guide price in units of 10,000 CNY (examples: 15; min: 1)
- `level_id` (integer, nullable) — Autohome vehicle class id, for example 9 for large SUVs (examples: 9; min: 1)
- `fuel_type_id` (integer, nullable) — Autohome energy type id, for example 1 petrol, 4 battery electric (examples: 4; min: 1)
- `brand_id` (integer, nullable) — Autohome brand id, for example 33 for Audi (examples: 33; min: 1)
- `country_id` (integer, nullable) — Autohome brand country id: 1 China, 201 all European, 2 Germany, 6 France, 7 United Kingdom, 8 Italy, 9 Sweden, 3 Japan, 5 South Korea, 4 United States (examples: 2; min: 1)
- `body_structure_id` (integer, nullable) — Autohome body structure id: 1 hatchback, 2 sedan, 3 liftback, 4 wagon, 1000 crossover, 5 hardtop convertible, 6 soft-top convertible, 7 hardtop coupe, 8 bus, 9 truck (examples: 2; min: 1)
- `displacement` (string, nullable) — Engine displacement range (one of: "up_to_1.0l", "1.1-1.6l", "1.7-2.0l", "2.1-2.5l", "2.6-3.0l", "3.1-4.0l", "over_4.0l")
- `seats` (string, nullable) — Number of seats (one of: "2", "4", "5", "6", "7", "more_than_7")
- `aspiration` (string, nullable) — Engine air intake (one of: "naturally_aspirated", "turbocharged", "supercharged")
- `drive` (string, nullable) — Driven wheels (one of: "front_wheel_drive", "rear_wheel_drive", "four_wheel_drive")
- `transmission` (string, nullable) — Gearbox type; automatic covers manumatic, cvt and both dual-clutch kinds (one of: "manual", "automatic", "manumatic", "cvt", "wet_dual_clutch", "dry_dual_clutch")
- `production` (string, nullable) — Built in China (domestic) or imported (one of: "domestic", "imported")
- `config_ids` (array, nullable) — Autohome equipment ids a series must offer, all of them: 21 panoramic sunroof, 20 power sunroof, 2 power seats, 3 stability control, 4 xenon headlights, 5 GPS navigation, 6 cruise control, 7 leather seats, 8 rear parking sensors, 9 automatic climate control, 10 multifunction steering wheel, 13 LED headlights, 14 rear camera, 15 keyless start, 16 heated seats, 17 daytime running lights, 18 automatic parking, 19 Bluetooth phone (examples: [21,6])
- `sort` (string) — Result order (default: "default"; one of: "default", "price_low_to_high", "price_high_to_low")

## Response

### 200 — Successful Response

- `@type` (string) (default: "AutohomeSeriesSearchRow")
- `id` (integer, required)
- `name` (string, nullable)
- `url` (string, nullable)
- `image` (string, nullable)
- `min_price` (number, nullable)
- `max_price` (number, nullable)
- `currency` (string, nullable)
- `rating` (number, nullable)
- `sale_state` (integer, nullable)
- `manufacturer_name` (string, nullable)
- `level_name` (string, nullable)
- `body_structure` (string, nullable)
- `displacement` (string, nullable)
- `transmission` (string, nullable)
- `is_new_energy` (boolean, nullable)
- `ev_range` (string, nullable)
- `ev_power` (string, nullable)
- `ev_charge_time` (string, nullable)
- `spec_count` (integer, nullable)
- `spec_ids` (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.

