v1

latestSwagger 2.0Creative Commons Attribution 3.02026-07-14263452.9 KB
Geo

Get region details

Get the details of a specific country region, including number of cities.

get/geo/countries/{countryId}/regions/{regionCode}

Path parameters

countryIdstring required

An ISO-3166 country code or WikiData id

regionCodestring required

An ISO-3166 or FIPS region code

Query parameters

asciiModeboolean

Display results using ASCII characters

languageCodestring

Display results in this language

Response

Country region details

Example response

{
  "data": {
    "capital": "Sacramento",
    "countryCode": "US",
    "fipsCode": 6,
    "isoCode": "CA",
    "name": "California",
    "numCities": 1532,
    "wikiDataId": "Q99"
  }
}