Actions8
- Country Actions
- IP Geolocation Actions
- Exchange Rate Actions
Country → Get States
AI-generatedSummary
Retrieve all states or provinces associated with a specific country using its ISO 3166-1 alpha-2 country code.
Inputs
- Country Code (required) — ISO 3166-1 alpha-2 country code (e.g. US, DE, AR) to specify the country whose states/provinces you want to retrieve.
Output shape
a list of state or province records associated with the specified country
Returns multiple state/province objects as an array in the node output. If an error occurs, the node either stops execution or continues with error details depending on the 'continue on fail' setting.
Examples
Example 1: Get all states of the United States
Set 'Country Code' to 'US' to retrieve all states/provinces for the United States.