specs

Spec sheet for a model year

Changed on

The 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.

get/v2/specs/{ref}

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

ref, string required

A model-year ref, e.g. model-year:toyota/rav4/2021. Encode any slash in the ref as %2F.

Query parameters

trim, string

Return the sheet for this trim only

Response

The spec sheet, by section and by market

SpecSheet required
ref, string required

The model year you asked for, as an ID

grain, 'model-year' | 'trim' required

The level of the sheet: model-year lists only what every build of the model year shares; trim (with ?trim=) covers one trim

trim, string nullable

The trim, when grain is trim

year, integer nullable required

Model year

make, string nullable required

Make name to show

model, string nullable required

Model name to show

refs, object required

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.

sections, object required

The specs, grouped by section ID, then attribute ID (see GET /v2/specs/catalog). Empty sections are left out.

markets, object required

Prices and colors per market, never merged across markets. A market with nothing published is left out.

links, object

Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

Changes

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    2 more changes in this revision