Նորությունների ուղարկումը և NakBus նավատորմը այժմ գործընկերոջ վահանակում են
Կապեք ձեր ծրագրավորողի հաշիվը նույն էլփոստով Nakordoni Partners հաշվի հետ և այնտեղ կառավարեք նորությունները և ձեր ավտոբուսային նավատորմը (NakDriver / NakManager)՝ թիմային դերերով։ Ձեր API բանալիները, endpoint-ները և հավելվածները մնում են անփոփոխ, իսկ այստեղի էջերը շարունակում են աշխատել։ Բացել Nakordoni Partners-ը

← Բոլոր endpoint-ները

Օդային տագնապի մոտիկության 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-ի այլընտրանք, փոխարկվում է կոորդինատների
countryISO-2 երկրի կոդը, ճշտում է քաղաքը
radius_kmՈրոնման շառավիղը կմ-ով հենակետային կետի շուրջ (լռելյայն՝ 100, նվազագույնը՝ 10, առավելագույնը՝ 300)։ 1-5 մոտիկության գոտին մասշտաբավորվում է ըստ այս շառավղի՝ 5 = ամենամոտ հինգերորդ մասը, 1 = ամենահեռու հինգերորդ մասը։
langԼեզվի կոդը (լռելյայն en)

Պատասխանի դաշտերը — պատասխանի ծրարի data օբյեկտի ներսում։ []-ը ցույց է տալիս ցուցակ, ուստի data.items[].name-ը յուրաքանչյուր տարրի name դաշտն է։ Դաշտը լինում է null, բացակայում է կամ դատարկ ցուցակ է, երբ արժեք չունենք․ լցոնող արժեք երբեք չենք դնում։

ԴաշտՆկարագրություն
data.anchorWhat the radius was measured from: ppid, lat, lng, radius_km.
data.as_ofSnapshot time — DELIBERATELY not real-time. lag_min states the delay, re-randomised per request, and lag_note explains it.
data.alerts.countRegions under alert inside the radius, with region_codes (ISO 3166-2) and items — each with its distance from the anchor.
data.alerts.unresolvedAlerts that could not be placed on a region, with merged — how many overlapping ones were combined.
data.targets.countTracked objects inside the radius, with items — distance, bearing, speed and a 1-5 proximity band ONLY. Coordinates are never returned.
data.targets.by_typeCounts per object type, with tracked_total across the whole feed.
data.attributionSource labels you must display, with a note per source.
data.labelsLocalised 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"
🔑 Մուտք գործեք որպես ծրագրավորող՝ այս endpoint-ը ուղիղ Sandbox-ում փորձելու համար — օրական 50 անվճար թեստային կանչ։ Մուտք

Թարմացվել է