Flight API overview
The Flight Shopping and Booking APIs work together to enable the full booking lifecycle
Shopping APIs
The Flight Search APIs can be used by partners both booking via an Expedia website or by partners that will be booking via XAP APIs. Each API also provides pre-configured links to the Expedia website, the XAP Booking API, or both.
API | Description | Is it required? | Who should use it? |
---|---|---|---|
Links | Available by invitation only. Matches submitted flight data to Expedia inventory and returns links to XAP Details API and/or Expedia website details page. | No | Partners that either control flight inventory (eg. airlines) or have direct access to GDS flight inventory. |
Listings | Search Expedia flight inventory by date, origin, destination, and other parameters to return a listing of available flights. | Yes | All partners looking to integrate with our API should use the listings API, whether you’re doing a link-off or a Shop through Book integration. |
Details | Extended information about the fare, charges, fees, and other terms associated with booking an airline ticket. | Yes (Unless booking via Expedia website) | Web Booking - provide flight details prior to deeplinking to website. API Booking - provide flight details and get booking API query. |
Fare Rules | Provides extended information around all rules associated with the fare offer. | No | For partners that would like to offer their users more detailed information about a prospective (or recently purchased) flight. |
Fare Calendar | The API will return the lowest fares for multiple days so that those fares can be easily be displayed as a booking widget calendar. | No | For partners that would like to offer their users more detailed information about a prospective (or recently purchased) flight. |
Flex Search | The API can return the lowest rates available for all dates within a +/- 3 day range of the requested dates. | No | For partners that would like to offer their users more detailed information about a prospective (or recently purchased) flight. |
Seat Map | Provides access to a seat map for the aircraft with available and occupied seats to enable partners to build seat maps (only if available from carrier). | No | For partners that would like to offer their users more detailed information about a prospective (or recently purchased) flight. |
Baggage Fees | A complete listing of all fees associated with baggage on a selected flight. | No | For partners that would like to offer their users more detailed information about a prospective (or recently purchased) flight. |
Booking APIs
These APIs will only be used by partners booking via the XAP APIs to book flight offers that are delivered in the XAP Flight Details API response.
API | Description | Is it required? | Who should use it? |
---|---|---|---|
Booking | Enables booking of up to 6 passengers on tickets with up to 5 stops. | Yes (Unless booking via Expedia website) | Partners that want to enable Expedia bookings to be transacted without requiring the customer to leave the partner site. |
Resume Booking | Enables 2-step Authentication Process. | No | Partners that want to enable purchases via PayPal or 3DS-enabled credit cards. |
Booking Management APIs
These APIs can be leveraged by any partner, but in order to access booked itineraries the partner will either have to be in possession of data that was only available at the time of booking, or provide a means for the booked traveler to input the required booking data.
At this time XAP does not support cancellation via API, though it is in the backlog. All bookings, whether by Expedia website or API, may be canceled on the Expedia website on which it was booked, or via a call to Expedia Customer Service.
API | Description | Is it required? | Who should use it? |
---|---|---|---|
Booking Retrieve | Retrieves the details of an Expedia booking (whether booking was done via Booking API or on an Expedia website) | No | Partners that are providing booked travel info to customers, or else qualifying partners that need access to customer booking data for reporting. |