latestOpenAPI 3.0.02026-08-093414154.6 KB
5331e15a22af
Years
Year list for light duty cars, trucks, vans and SUVs (use /api/years/v2 instead)
We encourage users to begin migrating to /api/years/v2
For complex queries you may use the json field to send an array of URL encoded JSON conditions, example:
[{"field": "make", "op": "in", "val": ["Scion", "Tesla"]}]
Allowed operators are: >, <, >=, <=, in, not in, like, not like, is null and not null.
Allowed search fields are: year, make, model, trim, make_id, and make_model_id.
get/api/years
Query parameters
yearstring
Value
makestring
Like
modelstring
Like
trimstring
Like
make_model_idstring
Value
make_idstring
Value
descriptionstring
Like
jsonstring
JsonSearchFilter
Response
integer[] required
Example response
[ 2022, 2021, 2020 ]