{"uid":"cap_75jdrBF2XG1jzQkSyltMu","slug":"airlines-reference-airline-name-search-caddc4e9","name":"Airlines Reference – Airline Name Search","description":"Search airlines by name fragment (min 2 chars), active first, optional active filter, capped at 50 results.","url":"https://airlines-reference.x402tookit.com/airline-search?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":"Name fragment, e.g. 'united' or 'air nz'"},"limit":{"type":"integer","description":"Results 1 to 50 (default 20)"},"active":{"type":"string","description":"Y for active only, N for inactive only, any (default)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"query":{"type":["null","string"]},"total":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"results":{"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"]}}}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"snapshot":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]}}}}}}},"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_3log4se6QnOr_0SDSbMI1","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":"Search for airlines by a name fragment (minimum 2 characters), returning up to 50 matches with IATA/ICAO codes, country, callsign, and active status.","exampleAgentPrompt":"Search for airlines with 'united' in their name and show me only the active ones — I need their IATA and ICAO codes.","exampleUseCases":[{"title":"Find airline codes by partial name","prompt":"Can you look up all active airlines that have 'emirates' in their name and give me their IATA and ICAO codes?"},{"title":"Disambiguate similarly named carriers","prompt":"I'm trying to figure out which airlines have 'air new zealand' in their name — can you search for 'air nz' and show me what comes back, active or inactive?"},{"title":"Autocomplete airline selector in booking tool","prompt":"My user just typed 'south' into the airline search box — can you fetch the top 10 airline matches for that fragment so I can populate the dropdown?"}],"resultDescription":"Returns a list of up to 50 airline records matching the name fragment, each including airline name, IATA code, ICAO code, radio callsign, country, active/inactive flag, OpenFlights ID, and route count from the snapshot. Also includes metadata such as query echo, total match count, data source, snapshot date, attribution, and any disclaimer.","failureModes":["Query fragment shorter than 2 characters returns an error or empty result","No airlines match the fragment — empty results array returned","Invalid 'active' filter value may be ignored or cause an error","Limit parameter outside 1–50 range may be clamped or rejected","Data reflects a 2017 OpenFlights snapshot so recently formed or defunct airlines may be missing or stale"],"whenToPreferThis":"Use this endpoint when you need to search for airlines by a partial name string and want back structured IATA/ICAO codes, country, callsign, and active status. Prefer this over the exact-code lookup endpoint when the user knows only part of an airline's name. It is particularly useful for autocomplete, disambiguation between similarly named carriers, or filtering by active status when the full airline identifier is unknown.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:31:01.499Z","isFirstParty":false,"canonicalSlug":"airlines-reference-airline-name-search-caddc4e9"}