Overview
Introduction
The Carriers API returns a full list of active carriers with name and IATA code indexed by their carrierId
.
This is the same carrierId
from Flights Live Prices API reference and Flights Indicative API reference.
The carrierId
is in the same format e.g. -32677
.
This endpoint can be used to get up-to-date IATA code mappings following the internal Skyscanner carriers database.
Sample request
/flights/carriers
curl --request GET 'https://partners.api.skyscanner.net/apiservices/v3/flights/carriers' --header 'x-api-key: your-api-key'
Response
The response contains a carriers
field that has a list of carriers indexed by carrierId
.
Field name | Description |
---|---|
name | The legal name of the carrier |
iata | The IATA code of the carrier |
icao | The ICAO code of the carrier |
displayCode | The code which should be used to prefix flight numbers. This field should be used as some airlines have a preferred notation for their flight codes of using ICAO instead of IATA codes (or vice versa). E.g.: EasyJet has an IATA code of U2 but displayCode of EZY, so the resulting flight number should be EZY123. |
API documentation
For more information please see Carriers API reference.