v1

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

Get country details

Get the details for a specific country, including number of regions.

get/geo/countries/{countryId}

Path parameters

countryIdstring required

An ISO-3166 country code or WikiData id

Query parameters

asciiModeboolean

Display results using ASCII characters

languageCodestring

Display results in this language

Response

Country detail

Example response

{
  "data": {
    "callingCode": "+1",
    "code": "US",
    "currencyCodes": [
      "USD"
    ],
    "flagImageUri": "http://commons.wikimedia.org/wiki/Special:FilePath/Flag%20of%20the%20United%20States.svg",
    "name": "United States",
    "numRegions": 56,
    "wikiDataId": "Q30"
  }
}