# Города и регионы

## Список городов

<mark style="color:blue;">`GET`</mark> `https://api.waix.ru/site/cities`

Получить список городов с информацией региона по запросу.

Удобно использовать в выпадающих списках быстрого набора адреса.

#### Query Parameters

| Name | Type   | Description                   |
| ---- | ------ | ----------------------------- |
| q    | string | Текст запроса, например: Санк |

{% tabs %}
{% tab title="200 Отсортировано по важности, важность определяется частотой использования данного города в системе." %}

```
[
  {
    "id": 2,
    "title": "Санкт-Петербург",
    "area": "",
    "region": ""
  },
  {
    "id": 1007735,
    "title": "Санкино",
    "area": "Куюргазинский район",
    "region": "Башкортостан"
  },
  {
    "id": 1009942,
    "title": "Санково",
    "area": "Грайворонский район",
    "region": "Белгородская область"
  },
  {
    "id": 1027663,
    "title": "Осанково",
    "area": "Гаврилово-Посадский район",
    "region": "Ивановская область"
  },
  {
    "id": 1027676,
    "title": "Санково",
    "area": "Гаврилово-Посадский район",
    "region": "Ивановская область"
  },
  {
    "id": 1028411,
    "title": "Санково",
    "area": "Кинешемский район",
    "region": "Ивановская область"
  },
  {
    "id": 1068990,
    "title": "Пиксанкино",
    "area": "Шемышейский район",
    "region": "Пензенская область"
  },
  {
    "id": 1114674,
    "title": "Санкино",
    "area": "Красночетайский район",
    "region": "Чувашская"
  },
  {
    "id": 1141461,
    "title": "Санки",
    "area": "Лукояновский район",
    "region": "Нижегородская область"
  },
  {
    "id": 1148055,
    "title": "Санково",
    "area": "Сакмарский район",
    "region": "Оренбургская область"
  },
  {
    "id": 1154245,
    "title": "Санкино",
    "area": "Алапаевский район",
    "region": "Свердловская область"
  }
]
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.waix.ru/site/cities.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
