catalog

Models of a brand

get/brands/{slug}/models

Request

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

Path parameters

slugstring required

Canonical brand slug, e.g. volkswagen. Slugs are stable and public; only numeric ids are tokenised.

Query parameters

locale'ar' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'es' | 'fr' | 'hr' | 'hu' | 'it' | 'no' | 'pl' | 'pt' | 'ro' | 'sk' | 'sr' | 'sv' | 'tr'

One of the 20 published languages. Anything else — including a language the site does not publish — falls back to en silently.

cursorstring
Example:c_0a1b2c3d

Opaque pagination token — hand back the links.next value from the previous page. Omit it for the first page. A token that cannot be read restarts from the first page rather than failing, so a client holding a stale cursor pages again instead of breaking.

limitinteger

Page size, 1–50. Values above 50 are clamped to 50.

Response

OK

Example response

{
  "data": [
    {
      "model_id": "m_1a2b3c4d"
    }
  ]
}

Changes

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