{"uid":"cap_jqWWQCBXsN_wgw_mQ2LPx","slug":"stabletravel-flightaware-airport-canonical-code-lookup-355e784d","name":"StableTravel FlightAware Airport Canonical Code Lookup","description":"Pay-per-request access to flights, award availability, hotels, activities, and transfers. No auth, no subscriptions.","url":"https://stabletravel.dev/api/flightaware/airports/id/canonical","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"code_lid":"JFK","code_iata":"JFK","code_icao":"KJFK","airport_code":"KJFK"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rtsaRUcEv6XJlMZTBIHg4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns canonical airport code data (LID, IATA, ICAO) for a given airport identifier via FlightAware","exampleAgentPrompt":"What are the canonical airport codes — LID, IATA, and ICAO — for Miami International Airport (KMIA)?","exampleUseCases":null,"resultDescription":"A JSON object containing the airport's canonical code identifiers: code_lid (local identifier), code_iata (IATA 3-letter code), code_icao (ICAO 4-letter code), and airport_code (primary FlightAware code). For example, for JFK: {code_lid: 'JFK', code_iata: 'JFK', code_icao: 'KJFK', airport_code: 'KJFK'}.","failureModes":["Invalid or unrecognized airport code returns an error or empty result","Airport code format mismatch (e.g. providing IATA when ICAO expected) may yield no result","Payment failure (x402 micropayment not completed) blocks the request","Rate limiting or service unavailability on the FlightAware backend"],"whenToPreferThis":"Use this endpoint when you need to resolve or normalize an airport identifier to its canonical set of codes (LID, IATA, ICAO) via FlightAware data. Prefer this over general aviation APIs when you need pay-per-request access without subscription overhead, or when building a pipeline that requires authoritative FlightAware airport identifiers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:48.625Z","isFirstParty":false}