{"uid":"cap_iHGGm86lBR1_11Q8RTLv-","slug":"airlines-reference-airline-lookup-by-iata-icao-or-name-ad9985c3","name":"Airlines Reference – Airline Lookup by IATA, ICAO, or Name","description":"Find an airline by IATA (BA), ICAO (BAW) or name: callsign, country, active flag. 2017 snapshot incl. defunct airlines.","url":"https://airlines-reference.x402tookit.com/airline-lookup?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"IATA code (BA), ICAO code (BAW) or airline name (British Airways)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"input":{"type":["null","string"]},"source":{"type":["null","string"]},"matches":{"type":["array","null"],"items":{"type":"object","properties":{"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"name":{"type":["null","string"]},"alias":{},"active":{"type":["boolean","null"]},"country":{"type":["null","string"]},"callsign":{"type":["null","string"]},"openflightsId":{"type":["null","number"]},"routesInSnapshot":{"type":["null","number"]}}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"snapshot":{"type":["null","string"]},"matchedBy":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"totalMatches":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AKhPYEICPS1PUJ75PWU_l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up an airline by its IATA code (e.g. BA), ICAO code (e.g. BAW), or full name, returning callsign, country, active status, and route count from a 2017 OpenFlights snapshot.","exampleAgentPrompt":"Look up the airline with IATA code BA and tell me its full name, ICAO code, callsign, country, and whether it's still active.","exampleUseCases":[{"title":"Validate airline code in booking flow","prompt":"I have a flight itinerary with carrier code EK — can you confirm what airline that is, what country it's based in, and whether it's currently active?"},{"title":"Identify airline from radio callsign context","prompt":"I've got the ICAO code UAL in a data feed — look it up and tell me the airline name, IATA code, and callsign so I can display it correctly."},{"title":"Research a defunct historical airline","prompt":"Can you pull up details on Pan Am from the airlines reference database — I want to know its IATA and ICAO codes, its callsign, and whether it's listed as active or defunct?"}],"resultDescription":"Returns a list of matching airlines, each with IATA code, ICAO code, airline name, alias, radio callsign, country of registration, active status (boolean), OpenFlights ID, and number of routes in the 2017 snapshot. Also includes metadata such as total match count, what field was matched on, a summary, and a disclaimer about the data being a 2017 snapshot.","failureModes":["No matches found for an obscure or misspelled airline code or name","Airline exists but was added after 2017 and is absent from the snapshot","Ambiguous name query returns multiple matches requiring disambiguation","Empty or missing query parameter returns a validation error","Defunct airline data may be incomplete or have null fields"],"whenToPreferThis":"Use this endpoint when you need to resolve an IATA or ICAO airline code to its full details (name, country, callsign, active status) or vice versa, especially for reference enrichment in aviation workflows. It covers both active and defunct airlines from the OpenFlights 2017 snapshot, making it suitable for historical lookups. Prefer this over general web search when you need structured, machine-readable airline metadata with consistent field coverage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:30:23.927Z","isFirstParty":false,"canonicalSlug":"airlines-reference-airline-lookup-by-iata-icao-or-name-ad9985c3"}