Airport & Airline Code API: IATA, ICAO, Distance
Pricing
$1.00 / 1,000 airport/airline lookups
Airport & Airline Code API: IATA, ICAO, Distance
Look up airports by IATA/ICAO code or name (location, time zone, elevation), airlines by code or name, nearest airports to a point, and great-circle distance and flight time between airports.
Pricing
$1.00 / 1,000 airport/airline lookups
Rating
0.0
(0)
Developer
Tudor Lane
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Security
Limited permissionsShare
Use when: an AI agent or app needs to turn an airport or airline code into details (name, city, country, ICAO, time zone), find the nearest airports to a point, or get the great-circle distance and rough flight time between two airports.
Try this input (also the default, just click Start)
{"requests": [{"code": "LHR"}, {"from": "LHR", "to": "JFK"}, {"airline": "BA"}, {"lat": 51.5, "lon": -0.12, "action": "nearest"}]}
Sample output (real run, 2 Nov 2026, trimmed)
{"action": "airport", "query": "LHR", "name": "London Heathrow Airport", "iata": "LHR", "icao": "EGLL", "city": "London", "country": "United Kingdom", "timezone": "Europe/London", "error": null}{"action": "distance", "from": {"iata": "LHR"}, "to": {"iata": "JFK"}, "distance_km": 5540, "distance_miles": 3442, "approx_flight_time_hours": 7.4, "co2_kg_per_passenger_est": 609, "error": null}{"action": "airline", "query": "BA", "results": [{"name": "British Airways", "icao": "BAW", "callsign": "SPEEDBIRD", "active": true}], "error": null}{"action": "nearest", "results": [{"name": "London City Airport", "iata": "LCY", "distance_km": 12.1}, {"iata": "LHR", "distance_km": 23.8}, "..."], "error": null}
Options
{"code": "LHR"}: IATA or ICAO airport code (a plain string works too).{"from": "LHR", "to": "JFK"}: distance, flight time and CO2 estimate.{"airline": "BA"}: airline by IATA/ICAO code or name.{"lat": .., "lon": .., "action": "nearest"}: closest airports.
Up to 5000 items per run; no API key needed.
Pricing: pay per event, $0.001 per airport/airline lookup (one airport, airline, nearest-airport or distance lookup). Rows with errors are not charged. No subscription.
Limits & failure modes
- Flight time and CO2 are rough great-circle estimates, not schedules.
- Airline data (OpenFlights, ODbL 1.0) is community-maintained and can be out of date for new or merged airlines.
- No live flight status, schedules or prices.
- Airports: OurAirports (public domain). Time zones: timezonefinder (MIT).
Last tested: 2 Nov 2026.
Use from AI agents (MCP)
- Apify MCP server: add
https://mcp.apify.com/?tools=tudorlane/airport-airline-lookupto Claude, Cursor, ChatGPT, VS Code or any MCP client. - REST:
POST https://api.apify.com/v2/acts/tudorlane~airport-airline-lookup/run-sync-get-dataset-items?token=YOUR_TOKENwith the input JSON.