{"uid":"cap_ctvWLJvKQaNp4zkkMP1we","slug":"vextorium-airport-lookup-27a078dc","name":"Vextorium Airport Lookup","description":"Find airports by IATA/ICAO code, name or city, or the nearest to coordinates: name, codes, city, country, coordinates, elevation and scheduled service. OurAirports open data.","url":"https://api.vextorium.com/v1/airport-lookup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"limit":{"type":"integer"},"query":{"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"query":{"type":["string","null"]},"source":{"type":["string","null"]},"airports":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"city":{"type":["string","null"]},"iata":{"type":["string","null"]},"icao":{"type":["string","null"]},"name":{"type":["string","null"]},"type":{"type":["string","null"]},"region":{"type":["string","null"]},"country":{"type":["string","null"]},"altitude_m":{"type":["number","null"]},"regular_flights":{"type":["boolean","null"]}}}}}}}}}},"responseSchema":{"type":"json","example":{"query":"MAD","source":"OurAirports (public domain)","airports":[{"lat":40.493407,"lon":-3.572249,"city":"Madrid","iata":"MAD","icao":"LEMD","name":"Adolfo Suárez Madrid–Barajas Airport","type":"large","region":"ES-MD","country":"ES","altitude_m":609,"regular_flights":true}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eD_HEC8by0N3ewu_QbsyC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up airports by IATA/ICAO code, name query, or geographic coordinates, returning detailed airport metadata","exampleAgentPrompt":"Look up the airport with IATA code MAD and give me its full details — name, city, coordinates, and whether it has regular flights.","exampleUseCases":[{"title":"Decode an airline ticket airport code","prompt":"I have a flight to ORD — can you look up what airport that is, what city it's in, and its coordinates?"},{"title":"Find nearest airports to a location","prompt":"What airports are near latitude 51.5074 longitude -0.1278? Show me up to 5 results with their IATA codes and types."},{"title":"Validate airport code before booking","prompt":"Is LHR a valid airport code? If so, tell me the full name, country, and whether it handles regular commercial flights."}],"resultDescription":"Returns a list of matching airports, each with IATA code, ICAO code, full name, city, country, region, latitude, longitude, altitude in meters, airport type (large/medium/small), and a boolean indicating whether the airport has regular scheduled flights. Also includes the original query and data source attribution (OurAirports, public domain).","failureModes":["No airports found for the given query or coordinates — returns empty airports array","Invalid or unrecognized airport code returns no results","Missing required body fields returns a validation error","Coordinates outside valid range may return unexpected results"],"whenToPreferThis":"Use this endpoint when you need to resolve an IATA or ICAO airport code to full metadata, search airports by name or city, or find airports near a geographic point. It draws from OurAirports public-domain data and returns structured, machine-readable results. Prefer this over general web search when you need reliable, structured airport data with codes, coordinates, and flight status in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:51:31.674Z","isFirstParty":false,"canonicalSlug":"vextorium-airport-lookup-27a078dc"}