/api/stats

Receive data and status of your ADS-B receiver.

API URL

https://api.ezz456ch.xyz/api/stats
⚠️

This Endpoint can only be used when the External IP of the device making the API request matches the External IP of the ADS-B receiver.

⚠️

This endpoint URL will soon be changed to https://api.ezz456ch.xyz/api/v0/stats (opens in a new tab). Note that there may be minor changes in the response structure or content.

The API update has been postponed due to a broken keyboard... Just kidding! Actually, things have been quite busy lately, and the update might involve more than just the Endpoint URL other parts might be affected as well.

Example

cURL
curl https://api.ezz456ch.xyz/api/stats | json_pp

Example Response

{
  "clients": {
    "beast": [
      {
        "conn_time_s": 93503,
        "ip": "00.000.00.00",
        "kbps": 1.56,
        "msg_s": 8.998,
        "pos": 191136,
        "pos_s": 2.044,
        "uuid": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "mlat": [
      {
        "bad_sync_timeout": 0,
        "connection": "ezz456CH-SSK_646 v3 dump1090 0.4.2 tcp zlib2",
        "outlier_percent": 0,
        "peer_count": 0,
        "privacy": false,
        "user": "ezz456CH-SSK_646"
      }
    ]
  },
  "closest_airport": [
    {
      "icao": "VTUU",
      "iata": "UBP",
      "name": "Ubon Ratchathani Airport",
      "country": "TH",
      "tz": "Asia/Bangkok"
    }
  ]
}