Airline Route API: Filter Flights by IATA
An airline route API lists which airports an airline flies between — not a live radar plot and not a fare. On FlightLabs that is GET https://api.goflightlabs.com/routes with access_key. Filter by departureIata (example OTP), arrivalIata (example WAW), airlineIata (example 0B), ICAO twins, or flightNumber (example 101).
Starter is $24.99/mo (4,000 calls, 10 req / 10s). Every plan includes a 7-day trial or 50 requests. Soft Limit is on by default. Docs: goflightlabs.com/retrieve-routes.
Request: routes from Bucharest (OTP)
curl "https://api.goflightlabs.com/routes?access_key=YOUR_ACCESS_KEY&departureIata=OTP"
Official quick-start also shows airlineIata=0B, arrivalIata=WAW, and a combined filter with departureIcao=LROP, airlineIcao=BMS, flightNumber=101.
Response: official /routes sample
{
"success": true,
"data": [
{
"airlineIata": "0B",
"airlineIcao": "BMS",
"arrivalIata": "TRN",
"arrivalIcao": "LIMF",
"arrivalTerminal": null,
"arrivalTime": "10:45:00",
"codeshares": null,
"departureIata": "OTP",
"departureIcao": "LROP",
"departureTerminal": null,
"departureTime": "09:15:00",
"flightNumber": "101",
"regNumber": ["YR-BAP"]
}
]
}
That row is Blue Air (0B / BMS) OTP→TRN as flight 101, departing 09:15:00. Terminals and codeshares are null in the fixture — do not invent a gate. The docs page shows a second object as ...; live calls return the rest of the array.
Python: filter by airline IATA
import requests
url = "https://api.goflightlabs.com/routes"
params = {
"access_key": "YOUR_ACCESS_KEY",
"airlineIata": "0B",
}
payload = requests.get(url, params=params, timeout=30).json()
for row in payload["data"]:
print(row["departureIata"], row["arrivalIata"], row["flightNumber"])
Same query keys as the official table. This is not /retrieveFlights (fares) and not /flights-schedules (airport timetable).
Go live
1. Register — 7-day trial.
2. Copy access_key.
3. GET https://api.goflightlabs.com/routes?departureIata=OTP
4. Read data[].arrivalIata.
FAQ: airline route API
Does this return ticket prices?
No. Fares are GET /retrieveFlights. Routes are the published network.
MCP?
FlightLabs MCP is at https://mcp.goflightlabs.com (also www.goflightlabs.com/mcp). Tools map to REST including routes.
Start the 7-day trial and list OTP routes →