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

4 Offers request

GET
{{AVIA_URL}}/api/air/offers

Get Airline Offers#

This endpoint retrieves airline offers based on the provided request ID.
Only in Connecting flight, note that the first block of segments returns general information about the flight (destination-arrival) without specifying buy_id, then subsequent blocks return information about each specific router with the buy_id of that router.

Request#

Method: GET
Endpoint: {{url}}/api/air/offers
Query Parameters:
request_id (string, required): The unique identifier for the request.

Response#

Status: 200
Content-Type: application/json
{ "status": "", "next_token": "", "ttl": 0, "request_id": "", "sort": "", "offers": [ { "carrier_code": "", "carrier_name": "", "carrier_logo": "", "min_price": 0, "offers": [ { "min_price": 0, "segments": [ { "segment_id": "", "buy_id": "", "with_rules": true, "is_policy_fail": null, "policy_fail_details": null, "is_ow": null, "dir_number": 0, "flight_number": "", "departure_airport": "", "departure_airport_name": "", "departure_city_name": "", "departure_timestamp": 0, "departure_date": "", "departure_time": "", "arrival_airport": "", "arrival_airport_name": "", "arrival_city_name": "", "arrival_timestamp": 0, "arrival_date": "", "arrival_time": "", "duration_formated": "", "duration_minutes": 0, "stops": 0, "flights_info": [ { "operating_airline_code": "", "operating_airline_name": "", "operating_airline_logo": "", "marketing_airline_code": "", "marketing_airline_name": "", "marketing_airline_logo": "", "flight_number": "", "flight_number_print": "", "airplane_code": "", "airplane_name": "", "departure_country": "", "departure_city": "", "departure_city_code": null, "route_locales": [], "departure_airport": "", "departure_airport_name": "", "departure_terminal": "", "departure_date": "", "departure_local_time": "", "departure_timezone": "", "departure_local_timestamp": 0, "arrival_country": "", "arrival_city": "", "arrival_city_code": null, "arrival_airport": "", "arrival_airport_name": "", "arrival_terminal": "", "arrival_date": "", "arrival_local_time": "", "arrival_timezone": "", "arrival_local_timestamp": 0, "duration_formated": "", "duration_minutes": 0, "stop_time": "", "stop_time_minutes": 0, "techstop": null, "ifs": {}, "delays": true, "baggage": "", "service_class": "", "booking_class": "", "vehicle_type": "", "is_charter": true } ], "services_available": true, "other_price_available": true, "seatmap_available": true, "tariff": "", "prov_fare_type": true, "class": "", "seats": 0, "price": 0, "price_details": [ { "passenger_type": "", "type": "", "qty": 0, "base": "", "base_amount": 0, "tax": "", "tax_amount": 0, "tax_dtl": [], "fee": "", "fee_amount": 0, "single": "", "single_amount": 0, "total": "", "total_amount": 0, "base_total": 0, "fee_total": 0, "tax_total": 0 } ], "price_details_extra": [], "pricelist": [], "baggage": "", "price_fare_family": true, "fare_type": "", "fare_messages": null, "fare_family": "", "gds": "", "gds_type": "", "sita": true, "sita_calculate": true, "pcc_id": 0, "pcc_name": "", "pcc_office": "", "fee": 0, "comm": 0, "is_subsidy": true, "subsidy_instruction": null, "discount_attention": null, "discount_message": null, "seats_required": true, "only_ndc_acc": true, "hash": "", "price_hash": "", "bundled_fares": null, "buy_message": null, "consolidator_marker": "", "consolidator_marker_color": null, "tariff_rules": true, "is_charter": true, "has_additional_services": true } ] } ] } ], "ow_offers": [], "travel_policy_id": "", "is_schedule": true, "currency": ""}

Request

Query Params

Header Params

Responses

🟢2004 Offers request Direct flight
application/json
Body

🟢2004 Offers request Connecting flight
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://stage-api.etm-system.ru/api/air/offers?request_id=' \
--header 'Accept: application/json' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d' \
--header 'Content-Type: application/json'
Response Response Example
200 - 4 Offers request Direct flight - 4 Offers request Direct flight
{
    "status": "Ready",
    "next_token": "eyJpdiI6ImVxNDV1aVA0M0dYTU82empmWXM2MWc9PSIsInZhbHVlIjoidDlhazBOTTdLK2tveitGU3lzSTZvd2VsNkhieWJIdjlRZXYyZnlPT2hLdTYxcXp2K3hyRWdsM3RwVWN5a0NidHhzb3g5dnVQaHpSTVRlb2tJZW5pTlE9PSIsIm1hYyI6IjVkNmU5NmI3YjgyZGMzOGQxYjMwMDJkNjI3Y2JkZWZkZjQzZDc2NGU2YWM1ZDQ4ZjY4NTBhNWMzYjk2NGM1Y2EiLCJ0YWciOiIifQ==",
    "request_id": "409e7bed-28b8-4a46-8425-3fbef0c890cd",
    "sort": "price",
    "offers": [
        {
            "carrier_code": "LO",
            "carrier_name": "LOT ",
            "carrier_logo": "https://stage-ng.etm-system.ru/images/airline/LO.svg",
            "min_price": 221.92,
            "offers": [
                {
                    "min_price": 221.92,
                    "segments": [
                        {
                            "segment_id": "request_409e7bed-28b8-4a46-8425-3fbef0c890cd_87f643b5-6f12-45ff-b604-5c4293fa071d_0",
                            "buy_id": "request_409e7bed-28b8-4a46-8425-3fbef0c890cd_87f643b5-6f12-45ff-b604-5c4293fa071d_0",
                            "with_rules": true,
                            "is_policy_fail": null,
                            "policy_fail_details": null,
                            "is_ow": null,
                            "dir_number": 1,
                            "flight_number": "392",
                            "departure_airport": "BER",
                            "departure_airport_name": "BRANDENBURG",
                            "departure_city_name": "Берлин",
                            "departure_timestamp": 1732262400,
                            "departure_date": "2024-11-22",
                            "departure_time": "08:00:00",
                            "arrival_airport": "WAW",
                            "arrival_airport_name": "Варшава",
                            "arrival_city_name": "Варшава",
                            "arrival_timestamp": 1732266600,
                            "arrival_date": "2024-11-22",
                            "arrival_time": "09:10:00",
                            "duration_formated": "1 ч 10 мин",
                            "duration_minutes": 70,
                            "stops": 0,
                            "flights_info": [
                                {
                                    "operating_airline_code": "LO",
                                    "operating_airline_name": "LOT ",
                                    "operating_airline_logo": "https://stage-ng.etm-system.ru/images/airline/LO.svg",
                                    "marketing_airline_code": "LO",
                                    "marketing_airline_name": "LOT ",
                                    "marketing_airline_logo": "https://stage-ng.etm-system.ru/images/airline/LO.svg",
                                    "flight_number": "392",
                                    "flight_number_print": "LO-392",
                                    "airplane_code": "E95",
                                    "airplane_name": "EMBRAER 195",
                                    "departure_country": "DE",
                                    "departure_city": "Берлин",
                                    "departure_city_code": null,
                                    "route_locales": [],
                                    "departure_airport": "BER",
                                    "departure_airport_name": "BRANDENBURG",
                                    "departure_terminal": "1",
                                    "departure_date": "2024-11-22",
                                    "departure_local_time": "08:00",
                                    "departure_timezone": "GMT+01:00",
                                    "departure_local_timestamp": 1732258800,
                                    "arrival_country": "PL",
                                    "arrival_city": "Варшава",
                                    "arrival_city_code": null,
                                    "arrival_airport": "WAW",
                                    "arrival_airport_name": "Варшава",
                                    "arrival_terminal": "",
                                    "arrival_date": "2024-11-22",
                                    "arrival_local_time": "09:10",
                                    "arrival_timezone": "GMT+01:00",
                                    "arrival_local_timestamp": 1732263000,
                                    "duration_formated": "1 ч 10 мин",
                                    "duration_minutes": 70,
                                    "stop_time": null,
                                    "stop_time_minutes": null,
                                    "techstop": null,
                                    "ifs": {},
                                    "delays": false,
                                    "baggage": "0PC",
                                    "service_class": "Эконом",
                                    "booking_class": "T",
                                    "vehicle_type": "aircraft",
                                    "is_charter": false
                                }
                            ],
                            "services_available": false,
                            "other_price_available": false,
                            "seatmap_available": false,
                            "tariff": "T1SAV0",
                            "prov_fare_type": false,
                            "class": "T",
                            "seats": 9,
                            "price": 221.92,
                            "price_details": [
                                {
                                    "passenger_type": "adult",
                                    "type": "Взрослый",
                                    "qty": 1,
                                    "base": "170,00 EUR",
                                    "base_amount": 170,
                                    "tax": "51,92 EUR",
                                    "tax_amount": 51.92,
                                    "tax_dtl": [
                                        {
                                            "code": "YQ",
                                            "amount": "5.00",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "YR",
                                            "amount": "13.00",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "DE",
                                            "amount": "9.87",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "OY",
                                            "amount": "15.53",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "RA",
                                            "amount": "8.52",
                                            "currency": "EUR"
                                        }
                                    ],
                                    "fee": "0,00 EUR",
                                    "fee_amount": 0,
                                    "single": "221,92 EUR",
                                    "single_amount": 221.92,
                                    "total": "221,92 EUR",
                                    "total_amount": 221.92,
                                    "base_total": 170,
                                    "fee_total": 0,
                                    "tax_total": 51.92
                                }
                            ],
                            "price_details_extra": [],
                            "pricelist": [],
                            "baggage": "0PC",
                            "price_fare_family": true,
                            "fare_type": "RP - Published fares",
                            "fare_messages": null,
                            "fare_family": "ECOSAVER",
                            "gds": "Amadeus",
                            "gds_type": "Amadeus",
                            "sita": false,
                            "sita_calculate": false,
                            "pcc_id": 1429,
                            "pcc_name": "Amadeus_test",
                            "pcc_office": "NUEL121QD (BSP)",
                            "fee": 0,
                            "comm": 0,
                            "is_subsidy": false,
                            "subsidy_instruction": null,
                            "discount_attention": null,
                            "discount_message": null,
                            "seats_required": false,
                            "only_ndc_acc": false,
                            "hash": "bdc14ee60723e02b3dabfd503751e75f",
                            "price_hash": "bedff872ea1b53e582c2f5c41fcd0a4b",
                            "bundled_fares": null,
                            "buy_message": null,
                            "consolidator_marker": "",
                            "consolidator_marker_color": null,
                            "tariff_rules": true,
                            "is_charter": false
                        },
                        {
                            "segment_id": "request_409e7bed-28b8-4a46-8425-3fbef0c890cd_87f643b5-6f12-45ff-b604-5c4293fa071d_2",
                            "buy_id": "request_409e7bed-28b8-4a46-8425-3fbef0c890cd_87f643b5-6f12-45ff-b604-5c4293fa071d_2",
                            "with_rules": true,
                            "is_policy_fail": null,
                            "policy_fail_details": null,
                            "is_ow": null,
                            "dir_number": 1,
                            "flight_number": "388",
                            "departure_airport": "BER",
                            "departure_airport_name": "BRANDENBURG",
                            "departure_city_name": "Берлин",
                            "departure_timestamp": 1732274700,
                            "departure_date": "2024-11-22",
                            "departure_time": "11:25:00",
                            "arrival_airport": "WAW",
                            "arrival_airport_name": "Варшава",
                            "arrival_city_name": "Варшава",
                            "arrival_timestamp": 1732279200,
                            "arrival_date": "2024-11-22",
                            "arrival_time": "12:40:00",
                            "duration_formated": "1 ч 15 мин",
                            "duration_minutes": 75,
                            "stops": 0,
                            "flights_info": [
                                {
                                    "operating_airline_code": "LO",
                                    "operating_airline_name": "LOT ",
                                    "operating_airline_logo": "https://stage-ng.etm-system.ru/images/airline/LO.svg",
                                    "marketing_airline_code": "LO",
                                    "marketing_airline_name": "LOT ",
                                    "marketing_airline_logo": "https://stage-ng.etm-system.ru/images/airline/LO.svg",
                                    "flight_number": "388",
                                    "flight_number_print": "LO-388",
                                    "airplane_code": "E95",
                                    "airplane_name": "EMBRAER 195",
                                    "departure_country": "DE",
                                    "departure_city": "Берлин",
                                    "departure_city_code": null,
                                    "route_locales": [],
                                    "departure_airport": "BER",
                                    "departure_airport_name": "BRANDENBURG",
                                    "departure_terminal": "1",
                                    "departure_date": "2024-11-22",
                                    "departure_local_time": "11:25",
                                    "departure_timezone": "GMT+01:00",
                                    "departure_local_timestamp": 1732271100,
                                    "arrival_country": "PL",
                                    "arrival_city": "Варшава",
                                    "arrival_city_code": null,
                                    "arrival_airport": "WAW",
                                    "arrival_airport_name": "Варшава",
                                    "arrival_terminal": "",
                                    "arrival_date": "2024-11-22",
                                    "arrival_local_time": "12:40",
                                    "arrival_timezone": "GMT+01:00",
                                    "arrival_local_timestamp": 1732275600,
                                    "duration_formated": "1 ч 15 мин",
                                    "duration_minutes": 75,
                                    "stop_time": null,
                                    "stop_time_minutes": null,
                                    "techstop": null,
                                    "ifs": {},
                                    "delays": false,
                                    "baggage": "0PC",
                                    "service_class": "Эконом",
                                    "booking_class": "T",
                                    "vehicle_type": "aircraft",
                                    "is_charter": false
                                }
                            ],
                            "services_available": false,
                            "other_price_available": false,
                            "seatmap_available": false,
                            "tariff": "T1SAV0",
                            "prov_fare_type": false,
                            "class": "T",
                            "seats": 9,
                            "price": 221.92,
                            "price_details": [
                                {
                                    "passenger_type": "adult",
                                    "type": "Взрослый",
                                    "qty": 1,
                                    "base": "170,00 EUR",
                                    "base_amount": 170,
                                    "tax": "51,92 EUR",
                                    "tax_amount": 51.92,
                                    "tax_dtl": [
                                        {
                                            "code": "YQ",
                                            "amount": "5.00",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "YR",
                                            "amount": "13.00",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "DE",
                                            "amount": "9.87",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "OY",
                                            "amount": "15.53",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "RA",
                                            "amount": "8.52",
                                            "currency": "EUR"
                                        }
                                    ],
                                    "fee": "0,00 EUR",
                                    "fee_amount": 0,
                                    "single": "221,92 EUR",
                                    "single_amount": 221.92,
                                    "total": "221,92 EUR",
                                    "total_amount": 221.92,
                                    "base_total": 170,
                                    "fee_total": 0,
                                    "tax_total": 51.92
                                }
                            ],
                            "price_details_extra": [],
                            "pricelist": [],
                            "baggage": "0PC",
                            "price_fare_family": true,
                            "fare_type": "RP - Published fares",
                            "fare_messages": null,
                            "fare_family": "ECOSAVER",
                            "gds": "Amadeus",
                            "gds_type": "Amadeus",
                            "sita": false,
                            "sita_calculate": false,
                            "pcc_id": 1429,
                            "pcc_name": "Amadeus_test",
                            "pcc_office": "NUEL121QD (BSP)",
                            "fee": 0,
                            "comm": 0,
                            "is_subsidy": false,
                            "subsidy_instruction": null,
                            "discount_attention": null,
                            "discount_message": null,
                            "seats_required": false,
                            "only_ndc_acc": false,
                            "hash": "3bcbc1d093b06620e6fdee7731402444",
                            "price_hash": "c1a42febba4f36749abb067b8e1c1fc9",
                            "bundled_fares": null,
                            "buy_message": null,
                            "consolidator_marker": "",
                            "consolidator_marker_color": null,
                            "tariff_rules": true,
                            "is_charter": false
                        },
                        {
                            "segment_id": "request_409e7bed-28b8-4a46-8425-3fbef0c890cd_87f643b5-6f12-45ff-b604-5c4293fa071d_1",
                            "buy_id": "request_409e7bed-28b8-4a46-8425-3fbef0c890cd_87f643b5-6f12-45ff-b604-5c4293fa071d_1",
                            "with_rules": true,
                            "is_policy_fail": null,
                            "policy_fail_details": null,
                            "is_ow": null,
                            "dir_number": 1,
                            "flight_number": "390",
                            "departure_airport": "BER",
                            "departure_airport_name": "BRANDENBURG",
                            "departure_city_name": "Берлин",
                            "departure_timestamp": 1732300800,
                            "departure_date": "2024-11-22",
                            "departure_time": "18:40:00",
                            "arrival_airport": "WAW",
                            "arrival_airport_name": "Варшава",
                            "arrival_city_name": "Варшава",
                            "arrival_timestamp": 1732305000,
                            "arrival_date": "2024-11-22",
                            "arrival_time": "19:50:00",
                            "duration_formated": "1 ч 10 мин",
                            "duration_minutes": 70,
                            "stops": 0,
                            "flights_info": [
                                {
                                    "operating_airline_code": "LO",
                                    "operating_airline_name": "LOT ",
                                    "operating_airline_logo": "https://stage-ng.etm-system.ru/images/airline/LO.svg",
                                    "marketing_airline_code": "LO",
                                    "marketing_airline_name": "LOT ",
                                    "marketing_airline_logo": "https://stage-ng.etm-system.ru/images/airline/LO.svg",
                                    "flight_number": "390",
                                    "flight_number_print": "LO-390",
                                    "airplane_code": "E75",
                                    "airplane_name": "EMBRAER 175",
                                    "departure_country": "DE",
                                    "departure_city": "Берлин",
                                    "departure_city_code": null,
                                    "route_locales": [],
                                    "departure_airport": "BER",
                                    "departure_airport_name": "BRANDENBURG",
                                    "departure_terminal": "1",
                                    "departure_date": "2024-11-22",
                                    "departure_local_time": "18:40",
                                    "departure_timezone": "GMT+01:00",
                                    "departure_local_timestamp": 1732297200,
                                    "arrival_country": "PL",
                                    "arrival_city": "Варшава",
                                    "arrival_city_code": null,
                                    "arrival_airport": "WAW",
                                    "arrival_airport_name": "Варшава",
                                    "arrival_terminal": "",
                                    "arrival_date": "2024-11-22",
                                    "arrival_local_time": "19:50",
                                    "arrival_timezone": "GMT+01:00",
                                    "arrival_local_timestamp": 1732301400,
                                    "duration_formated": "1 ч 10 мин",
                                    "duration_minutes": 70,
                                    "stop_time": null,
                                    "stop_time_minutes": null,
                                    "techstop": null,
                                    "ifs": {},
                                    "delays": false,
                                    "baggage": "0PC",
                                    "service_class": "Эконом",
                                    "booking_class": "T",
                                    "vehicle_type": "aircraft",
                                    "is_charter": false
                                }
                            ],
                            "services_available": false,
                            "other_price_available": false,
                            "seatmap_available": false,
                            "tariff": "T1SAV0",
                            "prov_fare_type": false,
                            "class": "T",
                            "seats": 9,
                            "price": 221.92,
                            "price_details": [
                                {
                                    "passenger_type": "adult",
                                    "type": "Взрослый",
                                    "qty": 1,
                                    "base": "170,00 EUR",
                                    "base_amount": 170,
                                    "tax": "51,92 EUR",
                                    "tax_amount": 51.92,
                                    "tax_dtl": [
                                        {
                                            "code": "YQ",
                                            "amount": "5.00",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "YR",
                                            "amount": "13.00",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "DE",
                                            "amount": "9.87",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "OY",
                                            "amount": "15.53",
                                            "currency": "EUR"
                                        },
                                        {
                                            "code": "RA",
                                            "amount": "8.52",
                                            "currency": "EUR"
                                        }
                                    ],
                                    "fee": "0,00 EUR",
                                    "fee_amount": 0,
                                    "single": "221,92 EUR",
                                    "single_amount": 221.92,
                                    "total": "221,92 EUR",
                                    "total_amount": 221.92,
                                    "base_total": 170,
                                    "fee_total": 0,
                                    "tax_total": 51.92
                                }
                            ],
                            "price_details_extra": [],
                            "pricelist": [],
                            "baggage": "0PC",
                            "price_fare_family": true,
                            "fare_type": "RP - Published fares",
                            "fare_messages": null,
                            "fare_family": "ECOSAVER",
                            "gds": "Amadeus",
                            "gds_type": "Amadeus",
                            "sita": false,
                            "sita_calculate": false,
                            "pcc_id": 1429,
                            "pcc_name": "Amadeus_test",
                            "pcc_office": "NUEL121QD (BSP)",
                            "fee": 0,
                            "comm": 0,
                            "is_subsidy": false,
                            "subsidy_instruction": null,
                            "discount_attention": null,
                            "discount_message": null,
                            "seats_required": false,
                            "only_ndc_acc": false,
                            "hash": "5eeaf9f7121ce7c4857bdc405b072521",
                            "price_hash": "7579f46a2b877aa1c1a09e0fe2612ffb",
                            "bundled_fares": null,
                            "buy_message": null,
                            "consolidator_marker": "",
                            "consolidator_marker_color": null,
                            "tariff_rules": true,
                            "is_charter": false
                        }
                    ]
                }
            ]
        }
    ],
    "ow_offers": [],
    "travel_policy_id": "",
    "is_schedule": false,
    "currency": "EUR"
}
Modified at 2025-08-18 09:33:12
Previous
3 Schedule - Amadeus optional
Next
4B Smart Offer Request optional
Built with