{"uid":"cap_QTAPMnFd1TxnyyBjVjz4x","slug":"saylor-innovations-data-desk-airport-lookup-9e328471","name":"Saylor Innovations Data Desk – Airport Lookup","description":"Airport lookup from OurAirports by ICAO, IATA or local code, by name or city, or the nearest airports to coordinates - type, elevation, scheduled service and links","url":"https://saylorinnovations.com/api/aviation/airports?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":["code"],"properties":{"code":{"type":"string","description":"ICAO, IATA or local code, e.g. EGLL or LHR"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["mode","airports"],"properties":{"mode":{"type":"string","description":"Mode used"},"count":{"type":"number","description":"Number of items returned"},"query":{"type":["string","null"],"description":"The query as the server interpreted it"},"source":{"type":"string","description":"Data source the values come from"},"airports":{"type":"array","items":{"type":"object","properties":{"lat":{"description":"Latitude in decimal degrees"},"lon":{"description":"Longitude in decimal degrees"},"city":{"description":"City"},"iata":{"type":["string","null"],"description":"IATA code"},"icao":{"type":["string","null"],"description":"ICAO code"},"name":{"description":"Name"},"type":{"description":"Type or kind"},"ident":{"type":["string","null"],"description":"OurAirports identifier"},"region":{"description":"Region"},"country":{"description":"Country name"},"website":{"type":["string","null"],"description":"Airport website"},"wikipedia":{"description":"Wikipedia article URL"},"elevation_ft":{"description":"Elevation, in feet"},"scheduled_service":{"description":"Scheduled service"}}},"description":"Airports with ICAO and IATA codes, name, type, city, country, region, coordinates, elevation in feet, scheduled-service flag, distance (nearest mode), website and Wikipedia link"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6PaIV4qQm4YJPUEosaE92","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up airports by ICAO, IATA, or local code, by name or city, or finds the nearest airports to given coordinates, returning type, elevation, scheduled service, and links","exampleAgentPrompt":"Can you pull up the details for Heathrow Airport — I need its ICAO and IATA codes, what type of airport it is, its elevation, and whether it has scheduled service?","exampleUseCases":[{"title":"Flight planning airport verification","prompt":"I'm planning a flight and need to verify the details for EGLL — give me its full name, type, elevation in feet, coordinates, and whether scheduled service operates there."},{"title":"Nearest airport discovery for a location","prompt":"What are the closest airports to coordinates 51.5074° N, 0.1278° W? I want to know each one's name, IATA code, type, and distance."},{"title":"City airport research for travel booking","prompt":"Can you find all airports in or near Chicago and tell me which ones have scheduled commercial service, their ICAO codes, and their elevations?"}],"resultDescription":"Returns a JSON object with a mode field indicating how the query was interpreted, a count of results, the interpreted query string, the data source (OurAirports), and an array of airport objects each containing ICAO code, IATA code, OurAirports identifier, name, type, city, country, region, latitude, longitude, elevation in feet, scheduled service flag, airport website URL, and Wikipedia article URL. In nearest mode, distance is also included.","failureModes":["Invalid or unknown airport code returns empty airports array","Malformed coordinates return an error or empty result","Missing required 'code' query parameter returns a 400-level error","Ambiguous city name may return multiple or unexpected airports","Non-existent airport name yields zero results"],"whenToPreferThis":"Choose this endpoint when you need structured airport metadata (type, elevation, scheduled service, geographic coordinates, website, Wikipedia) keyed by ICAO, IATA, or local code, or when searching by city/name or nearest airports to coordinates. It is ideal when OurAirports-sourced data is acceptable and you need a low-cost ($0.01 USDC) lookup without requiring a full aviation data subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:38:54.053Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-airport-lookup-9e328471"}