Skip to content

mayday

The skywatch mayday subcommand queries live ADS-B state vectors for aircraft broadcasting emergency squawk codes.

CommandDescriptionExample
nearAircraft squawking 7500/7600/7700 within a radiusskywatch mayday near 40.875 -74.282 --radius 100

Find aircraft squawking an emergency code near a coordinate:

Terminal window
skywatch mayday near 40.875 -74.282 --radius 100

Arguments:

  • LAT — latitude in decimal degrees
  • LON — longitude in decimal degrees
  • --radius N — search radius in NM (default: 100)
CodeMeaning
7500Hijack
7600Loss of communications
7700General emergency

Returns a list of aircraft state vectors matching any of the three emergency codes. Each entry includes callsign, ICAO24 hex, position, altitude, ground speed, and squawk code.

Terminal window
# JSON output
skywatch mayday near 40.875 -74.282 --radius 100 --format json
# Text output
skywatch mayday near 40.875 -74.282 --radius 100 --format text

When no emergencies are detected, the command outputs No emergencies within Nnm of LAT, LON (text) or [] (JSON).