contract 2026-10-05
Endpoints

Catalog

Build slug-addressable manufacturer and model-group navigation. All catalog list routes paginate with a default limit of 50 and are capped at offset 5000 — a deeper page is a 400 naming the limit. They carry page, page_size and max_page.

GET

/api/v1/catalog/manufacturers

Paginated manufacturer catalog with inventory counts.

Requires the catalog scope.

Unversioned path, original response shape: /api/catalog/manufacturers

Parameters

countrystring · query string

Restrict to a country or europe.

Example DE·Where the value comes from /api/v1/countries -> data.items[].value

limit / offset / page / page_sizeinteger · query string

Standard pagination. Default limit 50.

Example 20 / 0·Where the value comes from Pagination state in your application.

cursorstring · query string

Read the page after the one that returned this value. Send it on its own: it already carries the position and the page size, so combining it with limit, page_size, offset or page is a 400. Keep every filter and sort unchanged between pages.

Example eyJvIjoxMDAsImwiOjEwMH0·Where the value comes from next_cursor of the previous response.

fieldsstring · query string

Comma-separated fields to keep on each item. id and site are always kept. Trims a page to what you use.

Example clean_make,clean_model,prices·Where the value comes from Your choice.

formatenum · query string

csv or ndjson returns the items as a file instead of JSON. The next cursor is in the X-Next-Cursor header and the total in X-Total-Count.

Example csv·Where the value comes from json, csv or ndjson.

Example requests

Request
GET https://api.thecarapi.com/api/v1/catalog/manufacturers?country=DE&limit=20
GET https://api.thecarapi.com/api/v1/catalog/manufacturers?page=2&page_size=25
Sends the first example with the sandbox key. Sample data only.

Example response

json
{
  "success": true,
  "data": {
    "items": [
      {
        "slug": "bmw",
        "name": "BMW",
        "inventory_count": 1543,
        "brand_id": 12
      }
    ]
  },
  "pagination": {
    "total": 96,
    "limit": 50,
    "offset": 0,
    "page": null,
    "page_size": null,
    "total_pages": 2,
    "max_page": 2,
    "next_cursor": null
  }
}
GET

/api/v1/catalog/manufacturers/{slug}

Resolve one manufacturer by slug.

Requires the catalog scope.

Unversioned path, original response shape: /api/catalog/manufacturers/{slug}

Parameters

slugstring · in the URL pathrequired

Manufacturer slug.

Example bmw·Where the value comes from /api/v1/catalog/manufacturers -> data.items[].slug

countrystring · query string

Optional country restriction.

Example DE·Where the value comes from /api/v1/countries -> data.items[].value

Example requests

Request
GET https://api.thecarapi.com/api/v1/catalog/manufacturers/bmw
GET https://api.thecarapi.com/api/v1/catalog/manufacturers/bmw?country=DE
Sends the first example with the sandbox key. Sample data only.

Example response

json
{
  "success": true,
  "data": {
    "manufacturer": {
      "slug": "bmw",
      "name": "BMW",
      "inventory_count": 1543,
      "brand_id": 12
    }
  }
}
GET

/api/v1/catalog/manufacturers/stats

Return aggregate manufacturer statistics.

Requires the catalog scope.

Unversioned path, original response shape: /api/catalog/manufacturers/stats

Parameters

countrystring · query string

Optional country restriction.

Example DE·Where the value comes from /api/v1/countries -> data.items[].value

Example requests

Request
GET https://api.thecarapi.com/api/v1/catalog/manufacturers/stats
GET https://api.thecarapi.com/api/v1/catalog/manufacturers/stats?country=DE
Sends the first example with the sandbox key. Sample data only.

Example response

json
{
  "success": true,
  "data": {}
}
GET

/api/v1/catalog/model-groups

Paginated model groups for one manufacturer.

Requires the catalog scope.

Unversioned path, original response shape: /api/catalog/model-groups

Parameters

manufacturer__slugstring · query stringrequired

Parent manufacturer slug.

Example bmw·Where the value comes from /api/v1/catalog/manufacturers -> data.items[].slug

searchstring · query string

Substring filter on model name.

Example 320·Where the value comes from Free text entered by your user.

countrystring · query string

Optional country restriction.

Example DE·Where the value comes from /api/v1/countries -> data.items[].value

limit / offset / page / page_sizeinteger · query string

Standard pagination. Default limit 50.

Example 20 / 0·Where the value comes from Pagination state in your application.

cursorstring · query string

Read the page after the one that returned this value. Send it on its own: it already carries the position and the page size, so combining it with limit, page_size, offset or page is a 400. Keep every filter and sort unchanged between pages.

Example eyJvIjoxMDAsImwiOjEwMH0·Where the value comes from next_cursor of the previous response.

fieldsstring · query string

Comma-separated fields to keep on each item. id and site are always kept. Trims a page to what you use.

Example clean_make,clean_model,prices·Where the value comes from Your choice.

formatenum · query string

csv or ndjson returns the items as a file instead of JSON. The next cursor is in the X-Next-Cursor header and the total in X-Total-Count.

Example csv·Where the value comes from json, csv or ndjson.

Example requests

Request
GET https://api.thecarapi.com/api/v1/catalog/model-groups?manufacturer__slug=bmw&search=320
GET https://api.thecarapi.com/api/v1/catalog/model-groups?manufacturer__slug=bmw&country=DE&page=2&page_size=20
Sends the first example with the sandbox key. Sample data only.

Example response

json
{
  "success": true,
  "data": {
    "items": [
      {
        "slug": "320d",
        "name": "320d",
        "inventory_count": 210,
        "manufacturer_slug": "bmw"
      }
    ]
  },
  "pagination": {
    "total": 34,
    "limit": 50,
    "offset": 0,
    "page": null,
    "page_size": null,
    "total_pages": 1,
    "max_page": 1,
    "next_cursor": null
  }
}
GET

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

Resolve one model group by slug.

Requires the catalog scope.

Unversioned path, original response shape: /api/catalog/model-groups/{slug}

Parameters

slugstring · in the URL pathrequired

Model-group slug.

Example 320d·Where the value comes from /api/v1/catalog/model-groups -> data.items[].slug

manufacturer__slugstring · query string

Manufacturer slug for disambiguation.

Example bmw·Where the value comes from /api/v1/catalog/manufacturers -> data.items[].slug

countrystring · query string

Optional country restriction.

Example DE·Where the value comes from /api/v1/countries -> data.items[].value

Example requests

Request
GET https://api.thecarapi.com/api/v1/catalog/model-groups/320d?manufacturer__slug=bmw
GET https://api.thecarapi.com/api/v1/catalog/model-groups/320d?manufacturer__slug=bmw&country=DE
Sends the first example with the sandbox key. Sample data only.

Example response

json
{
  "success": true,
  "data": {
    "model_group": {
      "slug": "320d",
      "name": "320d",
      "inventory_count": 210,
      "manufacturer_slug": "bmw"
    }
  }
}