{"uid":"cap_RzAeGaICFdnoBZzUjJOCr","slug":"radar-airport-flight-distance-info-24c07192","name":"Radar Airport Flight Distance & Info","description":"Fast tools (web read, domain RDAP/DNS/SSL, Federal Register, clinical trials, OSV vulnerabilities, literature, e-mail auth) and data APIs on official/open data (leads, tenders, SEC filings, VAT, geocoding, aviation...). POST JSON, pay per call in USDC on Base via x402. Charged only when results are returned.","url":"https://2-29-135-242.sslip.io/x402/airports-flight-distance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["distance","lookup","search","nearby","weather","airline"],"type":"string","example":"distance","description":"distance = great-circle distance, bearing and estimated flight time for routes like JFK-LHR. lookup = full airport details by IATA/ICAO code. search = find airports by text, country or type. nearby = airports around a latitude/longitude. weather = latest METAR (and optional TAF) for airports."},"codes":{"type":"array","items":{"type":"string"},"example":["JFK","LHR","SOF"],"description":"IATA (3 letters, e.g. JFK) or ICAO (4 characters, e.g. EGLL) airport codes. For weather mode, ICAO codes of any station also work. For airline mode: airline IATA (BA, W6), ICAO (BAW) codes or names (Ryanair)."},"query":{"type":"string","description":"Text to find in airport name, city, code or keywords, for example 'heathrow', 'varna' or 'international'. Can be combined with country and type filters. In airline mode: text in the airline name, alias or callsign, e.g. 'wizz' or 'speedbird'."},"types":{"type":"array","items":{"type":"string"},"description":"Filter by type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, closed. Empty = all open airport types in search mode, and large/medium/small airports in nearby mode."},"routes":{"type":"array","items":{"type":"string"},"example":["JFK-LHR","SOF-VAR","LAX-NRT"],"description":"Airport pairs as IATA or ICAO codes, for example JFK-LHR, SOF-VAR, LAX-NRT. Accepted separators: dash, 'to', '>' or space."},"country":{"type":"string","description":"Two-letter ISO country code, for example US, GB, BG, DE. Empty = all countries. In airline mode: ISO 2-letter code lists that country's airlines (e.g. BG)."},"latitude":{"type":"number","example":43.2321,"description":"Latitude of the center point in decimal degrees, for example 43.2321 (Varna)."},"maxItems":{"type":"integer","default":20,"example":100,"maximum":100,"minimum":1,"description":"Hard limit on results saved (and paid for)."},"radiusKm":{"type":"integer","example":150,"description":"Search radius around the point in kilometers."},"longitude":{"type":"number","example":27.8251,"description":"Longitude of the center point in decimal degrees, for example 27.8251 (Varna)."},"includeTaf":{"type":"boolean","example":false,"description":"Also return the latest TAF (terminal aerodrome forecast) for each station, raw text."},"includeFaaDelays":{"type":"boolean","example":true,"description":"weather and lookup modes: add faaDelays to every US airport row - official FAA NAS status right now (ground stop, ground delay program with avg/max minutes, arrival/departure delays, closures). Non-US airports are unchanged. One extra free request per run."},"activeAirlinesOnly":{"type":"boolean","example":true,"description":"Airline mode: for name, query and country searches return only airlines marked active. Code lookups always return the best match (active first) and list other airlines that used the same code."},"scheduledServiceOnly":{"type":"boolean","example":true,"description":"Keep only airports that have scheduled passenger flights. Turn off to also see small airfields."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"...":"one result object"}]}},"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_JIhZRlu3ielWJ-U8mkdFz","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":"Calculates great-circle distance, bearing, and flight time between airports, and supports airport lookup, search, nearby discovery, and METAR/TAF weather by IATA/ICAO code","exampleAgentPrompt":"What's the great-circle distance, bearing, and estimated flight time for the routes JFK-LHR and LAX-NRT?","exampleUseCases":[{"title":"Flight route distance planning","prompt":"Can you calculate the great-circle distance, bearing, and estimated flight time for the routes JFK-LHR, SOF-VAR, and LAX-NRT all at once?"},{"title":"Airports near a geographic point","prompt":"Find all large and medium airports within 150 km of latitude 43.2321, longitude 27.8251 — give me up to 20 results."},{"title":"Live airport weather check","prompt":"What's the latest METAR weather report for KJFK and EGLL right now?"}],"resultDescription":"A JSON object with a count and an items array, where each item contains computed route data (distance in km, bearing in degrees, estimated flight time), full airport details (name, city, country, elevation, coordinates, type), or METAR/TAF weather strings depending on the mode used.","failureModes":["Invalid or unrecognized IATA/ICAO code returns empty results or error","Missing required fields for the selected mode (e.g. no codes for lookup) returns a validation error","Coordinates out of range for nearby mode","No airports found within specified radius returns count 0","Payment not received results in 402 response with no data charged","Rate limits or server errors return 5xx with no charge"],"whenToPreferThis":"Choose this endpoint when you need fast, pay-per-call aviation data including route distances, airport metadata, geographic airport search, or live METAR weather — especially when integrating into an agent that bills per result and needs flexible mode switching (distance, lookup, search, nearby, weather) in a single POST interface without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:56:14.948Z","isFirstParty":false,"canonicalSlug":"radar-airport-flight-distance-info-24c07192"}