Spec sheet for a model year
Changed onThe specs for a model year, or one trim of it with trim. refs holds the same IDs as the VIN decode. Values are grouped by catalog section, each as { value, unit?, stated? }. Numbers are metric (except horsepower and sizes in inches) and give their unit; stated is the source's own number when it published a different unit.
A model-year sheet shows only values every version agrees on: a decoded field (refs, engine fields) only when every build of the year has the same value, and any other value only when every trim has it. For more detail ask for one trim with trim, or one build with GET /v2/specs/nano:{code}.
markets holds what each market publishes (markets.US, markets.CA): pricing.msrp, every price by trim and style, cheapest first, in the market's currency; and colors, with name, RGB and hex. Markets are never merged. Costs 1 credit.
Request
- Base URLhttps://api.cardog.app
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
A model-year ref, e.g. model-year:toyota/rav4/2021. Encode any slash in the ref as %2F.
Query parameters
Return the sheet for this trim only
Response
The spec sheet, by section and by market
The model year you asked for, as an ID
The level of the sheet: model-year lists only what every build of the model year shares; trim (with ?trim=) covers one trim
The trim, when grain is trim
Model year
Make name to show
Model name to show
The vehicle's IDs, the same keys GET /v2/vin/{vin} returns, so you can join a spec sheet to a decoded VIN. A value given here is not repeated in sections.
The specs, grouped by section ID, then attribute ID (see GET /v2/specs/catalog). Empty sections are left out.
Prices and colors per market, never merged across markets. A market with nothing published is left out.
Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Changes
- info
added the optional property
requestIdto the response with the status - info
added the optional property
requestIdto the response with the status - info
added the optional property
requestIdto the response with the status
2 more changes in this revision
- info