API Reference

Get a list of up to 1000 states matching optional query filter critiera in the specified language sorted alphabetically by name

Log in to see full request history
Query Params
string

search by name using 'contains' in the specified language, english by default

string

earch by name using "begins with" in the specified language, english by default

string

search by continent code using 'contains'

string
Defaults to en

two letter iso code in what language to return results in, if available, otherwise in english

integer
1 to 1000

integer limit of results returned. 1000 max.

string
Defaults to asc

sort direction of results by value of 'sort' field. one of asc or desc.

string

comma delimited list of additional fields for each city in result. Any of iso_a2,timezone,state_code,state_hasc. By default returns city id and name in chosen language

Responses

404

The query has no results. Check your parameters in case there are any spelling issues. The language requested may not be supported.

500

Server error, probably a bug.

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