Air travel and booking through the search in Yandex for your site
For which sites in Yandex
Services offering flights: air carriers, travel agencies and agency platforms for selling flights through your site.
What is displayed in the search results for Yandex of your site
The block shows flight options indicating the cost, the number of transfers, the presence of baggage and the number of passengers. The user on the search results page can change dates, send requests for specific carriers and proceed to the design of the ticket on your site.
How to organize integration of flights to Yandex for your site
When Yandex receives a request with departure and purpose points (IATA or Siren codes), dates and number of passengers, he directs the GET request to your API in format:
https://api.partner/search?
departure=<код_отправления>&
arrival=<код_прибытия>&
date_forward=<дата_туда>&
date_backward=<дата_обратно>&
class=<класс>&
adults=<взрослые>&
children=<дети>&
infants=<младенцы>
In response, your API returns JSON with objects variantcontaining:
- URL for transition to reservation;
- the total cost of the flight and for each type of passengers;
- repayment labeling;
- accessible number of places;
- Detailed information about each flight segment (flight numbers, airline codes, departure and arrival, conditions for baggage and hand luggage).
Interaction scheme for the transfer to Yandex of your site
- The user selects the flight option and clicks on the link received in the API response.
- It is redirected to the page of your site, where the reservation availability is automatically checked.
- If the selected option is not available, alternative sentences with similar parameters are shown.
- The link should remain at least 30 hours and transmit a unique reservation marker.
- The booking page should be clear and complete information about flights, transfers, baggage and cost of the option that was shown in the search.
- For cases with several tickets, the number of documents written out and the features of baggage transplants are indicated.
- The price during the transition from the search should be clearly allocated, without intrusive pop -up windows and hidden services.
- If manual confirmation is required, the terms and conditions of confirmation are displayed on the page.
Integration conditions in Yandex of your site
- The site must support instant confirmation of air booking.
- Answers are delivered no later than 120 seconds from the moment of request.
- When using the Siren-Travel system codes, it is necessary to respond to the corresponding internal codes.
- All transitions must be carried out according to the protected protocol HTTPS.
- To inform the change of API or the protocol in advance, in at least 30 days.
- To limit directions, you can set a CSV file with airport pairs and days of the week; Update - once a day.
- The partner is obliged to provide an API reservation report with history over the past 60 days, including a marker, order status, price and identifier.
For all issues of integration, contact the SEO company CEO By email: info@seo.computer or through WhatsApp: +79202044461.
ID: 152