{"uid":"cap_8XKYyb6Me5knwYpQbLUG-","slug":"stabletravel-id-be01d34a","name":"StableTravel Airport Info by Code","description":"Get airport info by code","url":"https://stabletravel.dev/api/flightaware/airports/:id?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["id","input"],"properties":{"id":{"type":"string","description":"Airport identifier (ICAO, IATA, or LID code), e.g. 'KJFK'"},"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"object","required":["airport_code","alternate_ident","code_icao","code_iata","code_lid","name","type","elevation","city","state","longitude","latitude","timezone","country_code","wiki_url","airport_flights_url","alternatives"],"properties":{"city":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"code_lid":{"type":"string"},"latitude":{"type":"number"},"timezone":{"type":"string"},"wiki_url":{"type":"string"},"code_iata":{"type":"string"},"code_icao":{"type":"string"},"elevation":{"type":"number"},"longitude":{"type":"number"},"airport_code":{"type":"string"},"alternatives":{"type":"array","items":{"type":"unknown"}},"country_code":{"type":"string"},"alternate_ident":{"type":"string"},"airport_flights_url":{"type":"string"}}},"example":{"request":{"id":"KJFK","input":{"type":"http","method":"GET","queryParams":{}}},"response":{"city":"New York","name":"John F Kennedy Intl","type":"Airport","state":"NY","code_lid":"JFK","latitude":40.6399281,"timezone":"America/New_York","wiki_url":"http://en.wikipedia.org/wiki/John_F_Kennedy_International","code_iata":"JFK","code_icao":"KJFK","elevation":13,"longitude":-73.7786922,"airport_code":"KJFK","alternatives":[],"country_code":"US","alternate_ident":"JFK","airport_flights_url":"/airports/KJFK/flights"}},"exampleRequest":null,"tags":["amadeus","flightaware","flights","hotels","activities","transfers","travel","data","web"],"displayCostAmount":"0.030000","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.030000/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xRxp5wrdphgkuiDwn-ITr","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"StableTravel","brandSlug":"stabletravel","brandBaseUrl":"https://stabletravel.dev","brandDocsUrl":"https://stabletravel.dev","whatItDoes":"Returns detailed airport information (name, location, codes, timezone, elevation) for a given airport identifier","exampleAgentPrompt":"Can you pull up all the details for LAX — full name, city, coordinates, timezone, IATA and ICAO codes, and any nearby alternative airports?","exampleUseCases":[{"title":"Flight booking timezone verification","prompt":"I need to check what timezone JFK operates in before confirming my flight departure time with the client."},{"title":"International airport code translation","prompt":"Can you look up the official name and ICAO code for CDG? I want to make sure I'm using the right identifier in our booking system."},{"title":"Trip planning with alternative airports","prompt":"Find me the elevation and coordinates for Denver airport, plus show me what other airports are nearby in case we need backup landing options."}],"resultDescription":"Returns a structured airport object including the official airport name, IATA/ICAO/LID codes, city, state, country code, latitude, longitude, elevation, timezone, a Wikipedia URL, a link to the airport's flight page on FlightAware, and a list of alternative nearby airports with their codes and cities.","failureModes":["Invalid or unknown airport code returns a 404 or empty result","Malformed airport ID causes a 400 bad request","Some fields (city, state, latitude, longitude, elevation, timezone, wiki_url) may be null if not available for the airport","Rate limiting or payment failure returns a 402 or 429 error","Network timeout on FlightAware upstream returns a 503"],"whenToPreferThis":"Use this endpoint when you need structured metadata about a specific airport — such as its official name, geographic coordinates, timezone, ICAO/IATA codes, or nearby alternatives — given a known airport identifier. Prefer this over flight-search endpoints when the goal is airport lookup/enrichment rather than finding flights.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:58.574Z","isFirstParty":false,"canonicalSlug":"stabletravel-id-be01d34a"}