CarStat.dev
Connect key
GET/countries/{id}Dictionaries

Resolve one country ID

Resolve one country ID, for example a numeric listings[].location.country.

  • An unknown ID returns 404; a non-integer returns 422.

Path parameters

1
idinteger≥ 1Required

Country ID from /countries or numeric listing location.country.

Query parameters

1
langstring

Response locale. Option translations are also limited by the account languages. The page selects its current language automatically.

Returns · One Country in data.
GET/countries/{id}
curl -g "https://api.lotarius.com/countries/208?api_key=$CARS_API_KEY" \
  -H "Accept: application/json"
ExamplesRecorded
{1 key
"data": {6 keys
"id": 1
"name": "Afghanistan"
"original_name": "Afghanistan"
"native": "افغانستان"
"iso": "AF"
"iso3": "AFG"
}
}