GET
/
v1
/
geo
/
city

Query

country_code
string

The country code of the city. Filters cities by country code. Not required when other parameters are specified.

state_code
string

The state code of the city. Filters cities by state code. Not required when other parameters are specified.

city_code
string

The city code of the city. Filters cities by city code. Not required when other parameters are specified.

search_value
string

The search value of the city.

lat
string

The latitude of the city. Required if lng is specified.

lng
string

The longitude of the city. Required if lat is specified.

limit
string
default: "10"

The maximum number of cities to be returned.

x-api-key
string
required

Your JigsawStack API key

Response

success
boolean

Indicates whether the call was successful.