v1
latestSwagger 2.02026-07-14211635.2 KBGeography APIs
Retrieve cities informations from a string / build an autocomplete
Search cities from a string parameters.
get/cities/findcitiesfromtext
Query parameters
qstring required
the string you want to search
language'en' | 'fr' | 'de' | 'es' required
the language code of the language you want the content to be returned
countrycodestring
if you want to limit the result to one country
sort'population,desc' | 'population,asc' | 'elevation,desc' | 'elevation,asc' | 'name,desc' | 'name,asc' | 'timezone,asc' | 'timezone,desc' | 'match_score,desc' | 'match_score,asc' required
The order you want the result ordered. Default is population while when entering a lat/long, you can order the results by distance from requested lat/long point
Response
Success