Name |
Type |
Description |
slug |
String |
Sanitized city name
|
name.common |
String |
Common city name - usually the one displayed on the UI |
country.alpha2code |
String |
ISO 3166-1 alpha-2 two-letter country code |
country.name |
String |
Country name |
country.slug |
String |
Sanitized country name used as path parameter |
code.iata |
String |
IATA code for this city (includes all of city's airports) |
coordinates.latitude |
double |
Latitude coordinates of the city |
coordinates.longitude |
String |
Longitude coordinates of the city |
timeZone |
String |
Time zone ID (full list) |
isCapital |
boolean |
Determines if the city is the country's capital |
wikipediaUrl |
String |
URL of Wikipedia entry about the city |
BasicStartupBusiness
Name |
Type |
Description |
textual.title |
String |
Country name |
textual.sections.id[LOCATION].body |
String |
City location |
textual.sections.id[SUMMARY].body |
String |
Country language, measurement system and city time zone |
{
"slug": "paris",
"name": {
"common": "Paris"
},
"country": {
"alpha2code": "FR",
"name": "France",
"slug": "france"
},
"code": {
"iata": "PAR"
},
"coordinates": {
"latitude": 48.856614,
"longitude": 2.3522219
},
"timeZone": "Europe/Paris",
"isCapital": true,
"wikipediaUrl": "https://en.wikipedia.org/wiki/Paris",
"textual": {
"title": "France",
"sections": [
{
"id": "LOCATION",
"body": [
"Paris is the capital city of France."
]
},
{
"id": "SUMMARY",
"body": [
"Official language is French. France uses metric system (kilograms, centimeters, °C). Current time in Paris is 11:11 which is 1 hour ahead of London."
]
}
]
}
}