ETS API
  1. AVIA
ETS API
  • Try it and Run in ApiDog
  • AVIA API
  • AVIA Flows example
  • HOTELS API
  • AVIA
    • 1 REQ B2B Login
      POST
    • 1 REQ B2B Login Token
      POST
    • 1 REQ B2C Login
      GET
    • 2A Search Direct flight
      POST
    • 2B Search Connecting flight
      POST
    • 2C Search Round trip
      POST
    • 3 Schedule - Amadeus optional
      POST
    • 4 Offers request
      GET
    • 4B Smart Offer Request optional
      GET
    • 5 Documents types for offer
      GET
    • 6 Offer info UPD LATER
      GET
    • 7 Availability of Offer
      GET
    • 8 OPT Available Services
      GET
    • 9 OPT Select services
      POST
    • 10 Create Order
      POST
    • 11 Split Order
      PATCH
    • 12 Order payment
      POST
    • 13 Сheckout status
      GET
    • 14 Refund order
      GET
    • 15 Get order info
      GET
    • 16 Print E-Tiket
      GET
    • 17 Receiving a cancellation fee
      GET
    • 18 Cancel Order
      GET
    • 19 Get airports
      GET
    • 20 Get cities
      GET
    • 21 Get countries
      GET
  • HOTELS
    • REQUIRED
      • 1 REQ B2B Login
      • 1 REQ B2C Login
      • 2 REQ Destination
      • 2 REQ Search
      • 3 REQ Receiving found hotels
      • 4 REQ Getting a Hotel Offer
      • 5 REQ Create order
      • 6 REQ Cancel order
    • OPTIONAL
      • 1 REQ B2B Login
      • 1 REQ B2C Login
      • 2 REQ Search
      • 3 OPT Destination point info
      • 4 OPT List of popular destinations Copy
      • 5 OPT List of filtered destinations
      • 6 OPT Group guide
      • 7 OPT Getting information on possible hotels
      • 8 OPT Getting the list of currencies
      • 9 REQ Receiving found hotels
      • 10 REQ Getting a Hotel Offer
      • 11 OPT Cancel-policies
      • 12 OPT Account number and info
      • 13 OPT Receiving information on the hotel offer
      • 14 OPT Receive detailed information about the cost of an offer
      • 15 REQ Create order
      • 16 OPT Receive hotel services
  1. AVIA

20 Get cities

GET
{{AVIA_URL}}/api/dictionaries/cities
This endpoint makes an HTTP GET request to retrieve a list of cities in a specific country. The request should include the "country" query parameter with the country code as the value.

Request Body#

This request does not require a request body.

Response Body#

The response will include the following fields:
"page": The current page number
"total": The total number of cities
"per_page": The number of cities per page
"last_page": The last page number
"data": An array of city objects, each containing the following fields:
"id": The city's unique identifier
"code": The city's code
"code_rus": The city's Russian code
"name": The name of the city
"state": The state of the city
"country": The country of the city
"locale": The city's locale
"stats": The city's statistics
"timezone": The city's timezone
"sirena_describe": Sirena description
"lvfic": LVFIC description

Request

Query Params

Header Params

Responses

🟢200/api/dictionaries/cities
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://stage-api.etm-system.ru/api/dictionaries/cities?short=1&filter=од&from_start=1&page=1&country=RU' \
--header 'etm-auth-key: ' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d'
Response Response Example
{
    "page": 1,
    "total": 1136,
    "per_page": 15,
    "last_page": 76,
    "data": [
        {
            "id": 55,
            "code": "IAR",
            "code_rus": "ЯРЛ",
            "name": "Yaroslavl",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 4787,
            "timezone": "+04:00",
            "sirena_describe": 0,
            "lvfic": "Yaroslavl"
        },
        {
            "id": 589,
            "code": "RYB",
            "code_rus": "РБН",
            "name": "Rybinsk",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 30,
            "timezone": "+04:00",
            "sirena_describe": 0,
            "lvfic": "Rybinsk"
        },
        {
            "id": 670,
            "code": "KRR",
            "code_rus": "КРР",
            "name": "Krasnodar",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 662113,
            "timezone": "+03:00",
            "sirena_describe": 0,
            "lvfic": "Krasnodar"
        },
        {
            "id": 907,
            "code": "TJM",
            "code_rus": "ТЮМ",
            "name": "Tyumen",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 531797,
            "timezone": "+05:00",
            "sirena_describe": 0,
            "lvfic": "Tyumen"
        },
        {
            "id": 1159,
            "code": "URJ",
            "code_rus": "УРА",
            "name": "Uraj",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 4597,
            "timezone": "+05:00",
            "sirena_describe": 0,
            "lvfic": "Uraj"
        },
        {
            "id": 1342,
            "code": "KLF",
            "code_rus": "КЛГ",
            "name": "Kaluga",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 4236,
            "timezone": "+04:00",
            "sirena_describe": 0,
            "lvfic": "Kaluga"
        },
        {
            "id": 1348,
            "code": "GDZ",
            "code_rus": "ГДЖ",
            "name": "Gelendzik",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 51241,
            "timezone": "+03:00",
            "sirena_describe": 0,
            "lvfic": "Gelendzik"
        },
        {
            "id": 1825,
            "code": "KZN",
            "code_rus": "КЗН",
            "name": "Kazan",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 403633,
            "timezone": "+03:00",
            "sirena_describe": 0,
            "lvfic": "Kazan"
        },
        {
            "id": 2479,
            "code": "REN",
            "code_rus": "ОНГ",
            "name": "Orenburg",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 32696,
            "timezone": "+05:00",
            "sirena_describe": 0,
            "lvfic": "Orenburg"
        },
        {
            "id": 2650,
            "code": "LED",
            "code_rus": "СПТ",
            "name": "Saint Petersburg",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 1765990,
            "timezone": "+03:00",
            "sirena_describe": 0,
            "lvfic": "Saint Petersburg"
        },
        {
            "id": 2671,
            "code": "NYA",
            "code_rus": "НЯГ",
            "name": "Nyagan",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 7002,
            "timezone": "+06:00",
            "sirena_describe": 0,
            "lvfic": "Nyagan"
        },
        {
            "id": 2761,
            "code": "PES",
            "code_rus": "ПТЗ",
            "name": "Petrozavodsk",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 4862,
            "timezone": "+03:00",
            "sirena_describe": 0,
            "lvfic": "Petrozavodsk"
        },
        {
            "id": 2776,
            "code": "MQF",
            "code_rus": "МГС",
            "name": "Magnitogorsk",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 11842,
            "timezone": "+05:00",
            "sirena_describe": 0,
            "lvfic": "Magnitogorsk"
        },
        {
            "id": 2989,
            "code": "VGD",
            "code_rus": "ВГД",
            "name": "Vologda",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 1876,
            "timezone": "+04:00",
            "sirena_describe": 0,
            "lvfic": "Vologda"
        },
        {
            "id": 3052,
            "code": "KEJ",
            "code_rus": "КРВ",
            "name": "Kemerovo",
            "state": null,
            "country": "RU",
            "locale": "EN",
            "stats": 45308,
            "timezone": "+07:00",
            "sirena_describe": 0,
            "lvfic": "Kemerovo"
        }
    ]
}
Modified at 2025-08-19 06:08:57
Previous
19 Get airports
Next
21 Get countries
Built with