City Suggestions
Suggests up to 10 cities in your coverage from a partial name. Use it for autocomplete, or to get the exact state and country for the list APIs.
GET | POST/v1/geo/city_suggestion?city={text}GET | POST/v1/geo/city_suggestion/{text}
Parameters
citystringRequiredFull or partial city name. Use the query form for text with
+or%.cachedbooleanDefault
true.falsefetches fresh data. See Cached answers.
Response fields
citystringCity name. Send it as
city.state,state_namestring or nullState or region code and name. Send
stateasstate.countrystringCountry name. Send it as
country.country_codestring or null2-letter country code
latitude,longitudenumberCenter of the city
timezonestring or nullCity's UTC offset,
±HH:MMurlstringCity's AllEvents page, with your UTM code