Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

33 planes are around Frankfurt Airport right now. Here’s how I know (in 20 lines of TypeScript)

Description and use

A 20‑line TypeScript CLI lists aircraft within 25 NM of Frankfurt Airport using the free adsb.lol API.

Problem

Determine which aircraft are currently within a 25‑NM radius of a given airport using free ADS‑B data.

Outcome

The script reports 33 aircraft within 25 NM of Frankfurt Airport, listing callsigns, altitudes, distances, and indicating military status. No aircraft were squawking 7700 worldwide.

Workflow

  • 1. Initialise a Node project and install @matmuenzel/adsblol-ts.
  • 2. Create a script that imports AdsbLol and helper functions.
  • 3. Define the target location (lat/lon) and radius (25 NM).
  • 4. Call adsb.aircraft.near() to fetch nearby aircraft.
  • 5. Filter out ground aircraft and sort by distance.
  • 6. Log the count and details of the top 10 aircraft.
  • 7. Optionally query adsb.aircraft.bySquawk('7700') to count worldwide emergency squawking aircraft.
  • 8. Run the script with npx tsx overhead.ts.

Evidence

I wrote a small, zero‑dependency TypeScript client for it: @matmuenzel/adsblol-ts. Let's build a tiny "what's flying around here?" CLI with it.

Source

Node 22+ is all you need. No API key required.

Source

✈️ 33 aircraft within 25 NM CFG4KC A319 -100 ft 2.6 km ...

Source

-100 ft isn’t a bug. alt_baro is barometric altitude relative to standard pressure (1013.25 hPa)...

Source

  • Record date: 2026-11-01T22:58:49.506Z