---
title: "Get state list by country code"
method: GET
path: "/countries/{countryAlpha2Code}/states"
tags: ["Misc"]
---

# Get state list by country code

`GET /countries/{countryAlpha2Code}/states`

Get list of states or provinces in a country with country alpha2 code.

## Path parameters

- `countryAlpha2Code` string, required

## Response `200`

OK

- XiqCountryState[]
  - `country_code` string — The country ISO 2-letter code.
  - `code` string — The state or province code.
  - `name` string — The state or province name.

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/revisions/5ff7ab84e8e8/schema)
