Skip to main content
Glama

cars-data.com — Car Specs API

List generations of a model

list_generations
Read-onlyIdempotent

Generations/facelifts of a model, with production years. This answers from a fixed 40-car demo set. Full catalogue: pay per request with x402, no key (GET /v1/variants/{id}/specs $0.05, /v1/search $0.005, /v1/variants $0.005, /v1/compare $0.1, USDC on Base); the Apify Actor, billed per event by Apify (https://apify.com/carsdatacom/car-specs-api); or the whole database as a licensed export (https://cars-data.com/en/api).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoResponse language, one of the 20 published languages (en, ro, fr, de, es, it, sr, hr, pt, pl, cs, sk, hu, no, sv, el, bg, da, ar, tr). Spec labels and enum values come back translated. Default: en.
model_idYesOpaque model id from a search_cars or filter_cars result, e.g. m_1a2b3c4d

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesGenerations of the model

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / locale / description
      Added value: +"Response language, one of the 20 published languages (en, ro, fr, de, es, it, sr, hr, pt, pl, cs, sk, hu, no, sv, el, bg, da, ar, tr). Spec labels and enum values come back translated. Default: en."
    • changedInput schema / properties / model_id / description
      Previous value: -"opaque model id, e.g. m_1a2b3c4d"New value: +"Opaque model id from a search_cars or filter_cars result, e.g. m_1a2b3c4d"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "data": {
      +      "description": "Generations of the model",
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "display_name": {
      +            "description": "Generation / facelift name",
      +            "type": "string"
      +          },
      +          "generation_id": {
      +            "description": "Opaque generation id",
      +            "type": "string"
      +          },
      +          "model_id": {
      +            "description": "Opaque model id",
      +            "type": "string"
      +          },
      +          "years": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Production years, e.g. '2019–2024'; '2021–' is still in production"
      +          }
      +        },
      +        "required": [
      +          "generation_id",
      +          "model_id",
      +          "display_name",
      +          "years"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. Changed5 schema fields changed
    • changedInput schema / properties / locale / enum
      Previous value: -[
      -  "en",
      -  "ro",
      -  "fr",
      -  "de",
      -  "es",
      -  "it",
      -  "sr",
      -  "hr",
      -  "pt",
      -  "pl",
      -  "cs",
      -  "sk",
      -  "hu",
      -  "no",
      -  "sv",
      -  "el",
      -  "bg",
      -  "da",
      -  "ar"
      -]New value: +[
      +  "en",
      +  "ro",
      +  "fr",
      +  "de",
      +  "es",
      +  "it",
      +  "sr",
      +  "hr",
      +  "pt",
      +  "pl",
      +  "cs",
      +  "sk",
      +  "hu",
      +  "no",
      +  "sv",
      +  "el",
      +  "bg",
      +  "da",
      +  "ar",
      +  "tr"
      +]
    • addedInput schema / properties / model_id / description
      Added value: +"opaque model id, e.g. m_1a2b3c4d"
    • removedInput schema / properties / model_id / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / model_id / minimum
      Removed value: --9007199254740991
    • changedInput schema / properties / model_id / type
      Previous value: -"integer"New value: +"string"
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.