{"uid":"cap_MK9flrWZutd0YpHce9oDe","slug":"stabletravel-airport-info-by-code-297692b1","name":"StableTravel Airport Info by Code","description":"Get detailed information for a specific airport by its code","url":"https://stable-travel-hkd3tku0j-merit-systems.vercel.app/api/flightaware/airports/KJFK","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["airport_code","name"],"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"type":{"type":"string"},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_lid":{"anyOf":[{"type":"string"},{"type":"null"}]},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"wiki_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_iata":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_icao":{"anyOf":[{"type":"string"},{"type":"null"}]},"elevation":{"anyOf":[{"type":"number"},{"type":"null"}]},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}]},"airport_code":{"type":"string"},"alternatives":{"anyOf":[{"type":"array","items":{"type":"object","required":["airport_code"],"properties":{"city":{"type":"string"},"name":{"type":"string"},"airport_code":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"airport_flights_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4aXcZ-FtRoRBaVqcJ4oNn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns detailed information about a specific airport identified by its ICAO/IATA code, including location, coordinates, timezone, and metadata","exampleAgentPrompt":"Can you look up the details for JFK airport — I need its full name, city, timezone, coordinates, and any alternative nearby airports?","exampleUseCases":null,"resultDescription":"A JSON object containing the airport's full name, city, state, country code, ICAO and IATA codes, LID code, latitude, longitude, elevation, timezone, Wikipedia URL, a FlightAware flights page URL, and an array of alternative nearby airports (each with code, name, and city). Fields may be null if not available.","failureModes":["Invalid or unrecognized airport code returns an error or empty result","Airport code not found in FlightAware database","Payment not processed (x402 payment required before response)","Network timeout or upstream FlightAware API unavailability","Malformed airport code (e.g. wrong length or format) may return 400 or empty data"],"whenToPreferThis":"Use this endpoint when you need authoritative, structured airport metadata — including geolocation, timezone, and alternative airports — given a known ICAO or IATA airport code. Prefer this over general web search when you need machine-readable structured data about an airport for routing, scheduling, or enrichment purposes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:32:53.977Z","isFirstParty":false}