{"api":{"id":"api_088c0dcce75be577e252b755","slug":"airline-routes","name":"Airline Routes","description":"Airline routes worldwide: which airline flies from which airport to which, with codeshare flag, number of stops and aircraft types. Query by origin, destination or airline code.","kind":"ready_made","visibility":"public","domain":"raw.githubusercontent.com","source_url":"https://github.com/jpatokal/openflights","category":"travel","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":7,"created_at":"2026-12-06T04:45:48.337Z","updated_at":"2026-12-06T04:45:48.337Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Airline, origin and destination joined with dashes.","required":true,"coverage":1,"example":"9W-YYZ-BRU"},{"name":"airline","type":"string","description":"IATA airline code.","required":false,"coverage":1,"example":"9W"},{"name":"origin","type":"string","description":"IATA code of the departure airport.","required":false,"coverage":1,"example":"YYZ"},{"name":"destination","type":"string","description":"IATA code of the arrival airport.","required":false,"coverage":1,"example":"BRU"},{"name":"is_codeshare","type":"boolean","description":"True when the flight is operated by another airline.","required":false,"coverage":1,"example":false},{"name":"stops","type":"integer","description":"Number of intermediate stops; 0 for nonstop.","required":false,"coverage":1,"example":0},{"name":"equipment","type":"array","description":"IATA codes of the aircraft types used, such as 77W.","required":false,"coverage":1,"example":["332","333"]}],"inputs":[{"name":"origin","type":"string","description":"IATA code of the departure airport, such as YYZ.","example":"YYZ"},{"name":"destination","type":"string","description":"IATA code of the arrival airport, such as LHR.","example":"LHR"},{"name":"airline","type":"string","description":"IATA code of the airline, such as AC.","example":"AC"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"airline":{"description":"IATA airline code.","type":"string"},"destination":{"description":"IATA code of the arrival airport.","type":"string"},"equipment":{"description":"IATA codes of the aircraft types used, such as 77W.","type":"array"},"id":{"description":"Airline, origin and destination joined with dashes.","type":"string"},"is_codeshare":{"description":"True when the flight is operated by another airline.","type":"boolean"},"origin":{"description":"IATA code of the departure airport.","type":"string"},"stops":{"description":"Number of intermediate stops; 0 for nonstop.","type":"integer"}},"required":["id"],"title":"Airline Routes","type":"object"},"samples":[{"id":"9W-YYZ-BRU","airline":"9W","origin":"YYZ","destination":"BRU","is_codeshare":false,"stops":0,"equipment":["332","333"]},{"id":"AA-YYZ-CLT","airline":"AA","origin":"YYZ","destination":"CLT","is_codeshare":true,"stops":0,"equipment":["E75","CRJ"]},{"id":"AA-YYZ-DCA","airline":"AA","origin":"YYZ","destination":"DCA","is_codeshare":true,"stops":0,"equipment":["CRJ"]}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"airline":1,"destination":1,"equipment":1,"id":1,"is_codeshare":1,"origin":1,"stops":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_088c0dcce75be577e252b755/run","openapi":"https://pullrow.dev/v1/apis/api_088c0dcce75be577e252b755/openapi.json","contract":"https://pullrow.dev/v1/apis/api_088c0dcce75be577e252b755/contract.json","page":"https://pullrow.dev/catalog/airline-routes"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["The data is the OpenFlights route list (Open Database Licence, credit OpenFlights.org), a snapshot whose last major update was in 2014. Routes that started or ended since are not reflected, and no schedules, fares or flight numbers are included.","About 67,000 routes; the file is read whole on every run (about 2 MB), so a query takes a few seconds.","Give at least one of origin, destination or airline; codes are IATA (YYZ, LHR, AC), not ICAO.","Each record is one direction of one airline on one airport pair; equipment lists IATA aircraft codes and is sometimes empty.","At most 10,000 records per run."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Airline, origin and destination joined with dashes.","group":"Technical","shown":false,"written":false},{"name":"airline","label":"IATA airline code","description":"","group":"Basics","shown":true,"written":false},{"name":"origin","label":"Origin","description":"IATA code of the departure airport.","group":"Basics","shown":true,"written":false},{"name":"destination","label":"Destination","description":"IATA code of the arrival airport.","group":"Basics","shown":true,"written":false},{"name":"is_codeshare","label":"Codeshare","description":"Yes when the flight is operated by another airline.","group":"Basics","shown":true,"written":false},{"name":"stops","label":"Stops","description":"Number of intermediate stops; 0 for nonstop.","group":"Basics","shown":true,"written":false},{"name":"equipment","label":"Equipment","description":"IATA codes of the aircraft types used, such as 77W.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"origin","label":"Origin","help":"IATA code of the departure airport, such as YYZ.","example":"YYZ","written":false},{"name":"destination","label":"Destination","help":"IATA code of the arrival airport, such as LHR.","example":"LHR","written":false},{"name":"airline","label":"Airline","help":"IATA code of the airline, such as AC.","example":"AC","written":false}]}},"incidents":[]}