API reference / Dictionaries
List cities by state or province
GET
/usa/cities/{state_id}Page size 200Cities that belong to a US state or Canadian province.
- Pass the internal state id from
/usa/statesas{state_id}, not an abbreviation such as CA or FL. - Each city has id, name,
state_idandcountry_id. Fixed page size of 200 withnext_page_url. A state with no cities returns an empty data array.
- Change the values below
- The request on the right updatesThe request above updates
- Run it live with your key
Path parameters
integer · required
Internal state or province ID from /usa/states, not its abbreviation.
Query parameters 1
integer · 1+
Page number, starting at 1. Omit to request page 1.