POST /api/dongchedi/used_cars/search
Price: 10 credits
Search Dongchedi used-car listings in China by city, price, age, mileage, brand and specs
Search used cars for sale in China on Dongchedi, nationwide or in one city given by its Chinese name. Narrow by asking price in CNY, brand, series, car age, mileage, vehicle type, energy type and drive; each listing carries its price, registration year, mileage and city. Pass a listing id to dongchedi/used_cars for the inspection report, seller and full details.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)count integer required — Max number of listings to return (examples: 40; min: 1; max: 9500)city string nullable — Chinese city name the car is listed in; omit for all of China (examples: "北京")sort string — Result ordering (default: "default"; one of: "default", "newest", "price_desc", "price_asc", "age_desc", "age_asc", "mileage_desc", "mileage_asc")brand_id string nullable — Brand id, as brand_id in returned listings (examples: "16")series_ids array nullable — Car series ids, as series_id in returned listings (examples: ["4363"])price_min integer nullable — Minimum asking price in CNY, a multiple of 10000 (examples: 50000; min: 0)price_max integer nullable — Maximum asking price in CNY, a multiple of 10000 (examples: 100000; >: 0)mileage_max_km integer nullable — Maximum odometer reading in km (>: 0)age_min_years integer nullable — Minimum car age in years (min: 0)age_max_years integer nullable — Maximum car age in years (>: 0)displacement_min number nullable — Minimum engine displacement in litres (min: 0)displacement_max number nullable — Maximum engine displacement in litres (>: 0)vehicle_types array nullable — Vehicle types (one of: "sedan", "suv", "mpv", "sports_car", "minivan", "light_bus", "pickup", "mini_truck", "light_truck")vehicle_classes array nullable — Size classes (one of: "micro_car", "small_car", "compact_car", "midsize_car", "large_midsize_car", "large_car", "small_suv", "compact_suv", "midsize_suv", "large_midsize_suv", "large_suv", "small_mpv", "compact_mpv", "midsize_mpv", "large_mpv", "mini_pickup", "midsize_pickup", "full_size_pickup", "heavy_duty_pickup", "super_duty_pickup")origins array nullable — Manufacturer origin (one of: "joint_venture", "domestic", "joint_venture_domestic", "imported")fuel_types array nullable — Energy types (one of: "petrol", "diesel", "hybrid", "electric", "range_extender", "plug_in_hybrid", "mild_hybrid_48v")gearboxes array nullable — Gearbox types (one of: "manual", "automatic")drives array nullable — Drive layouts (one of: "front_wheel", "rear_wheel", "four_wheel")emission_standards array nullable — Chinese emission standards (one of: "china_4", "china_5", "china_6")has_inspection_report boolean — Only listings with a third-party inspection report (default: false)is_dongchedi_certified boolean — Only listings sold by Dongchedi's own used-car service (default: false)@type string (default: "DongchediUsedCarCard")id string requiredurl string requiredimage string nullablecurrency string (default: "CNY")price number nullablenew_price number nullableregistration_year integer nullablemileage_km integer nullablecity string nullablesource_city string nullablemodel_year integer nullablemodel_id string nullablemodel_name string nullableseries_id string nullableseries_name string nullablebrand_id string nullablebrand_name string nullablespu_id string nullableshop_id string nullableseller_type string nullablecertification string nullabletransfer_count integer nullablehas_video boolean (default: false)is_dongchedi_direct boolean (default: false)is_fixed_price boolean (default: false)down_payment number nullableseller_perks string nullabletags array (default: [])422 — Unknown city name. Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit 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 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 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 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 Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-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.