List states and provinces for a country by Country ID

Returns the list of states or provinces for the specified country, sorted alphabetically by abbreviation (options[].label). Each item follows StateProvinceSchema: label is the subdivision abbreviation (e.g. "UT"), not the full name; name is the full subdivision name; iso is the ISO 3166-2 code (e.g. "US-UT"). Use a countryId from GET /api/v1/meta/countries/options (the id field on the row for the country) so it matches the countries list.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Numeric id of the country, taken from the countries options list. Use the id of the target country from GET /api/v1/meta/countries/options.

Responses

400

The provided country ID is invalid.

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