हवाई हमला चेतावनी निकटता API Online
Air-raid alerts and airborne objects near ONE border crossing. Anchor on a checkpoint (ppid), a coordinate pair or a city and get back only what is inside your radius (default 100 km): which regions are under alert, how far each is, and how close any tracked object currently is on a 1-5 proximity band. Regions are returned as ISO 3166-2 region_code, the same classifier the regional fuel data uses. DELIBERATELY NOT REAL-TIME: every response is a snapshot 1-3 minutes old with the lag re-randomised per request and stated in as_of/lag_min, and object coordinates are never returned - only distance, bearing and speed relative to your anchor. Source data is crowd/OSINT-derived and partly hand-moderated: a signal, never ground truth, and never a substitute for official air-raid warnings.
GET https://nakordoni.eu/api/v2/data/air-alerts
— कोटा श्रेणी: cheap
| पैरामीटर | विवरण |
|---|---|
ppid | वह चेकपॉइंट ID जिस पर अनुरोध आधारित है, जैसे id_94 — इसे चेकपॉइंट निर्देशिका API से खोजें। lat/lon का विकल्प। |
lat | आधार बिंदु का अक्षांश (ppid का विकल्प) |
lon | आधार बिंदु का देशांतर (ppid का विकल्प) |
city | शहर का नाम — lat/lon का विकल्प, निर्देशांक में बदला जाता है |
country | ISO-2 देश कोड, शहर को स्पष्ट करता है |
radius_km | आधार बिंदु के चारों ओर किलोमीटर में खोज त्रिज्या (डिफ़ॉल्ट 100, न्यूनतम 10, अधिकतम 300)। 1-5 निकटता पट्टी इसी त्रिज्या के अनुसार मापी जाती है: 5 = निकटतम पाँचवाँ भाग, 1 = सबसे बाहरी पाँचवाँ भाग। |
lang | भाषा कोड (डिफ़ॉल्ट en) |
रिस्पॉन्स फ़ील्ड — रिस्पॉन्स एनवेलप के data ऑब्जेक्ट के भीतर। [] सूची दर्शाता है, यानी data.items[].name हर एलिमेंट का name फ़ील्ड है। जिस फ़ील्ड का मान हमारे पास नहीं है वह null होता है, आता ही नहीं या खाली सूची होती है — प्लेसहोल्डर कभी नहीं।
| फ़ील्ड | विवरण |
|---|---|
data.anchor | What the radius was measured from: ppid, lat, lng, radius_km. |
data.as_of | Snapshot time — DELIBERATELY not real-time. lag_min states the delay, re-randomised per request, and lag_note explains it. |
data.alerts.count | Regions under alert inside the radius, with region_codes (ISO 3166-2) and items — each with its distance from the anchor. |
data.alerts.unresolved | Alerts that could not be placed on a region, with merged — how many overlapping ones were combined. |
data.targets.count | Tracked objects inside the radius, with items — distance, bearing, speed and a 1-5 proximity band ONLY. Coordinates are never returned. |
data.targets.by_type | Counts per object type, with tracked_total across the whole feed. |
data.attribution | Source labels you must display, with a note per source. |
data.labels | Localised UI strings, including the disclaimer — crowd/OSINT data, never a substitute for official air-raid warnings. |
curl "https://nakordoni.eu/api/v2/data/air-alerts?ppid=id_94&radius_km=100" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
अपडेट किया गया