---
title: "List regions"
method: GET
path: "/v1/buy/countries/{country_id}/regions"
tags: ["Buy"]
---

# List regions

`GET /v1/buy/countries/{country_id}/regions`

## Request

- Base URL: `https://api.wavix.com`
- URL: `https://api.wavix.com/v1/buy/countries/{country_id}/regions`
- Auth: HTTP bearer

Returns a list of regions (states or provinces) for countries where `has_provinces_or_states` is `true`.

## Path parameters

- `country_id` integer, required

## Query parameters

- `text_enabled_only` boolean

## Response `200`

Returns the list of regions.

- RegionListResponse
  - `regions` Region[], required: States or provinces available for the requested country.
    - `id` integer, required: Region ID.
    - `name` string, required: Region name.

## Other responses

- `400`: Request failed. Missing or invalid parameter <param_name>
- `401`: Unauthorized
- `403`: Request failed. The feature is disabled for your account.
- `404`: Request failed. An object with the specified ID is not found.
- `422`: Country has no states or provinces

## Changes

- **2026-09-08** `6a89c962481c`: 1 breaking, 3 info
  - the response's body type changed from no type to `object` for status `200`
  - removed `#/components/schemas/RegionListResponse, subschema #2` from the response body `allOf` list for the response status `200`
  - added the non-success response with the status `401`
  - added the required property `regions` to the response with the `200` status

[Operation history](https://skmtc.dev/wavix/apis/wavix-apis/changes/v1/buy/countries/:country_id/regions/get.md)

---

[API](https://skmtc.dev/wavix/apis/wavix-apis.md) - [All operations](https://skmtc.dev/wavix/apis/wavix-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/wavix/apis/wavix-apis/revisions/f2dde79f05ab?raw)
