Skip to content

Years

GET Auth required

Returns available model years in the dataset. The demo dataset covers years 2015–2020. To access the full range from 1900 to today, subscribe and include a valid JWT.

Terminal window
curl "https://carapi.app/api/years/v2" \
-H "Authorization: Bearer YOUR_JWT_TOKEN_HERE"
[
2020,
2019,
2018,
2017,
2016,
2015
]
Terminal window
curl "https://carapi.app/api/years/v2?make=toyota&json=[{\"field\":\"make\",\"op\":\"in\",\"val\":[\"camry\",\"corolla\"]}]" \
-H "Authorization: Bearer YOUR_JWT_TOKEN_HERE"

GET /api/years Deprecated

Section titled “GET /api/years ”