List cities

Get the cities in a state. Use this to find the city_id for an address. Returns cities with ids, sorted by name. Use a city's value as city_id, for example in Save the billing address.

Prerequisites: a country_code from List countries, and a state_code from List states.

Authentication: Public (no token). Anyone gets the same global list.

Rate limit: 100 requests per minute, counted per client IP address.

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

Required. The country's ISO code, for example US. Must be a known country code.

string
required
Defaults to CA

Required. The state's code, for example CA. Must be a known state code. A state code from a different country returns an empty list.

Responses

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