1. AVIA
ETS API
  • Try it and Run in ApiDog
  • AVIA API Documentation
  • AVIA Flows example
  • HOTELS API
  • AVIA
    • 1 REQ B2B Login Api Token
      POST
    • 1 REQ B2C Login
      GET
    • 2A Search Direct flight
      POST
    • 2C Search Round trip
      POST
    • 2B Search Multi-City
      POST
    • 3 Schedule - Amadeus optional
      POST
    • 4 Offers request
      POST
    • 4B Smart Offer Request optional
      GET
    • 4C Offer Rules
      GET
    • 5 Documents types for offer
      GET
    • 5.1 Get available citizenships for an offer
      GET
    • 6 Offer info
      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 methods
      POST
    • 13 Order payment
      POST
    • 14 Checkout status
      GET
    • 15 Refund order
      GET
    • 16 Get order info
      GET
    • 17 Print E-Tiket
      GET
    • 18 Receiving a cancellation fee
      GET
    • 19 Cancel Order
      GET
    • 20 Get airports
      GET
    • 21 Get cities
      GET
    • 22 Get countries
      GET
    • 23 Get counterparties info
      GET
    • 24 Get list of countries for citizenship
      GET
    • 25 Get list of country dialing codes
      GET
  • HOTELS
    • REQUIRED
      • 1A REQ B2B Login
      • 1B REQ B2B Login Token
      • 1C REQ B2C Login
      • 2 REQ Destination
      • 3 REQ Search
      • 4 REQ Receiving found hotels
      • 5 REQ Getting a Hotel Offer
      • 6 REQ Create order
      • 7 REQ Cancel order
    • OPTIONAL
      • 1 REQ B2B Login
      • 1B REQ B2B Login Token Copy
      • 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
  • External system export
    • Export Air Order
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. AVIA

6 Offer info

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

GET /api/air/offers/{buy_id}/info#

6-offer-info.png
Returns the flights, price and number of passengers of an offer from the search results. ETS does not send a request to the supplier: the data are taken from the search results, and the price is not confirmed. To check the offer with the supplier, use Availability. This call is optional.
buy_id (path, string) - search buy_id from POST /api/air/offers. Required. The booking buy_id from Availability is not accepted.
The method works while the search results are kept (at least 20 minutes after the search starts). After that it returns 404 {"message": "Offer not found"}. You can use it to check whether the search results are still available.

Response#

buy_id (string) - buy_id from the request.
price.amount (number) - total price for all passengers. price.currency - session currency.
passengers - adult_qty, child_qty, infant_qty.
directions[] - num (direction number), duration, segments[]:
num - segment number;
departure_date, departure_time, arrival_date, arrival_time - local time of the airports;
departure_airport, arrival_airport, departure_terminal, arrival_terminal;
flight_number, marketing_airline, operating_airline, validating_airline;
booking_class - booking class (RBD);
service_class - service class code: E - Economy, W - Premium Economy, B - Business, F - First;
fare_basis, baggage, fare_family, duration (can be null).

Errors#

404 {"message": "Offer not found"} - the search results have expired, buy_id is invalid, or it is a booking buy_id.
404 {"message": "Internal error ..."} - the offer has no price in the session currency. Start a new search.

Request

Header Params

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff 'https://stage-api.etm-system.com/api/air/offers/{{buy_id}}/info' \
--header 'Accept: application/json' \
--header 'Etm-Auth-Key: ' \
--header 'Accept-Encoding: gzip, deflate, br' \
--header 'Content-Type: application/json'
Response Response Example
{
    "buy_id": "request_52f99f95-c27d-4d89-8209-b0cc73747c81_5ace2f8d-2ec6-48cc-8273-2725fd3e771f_0",
    "directions": [
        {
            "num": 1,
            "segments": [
                {
                    "num": 1,
                    "departure_date": "2026-07-31",
                    "departure_time": "18:40:00",
                    "departure_airport": "TAS",
                    "departure_terminal": "2",
                    "arrival_date": "2026-07-31",
                    "arrival_time": "22:10:00",
                    "arrival_airport": "IST",
                    "arrival_terminal": "",
                    "flight_number": "305",
                    "marketing_airline": "C6",
                    "operating_airline": "C6",
                    "validating_airline": "C6",
                    "duration": null,
                    "booking_class": "V",
                    "fare_basis": "V2OW",
                    "service_class": "E",
                    "baggage": "2PC",
                    "fare_family": null
                }
            ],
            "duration": "05:30:00"
        }
    ],
    "price": {
        "amount": 12586,
        "currency": "RUB"
    },
    "passengers": {
        "adult_qty": 1,
        "child_qty": 0,
        "infant_qty": 0
    }
}
Modified at 2026-11-25 13:37:00
Previous
5.1 Get available citizenships for an offer
Next
7 Availability of Offer
Built with