{"uid":"cap_caadVRN7NqeElVXa53ZOT","slug":"stabletravel-airport-info-by-code-0b8baf75","name":"StableTravel Airport Info by Code","description":"Get detailed information for a specific airport by its code","url":"https://stabletravel.dev/api/flightaware/airports/KORD","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_APhV665NfZ6aS_wx3Q99T","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 for a specific airport identified by its ICAO/IATA airport code","exampleAgentPrompt":"What are the details for O'Hare International Airport — I need its full name, coordinates, timezone, and any nearby alternative airports.","exampleUseCases":[{"title":"Flight planning pre-departure check","prompt":"I'm planning a flight to Chicago O'Hare — can you pull up the full airport details for KORD, including its timezone, elevation, and coordinates?"},{"title":"Airport timezone lookup for scheduling","prompt":"What timezone is Dallas/Fort Worth International Airport in? Look it up by its ICAO code KDFW so I can schedule a layover correctly."},{"title":"Verify airport identity from code","prompt":"I have the airport code KLAX — can you confirm the full name, city, and IATA code for that airport?"}],"resultDescription":"A JSON object containing the airport's code, full name, city, state, country code, latitude, longitude, elevation, timezone, IATA code, ICAO code, LID code, a Wikipedia URL, a FlightAware flights URL, and an optional list of alternative nearby airports with their codes, names, and cities.","failureModes":["Invalid or unknown airport code returns an error or empty result","Airports without IATA codes will have null code_iata fields","Some smaller airports may have null values for city, state, or timezone","Malformed airport code in URL path returns a 4xx error","FlightAware data may be stale for recently renamed or closed airports"],"whenToPreferThis":"Use this endpoint when you need structured, detailed metadata about a specific airport and you already know its code (ICAO, IATA, or LID). It is ideal for enriching flight itineraries, resolving airport codes to human-readable names, obtaining geospatial coordinates, or validating airport identity. Prefer this over a search endpoint when you have an exact code; use the nearby-airports sibling endpoint when you only have coordinates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:33.632Z","isFirstParty":false}