catalog

One model group by slug

get/api/catalog/model-groups/{slug}

Request

  • Base URL: https://api.thecarapi.com
  • URL: https://api.thecarapi.com/api/catalog/model-groups/{slug}
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer
    • API key in query parameter api_key

Path parameters

slugstring required
Example:320d

Query parameters

manufacturer__slugstring
Example:bmw

Parent manufacturer slug, to disambiguate a slug shared across brands.

countrystring
Example:DE

Restrict counts to one country.

Headers

If-None-Matchstring
Example:W/"6f1c0a9d8e"

Echo back the ETag from your last response for this URL. An unchanged page answers 304 Not Modified with no body. ETags are weak, so the tag stays valid whether or not the body came back compressed.

Response

The model group.

successboolean required
contract_versionstring

Matches info.version of this document.

request_idstring

Also returned as the X-Request-ID header.

server_timestring date-time

UTC ISO-8601 timestamp of the response.

data_updated_atstring date-time

Route-supplied data timestamp, falling back to server_time. Not a guaranteed source refresh time; inspect listing observation timestamps and live_price.fetched_at where available.

Example response

{
  "success": true,
  "contract_version": "2026-09-03",
  "model_group": {
    "slug": "320d",
    "name": "320d",
    "inventory_count": 210,
    "manufacturer_slug": "bmw"
  }
}

Changes

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