{"openapi":"3.1.0","info":{"title":"Airlines Reference","version":"1.0.0","description":"Airline lookup by IATA or ICAO code, callsign, country and flight number parsing from the OpenFlights snapshot. One call, one computed answer, no accounts or API keys. Machine-payable over x402.","x-guidance":"Airlines Reference: Airline lookup by IATA or ICAO code, callsign, country and flight number parsing from the OpenFlights snapshot. Use /airline-lookup for an airline by IATA, ICAO code or name, /airline-search for a name fragment, /airlines-by-country for a country, /airline-callsign to convert a radio callsign to an airline or back, /airline-routes for route counts and top airports from the old route snapshot, /airline-route-between for airlines listed on an airport pair, and /flight-number-parse to split a flight number like BA117 or BAW117 and look up the carrier. Each paid GET returns a computed verdict with the reasons, the source and what was NOT checked. A verdict of UNVERIFIED means a lookup failed: treat it as unknown. No account or key: pay per call in USDC over x402."},"servers":[{"url":"https://airlines-reference.x402tookit.com"}],"paths":{"/airline-callsign":{"get":{"operationId":"airline_callsign","summary":"Convert an airline radio callsign (SPEEDBIRD) to its airline, or an airline code or name to its callsign.","description":"Convert an airline radio callsign (SPEEDBIRD) to its airline, or an airline code or name to its callsign.","tags":["airlines","callsign","icao","aviation"],"parameters":[{"name":"callsign","in":"query","required":false,"description":"Telephony callsign such as SPEEDBIRD (give this or airline)","schema":{"type":"string"}},{"name":"airline","in":"query","required":false,"description":"IATA/ICAO code or name such as BA, BAW, British Airways (give this or callsign)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"]},"callsign":{"type":["null","string"]},"matches":{"type":["array","null"],"items":{"type":"object","properties":{"openflightsId":{"type":["null","number"]},"name":{"type":["null","string"]},"alias":{},"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"callsign":{"type":["null","string"]},"country":{"type":["null","string"]},"active":{"type":["boolean","null"]},"routesInSnapshot":{"type":["null","number"]}}}},"snapshot":{"type":["null","string"]},"attribution":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"FOUND","summary":"Callsign SPEEDBIRD: British Airways (BAW).","reasons":[],"callsign":"SPEEDBIRD","matches":[{"openflightsId":1355,"name":"British Airways","alias":null,"iata":"BA","icao":"BAW","callsign":"SPEEDBIRD","country":"United Kingdom","active":true,"routesInSnapshot":549}],"snapshot":"Static snapshot from 2017-02-02: airlines that started, stopped or changed codes since are not reflected.","attribution":"Airline data: OpenFlights.org, Open Database License 1.0 (attribution and share-alike), static snapshot dated 2017-02-02; includes defunct airlines; route data is old.","degraded":false,"notChecked":["whether the airline operates today: this is a 2017 snapshot and the active flag is as of then","airlines founded or renamed after the snapshot","…2 more"],"source":"OpenFlights airlines.dat and routes.dat 2017 snapshot (ODbL 1.0), computed locally","asOf":"2026-10-21T05:48:59.651Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-callsign"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-callsign"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-callsign"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-callsign"}}]}}},"/airline-lookup":{"get":{"operationId":"airline_lookup","summary":"Find an airline by IATA (BA), ICAO (BAW) or name: callsign, country, active flag. 2017 snapshot incl. defunct airlines.","description":"Find an airline by IATA (BA), ICAO (BAW) or name: callsign, country, active flag. 2017 snapshot incl. defunct airlines.","tags":["airlines","iata","icao","lookup"],"parameters":[{"name":"q","in":"query","required":true,"description":"IATA code (BA), ICAO code (BAW) or airline name (British Airways)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"input":{"type":["null","string"]},"matchedBy":{"type":["null","string"]},"totalMatches":{"type":["null","number"]},"matches":{"type":["array","null"],"items":{"type":"object","properties":{"openflightsId":{"type":["null","number"]},"name":{"type":["null","string"]},"alias":{},"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"callsign":{"type":["null","string"]},"country":{"type":["null","string"]},"active":{"type":["boolean","null"]},"routesInSnapshot":{"type":["null","number"]}}}},"snapshot":{"type":["null","string"]},"attribution":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"FOUND","summary":"British Airways (IATA BA, ICAO BAW, callsign SPEEDBIRD), United Kingdom, active in the snapshot.","reasons":["Matched by IATA code.","Static snapshot from 2017-02-02: airlines that started, stopped or changed codes since are not reflected."],"input":"BA","matchedBy":"IATA code","totalMatches":1,"matches":[{"openflightsId":1355,"name":"British Airways","alias":null,"iata":"BA","icao":"BAW","callsign":"SPEEDBIRD","country":"United Kingdom","active":true,"routesInSnapshot":549}],"snapshot":"Static snapshot from 2017-02-02: airlines that started, stopped or changed codes since are not reflected.","attribution":"Airline data: OpenFlights.org, Open Database License 1.0 (attribution and share-alike), static snapshot dated 2017-02-02; includes defunct airlines; route data is old.","degraded":false,"notChecked":["whether the airline operates today: this is a 2017 snapshot and the active flag is as of then","airlines founded or renamed after the snapshot","…1 more"],"source":"OpenFlights airlines.dat and routes.dat 2017 snapshot (ODbL 1.0), computed locally","asOf":"2026-10-21T05:48:59.904Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-lookup"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-lookup"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-lookup"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-lookup"}}]}}},"/airline-route-between":{"get":{"operationId":"airline_route_between","summary":"Airlines listed on a route between two airport codes (JFK, LHR) in the old OpenFlights routes snapshot, both directions.","description":"Airlines listed on a route between two airport codes (JFK, LHR) in the old OpenFlights routes snapshot, both directions.","tags":["airlines","routes","airports","aviation"],"parameters":[{"name":"from","in":"query","required":true,"description":"Origin airport code, IATA (JFK) or ICAO (KJFK) as used in the routes file","schema":{"type":"string"}},{"name":"to","in":"query","required":true,"description":"Destination airport code (LHR)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"from":{"type":["null","string"]},"to":{"type":["null","string"]},"airlines":{"type":["array","null"],"items":{"type":"object","properties":{"openflightsId":{"type":["null","number"]},"name":{"type":["null","string"]},"alias":{},"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"callsign":{"type":["null","string"]},"country":{"type":["null","string"]},"active":{"type":["boolean","null"]},"routesInSnapshot":{"type":["null","number"]},"routesFromTo":{"type":["null","number"]},"routesToFrom":{"type":["null","number"]},"listing":{"type":["null","string"]}}}},"snapshotDate":{"type":["null","string"]},"attribution":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"LISTED","summary":"12 airline(s) listed between JFK and LHR in the 2017-02-02 snapshot, e.g. American Airlines, Delta Air Lines, US Airways.","reasons":["Historical snapshot: confirm current service with the airline."],"from":"JFK","to":"LHR","airlines":[{"openflightsId":24,"name":"American Airlines","alias":null,"iata":"AA","icao":"AAL","callsign":"AMERICAN","country":"United States","active":true,"routesInSnapshot":2354,"routesFromTo":1,"routesToFrom":1,"listing":"listed"},{"openflightsId":2009,"name":"Delta Air Lines","alias":null,"iata":"DL","icao":"DAL","callsign":"DELTA","country":"United States","active":true,"routesInSnapshot":1981,"routesFromTo":1,"routesToFrom":1,"listing":"listed"}],"snapshotDate":"2017-02-02","attribution":"Airline data: OpenFlights.org, Open Database License 1.0 (attribution and share-alike), static snapshot dated 2017-02-02; includes defunct airlines; route data is old.","degraded":false,"notChecked":["current service: the route table is from about 2014 to 2017 and incomplete","connecting itineraries (only nonstop pairs as listed, codeshares marked)","…1 more"],"source":"OpenFlights airlines.dat and routes.dat 2017 snapshot (ODbL 1.0), computed locally","asOf":"2026-10-21T05:49:00.173Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-route-between"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-route-between"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-route-between"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-route-between"}}]}}},"/airline-routes":{"get":{"operationId":"airline_routes","summary":"Route count and top origin and destination airports for an airline from the old OpenFlights routes snapshot (2017).","description":"Route count and top origin and destination airports for an airline from the old OpenFlights routes snapshot (2017).","tags":["airlines","routes","airports","aviation"],"parameters":[{"name":"airline","in":"query","required":true,"description":"IATA/ICAO code or name: BA, BAW, British Airways","schema":{"type":"string"}},{"name":"openflightsId","in":"query","required":false,"description":"Pick one airline when the code or name is ambiguous","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"airline":{"type":["null","object"],"properties":{"openflightsId":{"type":["null","number"]},"name":{"type":["null","string"]},"alias":{},"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"callsign":{"type":["null","string"]},"country":{"type":["null","string"]},"active":{"type":["boolean","null"]},"routesInSnapshot":{"type":["null","number"]}}},"routeCount":{"type":["null","number"]},"codeshareRoutes":{"type":["null","number"]},"airportCount":{"type":["null","number"]},"topOriginAirports":{"type":["array","null"],"items":{"type":"object","properties":{"airport":{"type":["null","string"]},"routes":{"type":["null","number"]}}}},"topDestinationAirports":{"type":["array","null"],"items":{"type":"object","properties":{"airport":{"type":["null","string"]},"routes":{"type":["null","number"]}}}},"snapshotDate":{"type":["null","string"]},"attribution":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"SNAPSHOT_ROUTES","summary":"British Airways (BA): 549 routes between 203 airports in the 2017-02-02 snapshot; busiest origin LHR.","reasons":["Route table dates from 2017-02-02; treat as historical."],"airline":{"openflightsId":1355,"name":"British Airways","alias":null,"iata":"BA","icao":"BAW","callsign":"SPEEDBIRD","country":"United Kingdom","active":true,"routesInSnapshot":549},"routeCount":549,"codeshareRoutes":177,"airportCount":203,"topOriginAirports":[{"airport":"LHR","routes":130},{"airport":"LGW","routes":43}],"topDestinationAirports":[{"airport":"LHR","routes":130},{"airport":"LGW","routes":43}],"snapshotDate":"2017-02-02","attribution":"Airline data: OpenFlights.org, Open Database License 1.0 (attribution and share-alike), static snapshot dated 2017-02-02; includes defunct airlines; route data is old.","degraded":false,"notChecked":["current routes: the route table is old (about 2014 to 2017), incomplete, and has no schedules or frequencies","routes of airlines missing from the snapshot, and 479 routes that carry no airline id","…1 more"],"source":"OpenFlights airlines.dat and routes.dat 2017 snapshot (ODbL 1.0), computed locally","asOf":"2026-10-21T05:49:00.435Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-routes"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-routes"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-routes"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-routes"}}]}}},"/airline-search":{"get":{"operationId":"airline_search","summary":"Search airlines by name fragment (min 2 chars), active first, optional active filter, capped at 50 results.","description":"Search airlines by name fragment (min 2 chars), active first, optional active filter, capped at 50 results.","tags":["airlines","search","iata","icao"],"parameters":[{"name":"q","in":"query","required":true,"description":"Name fragment, e.g. 'united' or 'air nz'","schema":{"type":"string"}},{"name":"active","in":"query","required":false,"description":"Y for active only, N for inactive only, any (default)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results 1 to 50 (default 20)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"query":{"type":["null","string"]},"total":{"type":["null","number"]},"results":{"type":["array","null"],"items":{"type":"object","properties":{"openflightsId":{"type":["null","number"]},"name":{"type":["null","string"]},"alias":{},"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"callsign":{"type":["null","string"]},"country":{"type":["null","string"]},"active":{"type":["boolean","null"]},"routesInSnapshot":{"type":["null","number"]}}}},"snapshot":{"type":["null","string"]},"attribution":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"FOUND","summary":"6 airline(s) match \"united\"; first: United Airlines (UA).","reasons":["Showing 5 of 6."],"query":"united","total":6,"results":[{"openflightsId":5209,"name":"United Airlines","alias":null,"iata":"UA","icao":"UAL","callsign":"UNITED","country":"United States","active":true,"routesInSnapshot":2180},{"openflightsId":8463,"name":"United Airways","alias":null,"iata":"4H","icao":"UBD","callsign":"UNITED BANGLADESH","country":"Bangladesh","active":true,"routesInSnapshot":32}],"snapshot":"Static snapshot from 2017-02-02: airlines that started, stopped or changed codes since are not reflected.","attribution":"Airline data: OpenFlights.org, Open Database License 1.0 (attribution and share-alike), static snapshot dated 2017-02-02; includes defunct airlines; route data is old.","degraded":false,"notChecked":["whether the airline operates today: this is a 2017 snapshot and the active flag is as of then","airlines founded or renamed after the snapshot","…1 more"],"source":"OpenFlights airlines.dat and routes.dat 2017 snapshot (ODbL 1.0), computed locally","asOf":"2026-10-21T05:49:00.700Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-search"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-search"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-search"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airline-search"}}]}}},"/airlines-by-country":{"get":{"operationId":"airlines_by_country","summary":"List airlines of a country (name as OpenFlights spells it) with active filter and paging; 'list' gives country counts.","description":"List airlines of a country (name as OpenFlights spells it) with active filter and paging; 'list' gives country counts.","tags":["airlines","countries","aviation","directory"],"parameters":[{"name":"country","in":"query","required":true,"description":"Country name like 'United States' or 'Japan', or 'list' for all country counts","schema":{"type":"string"}},{"name":"active","in":"query","required":false,"description":"Y active only (default), N inactive only, any","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results 1 to 100 (default 50)","schema":{"type":"integer"}},{"name":"offset","in":"query","required":false,"description":"Skip this many results (default 0)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"country":{"type":["null","string"]},"totalInCountry":{"type":["null","number"]},"matching":{"type":["null","number"]},"offset":{"type":["null","number"]},"results":{"type":["array","null"],"items":{"type":"object","properties":{"openflightsId":{"type":["null","number"]},"name":{"type":["null","string"]},"alias":{"type":["null","string"]},"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"callsign":{"type":["null","string"]},"country":{"type":["null","string"]},"active":{"type":["boolean","null"]},"routesInSnapshot":{"type":["null","number"]}}}},"attribution":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"LISTED","summary":"Japan: 22 active airline(s) (49 in total, 22 active).","reasons":["Static snapshot from 2017-02-02: airlines that started, stopped or changed codes since are not reflected.","More results: raise offset."],"country":"Japan","totalInCountry":49,"matching":22,"offset":0,"results":[{"openflightsId":324,"name":"All Nippon Airways","alias":"ANA All Nippon Airways","iata":"NH","icao":"ANA","callsign":"ALL NIPPON","country":"Japan","active":true,"routesInSnapshot":547},{"openflightsId":2987,"name":"Japan Airlines","alias":"JAL Japan Airlines","iata":"JL","icao":"JAL","callsign":"JAPANAIR","country":"Japan","active":true,"routesInSnapshot":388}],"attribution":"Airline data: OpenFlights.org, Open Database License 1.0 (attribution and share-alike), static snapshot dated 2017-02-02; includes defunct airlines; route data is old.","degraded":false,"notChecked":["whether the airline operates today: this is a 2017 snapshot and the active flag is as of then","airlines founded or renamed after the snapshot","…2 more"],"source":"OpenFlights airlines.dat and routes.dat 2017 snapshot (ODbL 1.0), computed locally","asOf":"2026-10-21T05:49:00.951Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airlines-by-country"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airlines-by-country"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airlines-by-country"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/airlines-by-country"}}]}}},"/flight-number-parse":{"get":{"operationId":"flight_number_parse","summary":"Parse a flight number like BA117, BAW117 or U21234 into airline code, number and suffix, validate format, find the airline.","description":"Parse a flight number like BA117, BAW117 or U21234 into airline code, number and suffix, validate format, find the airline.","tags":["airlines","flight-number","iata","icao"],"parameters":[{"name":"flight","in":"query","required":true,"description":"Flight number: BA117, BAW 117, U2 1234, AA100A","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"input":{"type":["null","string"]},"valid":{"type":["boolean","null"]},"designator":{"type":["null","string"]},"designatorType":{"type":["null","string"]},"flightNumber":{"type":["null","number"]},"suffix":{},"normalized":{"type":["null","string"]},"airline":{"type":["null","object"],"properties":{"openflightsId":{"type":["null","number"]},"name":{"type":["null","string"]},"alias":{},"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"callsign":{"type":["null","string"]},"country":{"type":["null","string"]},"active":{"type":["boolean","null"]},"routesInSnapshot":{"type":["null","number"]}}},"otherMatches":{"type":["array","null"]},"attribution":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"VALID","summary":"BAW 117: ICAO designator, British Airways.","reasons":["Static snapshot from 2017-02-02: airlines that started, stopped or changed codes since are not reflected."],"input":"BAW117","valid":true,"designator":"BAW","designatorType":"ICAO","flightNumber":117,"suffix":null,"normalized":"BAW117","airline":{"openflightsId":1355,"name":"British Airways","alias":null,"iata":"BA","icao":"BAW","callsign":"SPEEDBIRD","country":"United Kingdom","active":true,"routesInSnapshot":549},"otherMatches":[],"attribution":"Airline data: OpenFlights.org, Open Database License 1.0 (attribution and share-alike), static snapshot dated 2017-02-02; includes defunct airlines; route data is old.","degraded":false,"notChecked":["whether the flight exists or operates on any date (no schedule data)","codeshare marketing versus operating carrier","…1 more"],"source":"OpenFlights airlines.dat and routes.dat 2017 snapshot (ODbL 1.0), computed locally","asOf":"2026-10-21T05:49:01.215Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/flight-number-parse"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/flight-number-parse"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/flight-number-parse"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://airlines-reference.x402tookit.com/flight-number-parse"}}]}}}}}