{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"cb2831af-29bd-4a3e-b0fb-31430c29b358","catalogType":"api","categories":["travel","data"],"dataPlatform":"ads-b-exchange","dataPlatformLogoUrl":"https://api.sh/logos/ads-b-exchange.png","dataPlatformTranslations":{},"dataProduct":"aviation","description":"Find the closest matching ADS-B Exchange aircraft to coordinates via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as lat, lon, output, and retrieve structured data including source aircraft address, distance nm, source aircraft latitude, and source aircraft longitude for point lookup, and observation detail.","descriptionTranslations":{"ar":"استرجع أقرب رصد مطابق من ADS-B Exchange إلى الإحداثيات، مع نصف القطر ومرشحات الطائرات لفحص موقع مصدر واحد بالنسبة للنقطة. استخدم الرصد المنظم لإعداد خريطة طيران أو فحص مراجع الطائرات، مع توضيح الوحدات وعمر الرصد وأمثلة الطلبات المدعومة وتسعير التنفيذ الحالي في صفحة API.","ja":"座標に最も近い ADS-B Exchange 観測を取得し、半径・機体条件から選択地点との位置関係を確認できます。 構造化観測を航空地図や出典の機体照合に使い、単位・観測経過時間を明示できます。API 詳細ページには対応リクエスト例と選択した実装の料金があります。","zh":"按坐标查询最近匹配的 ADS-B Exchange 航空器观测，可设置半径与筛选条件，查看相对于所选点的来源位置。 可利用结构化观测制作航空地图或核对来源航空器引用，保留测量单位和观测时效；API 详情页提供受支持的请求示例及当前实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"94523a7c-b953-4e2e-923b-c721b04faec7","includedContentHtml":"","inputs":[{"description":"Latitude.","location":"query","name":"lat","nullable":false,"required":true,"type":"number"},{"description":"Longitude.","location":"query","name":"lon","nullable":false,"required":true,"type":"number"},{"description":"Search radius in nautical miles (1-500, default 100).","location":"query","name":"radius_nm","nullable":false,"required":false,"type":"number"},{"description":"Only aircraft at or above this barometric altitude (feet).","location":"query","name":"min_altitude_ft","nullable":false,"required":false,"type":"number"},{"description":"Only aircraft at or below this altitude (feet).","location":"query","name":"max_altitude_ft","nullable":false,"required":false,"type":"number"},{"description":"true: military aircraft only.","location":"query","name":"military","nullable":false,"required":false,"type":"boolean"},{"description":"Only aircraft squawking this code (4 octal digits).","location":"query","name":"squawk","nullable":false,"required":false,"type":"string"},{"description":"Only callsigns starting with this (e.g. `BAW`).","location":"query","name":"callsign_prefix","nullable":false,"required":false,"type":"string"},{"description":"Only this ICAO aircraft type (e.g. `A320`).","location":"query","name":"type","nullable":false,"required":false,"type":"string"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/ads-b-exchange.png","method":"GET","name":"ADS-B Exchange closest aircraft to a point API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eADS-B Exchange Closest Aircraft API\u003c/h2\u003e\n\u003cp\u003ePass lat and lon, optionally radius_nm and supported aircraft filters. Unlike list operations, aircraft is a single returned object; preserve distance_nm, on_ground and position-age context.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired: lat, lon. Optional: radius_nm, min_altitude_ft, max_altitude_ft, military, squawk, callsign_prefix, type. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · ADS-B Exchange closest aircraft to a point API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003ePoint lookup\u003c/strong\u003e: Keep the query coordinates and source distance attached.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eObservation detail\u003c/strong\u003e: Retain source age and ground-state information.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eaircraft.hex\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource aircraft address\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eaircraft.distance_nm\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource distance from the query point in nautical miles\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eaircraft.latitude\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource aircraft latitude\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eaircraft.longitude\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource aircraft longitude\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eaircraft.seconds_since_position\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSeconds since source position update\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eradius_nm\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSelected search radius in nautical miles\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/adsbexchange/v1/closest \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode lat=51.47 \\\n  --data-urlencode lon=-0.45 \\\n  --data-urlencode output=json \\\n  --data-urlencode raw=0\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/94523a7c-b953-4e2e-923b-c721b04faec7\"\u003ePublished ADS-B Exchange Closest Aircraft API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhat radius is supported?\u003c/h3\u003e\n\u003cp\u003eradius_nm accepts 1–500 nautical miles and defaults to 100, different from the Area Aircraft radius limit.\u003c/p\u003e\n\u003ch3\u003eIs aircraft a list?\u003c/h3\u003e\n\u003cp\u003eThis operation returns a single aircraft object. Do not apply the list endpoints\u0026#39; array structure to it.\u003c/p\u003e\n\u003ch3\u003eCan I filter the nearest candidate?\u003c/h3\u003e\n\u003cp\u003eSupported filters include barometric altitude, military, squawk, callsign_prefix and ICAO aircraft type.\u003c/p\u003e\n\u003ch3\u003eDoes the nearest observation prove an aircraft is overhead now?\u003c/h3\u003e\n\u003cp\u003eKeep the returned distance, coordinates, source time and position age. Observation age and ground state remain relevant to interpretation.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached results?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or set output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/ads-b-exchange/ads-b-exchange-live-aircraft-by-hex-registration-or-callsign-api\"\u003eADS-B Exchange live aircraft by hex, registration or callsign API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/ads-b-exchange/ads-b-exchange-live-aircraft-in-an-area-api\"\u003eADS-B Exchange live aircraft in an area API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/ads-b-exchange/ads-b-exchange-live-military-aircraft-api\"\u003eADS-B Exchange live military aircraft API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/ads-b-exchange/ads-b-exchange-closest-aircraft-to-a-point-api?offering=94523a7c-b953-4e2e-923b-c721b04faec7","providerId":"apish","publicPath":"/v1/agent-apis/apish/adsbexchange/v1/closest","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"lat":"51.47","lon":"-0.45","output":"json","raw":"0"}},"response_body":{"aircraft":{"adsb_version":0,"aircraft_type":"TWR","altitude_baro_ft":null,"altitude_geom_ft":null,"callsign":null,"category":null,"distance_nm":0.1,"emergency":null,"ground_speed_kt":0,"hex":"42584b","indicated_airspeed_kt":null,"interesting":false,"latitude":51.470575,"longitude":-0.447044,"mach":null,"magnetic_heading_deg":null,"messages":8,"military":false,"nac_p":11,"nac_v":null,"nic":11,"on_ground":true,"outside_air_temp_c":null,"qnh_hpa":null,"receivers":2,"registration":"TWR","roll_deg":null,"rssi":-23.5,"sda":null,"seconds_since_position":1.2,"seconds_since_seen":1.2,"selected_altitude_fms_ft":null,"selected_altitude_ft":null,"selected_heading_deg":null,"sil":2,"source":"adsb_icao_nt","squawk":null,"total_air_temp_c":null,"track_deg":0,"track_rate":null,"true_airspeed_kt":null,"true_heading_deg":null,"vertical_rate_baro_fpm":null,"vertical_rate_geom_fpm":null,"wind_direction_deg":null,"wind_speed_kt":null},"applied_filters":{},"cached":false,"credits_used":1,"fetched_at":"2026-11-19T12:23:51.785Z","point":{"lat":51.47,"lon":-0.45},"radius_nm":100,"time":"2026-11-19T12:23:51.001Z"}}],"seoDescription":"Find the closest matching ADS-B Exchange aircraft via REST or MCP powered by Apish. Pay per call, no subscription. Built for point lookup workflows.","updatedAt":"2026-12-03T02:47:11.638Z","usageInstructionsHtml":""}}