Locate a city within a state

Resolve a city to its postal code and local codes, within one state. Same as Locate city with the state in the path, which disambiguates the many city names that repeat across regions.

You need this if you ship to Colombia. zip_codes[].suburbs[0] is the eight-digit DANE code the Colombian carriers route on, and zip_code is the real six-digit postal code. The two are not interchangeable — see Shipping to Colombia.

Prefer this over /provinces/{state_code}, which takes no country and answers with whichever country owns that code first.

No token required.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ISO 3166-1 alpha-2 country code.

string
required

State code, 2 or 3 characters, from GET /state.

string
required

City or municipality name.

Responses

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