contract 2026-08-19
Endpoints

SEO helpers

Build popular landing pages and resolve brand/model URL slugs.

GET

/api/seo/brand-model-from-slug

Resolve brand and model slugs to their canonical display names.

Requires the seo scope.

Parameters

brand_slugstring · query stringrequired

Brand slug, such as bmw.

Example bmw·Where the value comes from /api/seo/popular-searches -> results[].brand_slug

model_slugstring · query stringrequired

Model slug, such as 320d.

Example 320d·Where the value comes from /api/seo/popular-searches -> results[].model_slug

Example requests

Request
GET https://api.thecarapi.com/api/seo/brand-model-from-slug?brand_slug=bmw&model_slug=320d
GET https://api.thecarapi.com/api/seo/brand-model-from-slug?brand_slug=volvo&model_slug=xc60

Example response

json
{
  "success": true,
  "brand": "BMW",
  "model": "320d"
}