Skip to main content

Introduction

The Royal Flight API provides Etstur clients with a set of API calls to integrate flight search and booking capabilities into their travel projects.

All requests are delivered via HTTPS. Request and response data is JSON, allowing you to easily build requests and parse responses using the tools included with most modern languages.

The Flight API is organized into two main flows:

  • Flight Reservation Flow: Resolve airports with Autocomplete, list availability with Flight Search, re-price a selection with Flight Detail, and book it with Reservation Create. Both one-way and round-trip itineraries are supported, and the essential identifiers from each step (search id, flight/offer ids, brand keys) are carried over to the next.
  • Flight Order Management: After ticketing, list bookings with Flight Orders, inspect a single booking with Order Detail, quote a cancellation penalty with Reverse Inquire, and complete the cancellation with Reverse.

Authentication

Before you can start using the Flight services, you need to authenticate your access. Submit a request to the Authentication service with your username and password to obtain an access (bearer) token, which must be included in the Authorization header of all subsequent Flight API requests.

Select a service from the left sidebar to view its details.

Environments