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

# List cities

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

## Request

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

Returns a list of cities for countries where
 `has_provinces_or_states` is `false`.

## Path parameters

- `country_id` integer, required

## Query parameters

- `text_enabled_only` boolean

## Response `200`

Returns the list of cities.

- CityListResponse
  - `cities` City[], required: Cities available for the requested country or region.
    - `id` integer, required: City ID.
    - `name` string, required: City name.
    - `area_code` number, required: Rate center.

## 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.

## 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/CityListResponse, 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 `cities` to the response with the `200` status

[Operation history](https://skmtc.dev/wavix/apis/wavix-apis/changes/v1/buy/countries/:country_id/cities/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)
