- Previous: Get Started
- Up: Open Data
- Next: GET /reference-data v1
Offers API
WELCOME TO OFFERS API DOCUMENTATION
INTRODUCTION
The Offers API provides flight schedules, fares and transfer information for KLM and
Air France for any bookable date in the future.
QUICK PEEK
This API enables you to find out all the options related to a passenger journey including information on schedule, prices, taxes & surcharges, route information, alternative choices, conditions, etc.
GETTING STARTED
After you've registered your developer account and application, you'll be able to access the following parameters for your application on the Applications page. It is helpful to briefly understand these for the rest of this guide. You will receive an email with the the API keym You can also find these information in My Account section.
Application Parameters
Parameter | Description |
Api-Key | Access key to make a call to the resource |
For Open Data resource endpoints Oauth API token authentication is not required, you can simply make a call to the resource with your API key. The API key(api-key
) has to be in the Header part of the resource call.
Example :
curl -X GET \ https://api.airfranceklm.com/opendata/offers/reference-data \ -H 'accept: application/hal+json' \ -H 'accept-language: en-US' \ -H 'afkl-travel-country: NL' \ -H 'afkl-travel-host: KL' \ -H 'api-key: testapikey'
In the above example, you can see 'api-key' is in header along with other resource specific header parameters
Note :
Please note that apart from API key you may need to add some other header parameters / request parameters as per resource documentation. Please navigate to specific endpoint resource for more information
- Previous: Get Started
- Up: Open Data
- Next: GET /reference-data v1
Docs Navigation
- Air France-KLM Documentation
- Open Data
- Baggage allowance API Process flow - Pre-booking (inspiration) context
- Introduction
- Data scope
- Quick peak
- How to use
- Services overview
- Header
- GET All Allowances without Loyalty
- V1- All Allowances without Loyalty- Request
- V1- All Allowances without Loyalty- Response
- GET Base Allowances
- V1- Base Allowance - Request
- V1- Base Allowance - Response
- GET Loyalty Allowances
- V1- Loyalty Allowance - Request
- V1- Loyalty Allowance - Response
- GET Paid Options with Loyalty
- V1- GET Paid Options with Loyalty - Request
- V1- GET Paid Options with Loyalty - Response
- GET Paid Options without Loyalty
- V1- GET Paid Options without Loyalty - Request
- V1- GET Paid Options without Loyalty - Response
- GET All Allowances with Loyalty
- V1- All Allowances with Loyalty- Request
- V1- All Allowances with Loyalty- Response
- Get Started
- Offers API
- GET /reference-data v1
- POST /lowest-fare-offers v1
- GET /lowest-fare-offers v1
- POST /available-offers v1
- GET /available-offers v1
- GET /ticket-conditions
- GET /tax-breakdown
- POST /upsell-offers v1
- GET /upsell-offers v1
- POST /shopping-carts
- GET /related-products
- POST /related-products/shopping-carts
- GET /ticket-conditions with Reservation ID
- GET /ticket-conditions with Trip Parameters
- GET /search-context v1
- POST /trip-summary
- Errors Code
- GET /flightDetails
- POST /mail-my-search
- Inspire API / Amenities
- Flight Status API
- Network and Schedule API
- Baggage allowance API Process flow - Pre-booking (inspiration) context
- Metasearch API
- Cargo API
- All Other APIS