Skip to main content

API and streaming

Everything in the apps comes from the same public API at https://api.airframes.io, and you can use it too. The full guide is in the API docs; this page is the short version.

REST API​

The API covers flights (with events, positions and route plans), messages, aircraft, airlines, airports, fixes and airways, stations and their stats, leaderboards, ships, radiosondes (including weather profiles), space and ATC frequencies. Endpoints are documented under /v1 in the API reference.

You need an API key: create one in your settings and send it as the X-Api-Key header. See Authentication for limits, and Pricing for what each plan includes. Feeders who keep feeding get API access for free.

Live streaming​

Messages can be streamed as they arrive, filtered to what you care about (stations, aircraft, flights, airlines, labels, message types, regions):

  • WebSocket (Socket.IO at wss://ws.airframes.io) on paid plans and Feeder Pro
  • MQTT on Business and Enterprise plans
  • the whole network firehose on Enterprise

Your own stations are always free. On every plan, including Free, you can stream your own stations' messages over WebSocket or MQTT, and it never counts against your plan. See Streaming subscriptions and Realtime.

Your station's raw data​

Feeding with xng? Its dashboard and local APIs give you everything your station decodes, without going through Airframes at all. See xng dashboard and APIs. Desktop's Receiver page shows the output of any decoder on your network.

Licensing and attribution​

Data you get from Airframes comes with terms: see Data licensing and attribution. Radiosonde data from SondeHub is CC BY-SA 2.0 and must credit SondeHub.

Feeding is a different door​

This page is about getting data out. To send data in (UDP, TCP, HTTP and the QUIC feed gateway), see the Ingest reference.