API Reference
Log in to see full request history
Query Params
string
Defaults to en

two letter iso code in what language to return results in, if available, otherwise in english

string

comma delimited list of additional fields for each city in result. Any of iso_a2,timezone,state_code,state_hasc. By default returns city id and name in chosen language

string

search by name using 'contains' in the specified language, english by default

string

search by name using "begins with" in the specified language, english by default

integer
1 to 1000

integer limit of results returned. 1000 max.

string
Defaults to asc

sort direction of results by value of 'sort' field. one of asc or desc.

string

search by lang_3 tree letter language code using 'contains'

Responses

404

The query has no results. Check your parameters in case there are any spelling issues. The language requested may not be supported.

500

Server error, probably a bug.

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json