Find Flight Cities and Airports
View all Booking.com Hotel & Travel Data endpoints →Find flight city and airport suggestions with a text query. The verified London response contained status=true, message=Success, and a data array with type, name, code, country, and countryName. Airport rows also carried city/cityName, parent, distanceToCity, and other geographic context. Results included CITY LON and AIRPORT LHR, LGW, and STN, alongside similarly named places in other countries. Select by type and geography; flight-search documentation calls for AIRPORT codes. Successful suggestion lookup does not validate downstream flight prices or searches.
API Features
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
/api/project/booking/flights-auto-complete API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/booking/flights-auto-complete?key=<API_KEY>&query=London'
Query Result
Use Cases
- Build an airport selector that distinguishes a city group from a specific airport.
- Disambiguate London suggestions by country before constructing an itinerary.
- Inspect airport distanceToCity values for an informational airport-choice panel.
- Validate traveler-selected airport codes before evaluating documented flight-search routes.
Frequently asked questions
Can I use CITY LON wherever an airport code is requested?
Do not assume that. The flight-search documentation calls for codes from AIRPORT-type suggestions. CITY LON and AIRPORT LHR represent different selections.
Did a successful London lookup validate live flight pricing?
No. Only the suggestion response was verified. Flight-search, minimum-price, and flight-detail responses were not live-validated.