{"uid":"cap_XT_jnofyOScNey4xd489a","slug":"airports-reference-nearest-airports-by-coordinates-c68da773","name":"Airports Reference – Nearest Airports by Coordinates","description":"Nearest airports to a latitude and longitude with distance, bearing, type and codes; filter by size or scheduled service.","url":"https://airports-reference.x402tookit.com/airports-near?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":["lat","lon"],"properties":{"lat":{"type":"number","description":"Latitude, -90 to 90"},"lon":{"type":"number","description":"Longitude, -180 to 180"},"type":{"type":"string","description":"any (default), large, medium or small: that size or bigger"},"limit":{"type":"integer","description":"Results 1 to 25 (default 10)"},"radiusKm":{"type":"integer","description":"Search radius 1 to 1000 km (default 150)"},"scheduled":{"type":"string","description":"true to list only airports with scheduled service"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"query":{"type":["null","object"],"properties":{"lat":{"type":["null","number"]},"lon":{"type":["null","number"]},"type":{"type":["null","string"]},"radiusKm":{"type":["null","number"]},"scheduledOnly":{"type":["boolean","null"]}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"airports":{"type":["array","null"],"items":{"type":"object","properties":{"lat":{"type":["null","number"]},"lon":{"type":["null","number"]},"iata":{"type":["null","string"]},"icao":{"type":["null","string"]},"name":{"type":["null","string"]},"type":{"type":["null","string"]},"ident":{"type":["null","string"]},"region":{"type":["null","string"]},"country":{"type":["null","string"]},"distanceKm":{"type":["null","number"]},"distanceNm":{"type":["null","number"]},"elevationM":{"type":["null","number"]},"regionName":{"type":["null","string"]},"countryName":{"type":["null","string"]},"elevationFt":{"type":["null","number"]},"municipality":{"type":["null","string"]},"scheduledService":{"type":["boolean","null"]},"bearingFromPointDeg":{"type":["null","number"]}}}},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"totalWithinRadius":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iRfNqJGN1AHQxfqXrDH_4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a ranked list of airports nearest to a given latitude/longitude, with distance, bearing, IATA/ICAO codes, type, and optional filters for size and scheduled service.","exampleAgentPrompt":"Find me all airports within 200 km of latitude 51.5074, longitude -0.1278 — only show large or medium airports that have scheduled service, up to 15 results.","exampleUseCases":[{"title":"Flight planning from remote site","prompt":"I'm at coordinates 34.0522 latitude, -118.2437 longitude — can you find the nearest airports within 100 km that have scheduled commercial service, showing just large and medium ones?"},{"title":"Emergency diversion airport lookup","prompt":"Give me up to 25 airports of any size within 500 km of lat 48.8566, lon 2.3522, sorted by distance — I need their IATA and ICAO codes too."},{"title":"Travel logistics for a new office location","prompt":"We're opening an office at latitude 1.3521, longitude 103.8198 — what are the nearest airports within 150 km, and are any of them large international airports with scheduled flights?"}],"resultDescription":"A JSON array of airports sorted by distance from the query point, each entry containing the airport name, IATA code, ICAO code, type (large/medium/small/heliport etc.), distance in km and nautical miles, bearing, latitude, longitude, elevation, country, region, and whether scheduled service is available. Also includes a summary and the echoed query parameters.","failureModes":["Missing required lat or lon parameters returns a validation error","lat outside -90 to 90 or lon outside -180 to 180 returns an error","radiusKm outside 1–1000 range returns a validation error","limit outside 1–25 range returns a validation error","No airports found within the specified radius returns an empty airports array","Invalid type filter value (not any/large/medium/small) may return an error or be ignored","Payment failure (insufficient USDC balance or x402 auth issue) returns a 402 error"],"whenToPreferThis":"Use this endpoint when you need to discover and rank airports by proximity to a geographic coordinate — ideal for travel planning, logistics, flight routing, or any use case where you have a lat/lon and need nearby airport options. Prefer this over a code-lookup endpoint when you don't already know the airport identifier. The size and scheduled-service filters make it especially useful for finding only commercially relevant airports.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:34:53.861Z","isFirstParty":false,"canonicalSlug":"airports-reference-nearest-airports-by-coordinates-c68da773"}