- Previous: V1- All Allowances with Loyalty- Response
- Up: Open Data
- Next: Offers API
Get Started
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 key. 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: V1- All Allowances with Loyalty- Response
- Up: Open Data
- Next: Offers API
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
- GET /reference-data/deals v1
- GET /search-context v1
- POST /lowest-fare-offers v1
- GET /lowest-fare-offers v1
- POST /available-offers v1
- GET /available-offers v1
- GET /flightDetails
- POST /upsell-offers v1
- GET /upsell-offers v1
- GET /priceDetails v1
- GET /tax-breakdown
- GET /ticket-conditions
- GET /ticket-conditions with Reservation ID
- GET /ticket-conditions with Trip Parameters
- POST /shopping-carts
- GET /related-products
- POST /related-products/shopping-carts
- POST /mail-my-search
- POST /flights-availability v1
- POST /best-fare-offers v1
- POST/ bestOffers/feed
- Errors Code
- POST /available-offers/all v1
- POST /best-fare-offers/all-deals v1
- 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