CarStat.dev
Connect key
Core concepts

Languages

Add lang to any request to localize dictionary names, location names, report labels and validation messages. Supported values: en, ru, uk, pl, bg, sq.

Send lang explicitly for repeatable results. Without it the API falls back to a locale cookie, then Accept-Language, then the server default. /cars keeps your lang in every next_url.

  • Listing title is a map of all stored languages, such as {"en": "…", "ko": "…"}. It is not filtered by lang, so pick a key with a fallback.
  • Equipment translations are limited to the languages enabled on your account.
  • A missing translation falls back to the source name; it never causes an error.
location_details · lang=en vs lang=ruLive
{
  "lang=en": {
    "country": {
      "id": 208,
      "name": "South Korea",
      "iso": "KR"
    },
    "region": {
      "id": 1841610,
      "name": "Gyeonggi-do"
    },
    "district": null,
    "place": {
      "id": 1841610,
      "name": "Gyeonggi-do"
    }
  },
  "lang=ru": {
    "country": {
      "id": 208,
      "name": "Республика Корея",
      "iso": "KR"
    },
    "region": {
      "id": 1841610,
      "name": "Kyunggi-do"
    },
    "district": null,
    "place": {
      "id": 1841610,
      "name": "Kyunggi-do"
    }
  }
}