List states

Overview

Get a list of all states.

A successful response contains an Object Array with state data objects. Each state object describes a region within a country and has the following properties:

NameTypeDescription
idStringState ID
nameStringState name
codeStringA two letter code
📘

Note: To filter the output by country, pass the country ID in the countryId query parameter.

🚧

If you don't pass a country ID, all states for all countries will be returned ordered alphabetically.

Language
Click Try It! to start a request and see the response here!