variants

One variant, with its full language-neutral spec document

Returns the summary fields plus spec_count and specs — the raw, language-neutral spec document. For localized labels and units use /variants/{id}/specs.

In the demo tier the same path answers from the blob and returns the summary fields only (no specs); a car outside the 40 gets 403.

get/variants/{id}

Request

  • Base URL: https://api.cars-data.com/v1
  • URL: https://api.cars-data.com/v1/variants/{id}
  • Auth: one of:
    • API key in header X-Api-Key
    • HTTP bearer

Path parameters

idstring required
Example:v_1a2b3c4d

Opaque variant token, v_ followed by 8 hex characters.

Response

OK

Example response

{
  "data": {
    "generation_id": "g_1a2b3c4d",
    "variant_id": "v_1a2b3c4d"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.