GET /state/{code} · /{code}/districts
Pass colorado, texas, or ontario. Capital, tax, area codes, timezones.
You have a code or a name. Capital, tax, area codes.
Try it
name
Name
type
State, province, etc.
capital
Capital or seat of government
timezones
Every IANA timezone in the state
area_codes
Telephone area codes (NANP countries)
tax
Standard sales tax name (Sales tax, HST). Null when the state levies none
tax_rate
Standard sales tax rate, percent
fips
US Census FIPS code. Null outside the US
districts
Every district in the state
1
/state/colorado and /state/texas resolve on their own. CA needs ?country=US.
2
Name, capital, timezones, area codes, the sales tax and its rate, FIPS in the US.
3
Districts hang off the state path.
Address forms. Every plan.
Look up a state or province by code or name. /state/colorado and /state/texas resolve on their own. CA matches twelve states, so pass ?country=US. Country takes ISO2, ISO3, or a name.
Capital, timezones, area codes, and the sales tax ride every record. Need districts or counties under it? Use /state/{code}/districts.
RESPONSE
$ curl "https://api.parseapi.com/state/colorado" \ -H "X-API-Key: YOUR_API_KEY" // 200 · ~35ms US · ~97ms worldwide { "state": "CO", "name": "Colorado", "local_name": "Colorado", "type": "state", "country": "US", "country_name": "United States", "latitude": 38.725178, "longitude": -105.607716, "population": 5957493, "area": 269837, "timezone": "America/Denver", "timezones": ["America/Denver"], "iso_3166_2": "US-CO", "fips": "08", "capital": "Denver", "area_codes": ["303", "719", "720", "970"], "tax": "Sales tax", "tax_rate": 2.9 }
Response fields
QUESTIONS
SPEED
US
11ms
EU
12ms
APAC
42ms
LatAm
10ms
ME
90ms
Official admin divisions in 229 countries.
All 50 two-letter codes plus DC and territories in the abbreviations list.