Geography: Cities by Country

GET /v2/geography/countries/cities/

Cities (up to 100) filtered by country

Query Parameters

NameTypeRequiredDescription
country_codestringnoISO2 country code (for example ru, us)

Example

curl --location 'https://api.meteoflow.com/v2/geography/countries/cities/?country_code=ru'

200 Response Schema

Response type: array<object>.

Array item fields:

FieldTypeRequiredDescription
slugstringyes-
country_slugstring | nullno-
region_slugstring | nullno-
timezone_offsetintegeryes-
latitudenumber (double)yes-
longitudenumber (double)yes-
city_name_enstringyes-
city_namestringyes-
country_name_enstringyes-
country_namestringyes-
region_name_enstringyes-
region_namestringyes-

Error Responses

StatusDescription
400Invalid request parameters
500Internal server error

Error object fields:

FieldTypeRequiredDescription
status_codeintegeryes-
messagestringyes-
detailstringyes-