/generations/{model_id}DictionariesVehicle generations
List or search active generations of an automobile or motorcycle model.
- Use a model ID from /models/{brand_id}. Preserve
vehicle_type:automobile/1is the default,motorcycle/2selects motorcycles. querysearches names, synonyms, ordinal and code. Production years arefrom_year/to_year; unknown or wrong-type models return an empty page.per_pageis 1–100, default 100. Follownext_pagewhilepage × per_page ≤ 10000, ornext_after_idasafter_idwithpageomitted. Stop whenhas_moreis false.
Path parameters
1model_idinteger≥ 1RequiredPositive parent ID from the preceding dictionary; preserve vehicle_type.
Query parameters
6vehicle_typestringdefault automobilevehicle_type=automobile / 1 is the default; motorcycle / 2 selects motorcycles on /search, /search/count and /cars. Use the same type for dictionaries.
querystring≤ 200 charsOptional literal name or synonym search, up to 200 characters. Blank disables search; * and ? are literal text.
pageinteger1–10,000 · default 1per_page is 1–100, default 100. Use page or after_id, never both. Offset: page × per_page ≤ 10000. For complete traversal, send next_after_id as after_id with page omitted until has_more=false. total then counts remaining matches.
per_pageinteger1–100 · default 100per_page is 1–100, default 100. Use page or after_id, never both. Offset: page × per_page ≤ 10000. For complete traversal, send next_after_id as after_id with page omitted until has_more=false. total then counts remaining matches.
after_idinteger≥ 1per_page is 1–100, default 100. Use page or after_id, never both. Offset: page × per_page ≤ 10000. For complete traversal, send next_after_id as after_id with page omitted until has_more=false. total then counts remaining matches.
langstringResponse locale. Option translations are also limited by the account languages. The page selects its current language automatically.
/generations/{model_id}curl -g "https://api.auctionsapi.com/generations/201?api_key=$CARS_API_KEY" \
-H "Accept: application/json"{2 keys
"data": [1 item
0: {9 keys
"meta": {8 keys
}Get API access
Connect your key to run every request on these pages against your own data. No key yet? Ask us for a demo key: the same JSON as the paid plans.