Skip to main content
GET
/
country_subdivisions
/
{country_code}
Get country subdivisions
curl --request GET \
  --url https://api.sandbox.iron.xyz/api/country_subdivisions/{country_code} \
  --header 'X-API-Key: <api-key>'
[
  {
    "code": "<string>",
    "name": "<string>"
  }
]

Authorizations

X-API-Key
string
header
required

API Key

Path Parameters

country_code
string
required

The ISO 3166-1 Alpha-2 country code ISO 3166-1 Alpha-2 country code (e.g. "DE", "US")

Required string length: 2
Example:

"DE"

Response

GET Subdivisions Succeeded

code
string
required
name
string
required