Airports
Airport codes and information used in the Travelese Engine API
Airport Information
The Travelese Engine API uses IATA airport codes to identify airports in requests and responses. This guide provides information about airport codes and how they are used in the API.
IATA Airport Codes
IATA (International Air Transport Association) airport codes are three-letter codes used to identify airports worldwide. For example:
LHR
: London Heathrow AirportJFK
: John F. Kennedy International AirportLAX
: Los Angeles International AirportSIN
: Singapore Changi AirportDXB
: Dubai International Airport
Using Airport Codes
Airport codes are used in various API endpoints:
-
Flight Search: When searching for flights using the
/shop/flight
endpoint: -
Response Data: In flight segment information:
Major Airport Hubs
Here are some major airport hubs by region:
Europe
LHR
: London Heathrow, United KingdomCDG
: Charles de Gaulle, FranceFRA
: Frankfurt Airport, GermanyAMS
: Amsterdam Schiphol, NetherlandsMAD
: Madrid Barajas, Spain
North America
JFK
: New York JFK, USALAX
: Los Angeles International, USAORD
: Chicago O’Hare, USAYYZ
: Toronto Pearson, CanadaMEX
: Mexico City International, Mexico
Asia
SIN
: Singapore Changi, SingaporeHKG
: Hong Kong International, Hong KongNRT
: Tokyo Narita, JapanICN
: Seoul Incheon, South KoreaPEK
: Beijing Capital, China
Middle East
DXB
: Dubai International, UAEDOH
: Hamad International, QatarAUH
: Abu Dhabi International, UAEIST
: Istanbul Airport, Turkey
Oceania
SYD
: Sydney Airport, AustraliaMEL
: Melbourne Airport, AustraliaAKL
: Auckland Airport, New Zealand
Airport Information in Responses
When an airport appears in API responses, it typically includes:
Best Practices
- Validation: Always validate airport codes before making API requests
- Case Sensitivity: Airport codes are case-sensitive and should be uppercase
- Timezone Awareness: Times in responses are in the local timezone of the airport
Finding Airport Codes
To find the correct IATA code for an airport:
- Use the official IATA Airport Codes Directory
- Check the airport’s official website
- Use online flight search engines that display IATA codes
Common Issues
- Invalid Airport Codes: Using incorrect or non-existent IATA codes will result in a
400 Bad Request
error - Restricted Airports: Some airports may not be available through certain providers
- Airport Changes: Occasionally, airports may change their IATA codes or cease operations
Need Help?
If you need help finding the correct airport code or have questions about airport-related responses:
- Email: [email protected]
- Documentation Issues: GitHub Repository
- API Reference: Engine API Documentation
Was this page helpful?