← Watch the broadcast About Ghostflights

Ghostflights feed

The flights on Ghostflights as data. Departed airlines fly their real 1985 schedules and this is where they are right now.

Not real traffic

In the air now

Loading…
FlightTypeFromToFeetKnotsPhase

Use it

It runs in the page with no server. Two files hold everything: feed.js, the schedule engine, and feed-data.js, the schedules. The flights come from the clock, so every copy agrees.

<script src="feed-data.js"></script>
<script src="feed.js"></script>
<script>
  const flights = Ghostflights.feed();          // right now
  const later = Ghostflights.feed(Date.now() + 3600e3);  // in an hour
</script>

Or in Node:

require('./feed-data.js');
require('./feed.js');
console.log(globalThis.Ghostflights.feed());

A record looks like this one, live:



Where it comes from

Each flight runs on the weekday it flew in 1985 for today's date. Positions follow the great circle between the two airports. Altitude and speed are estimates from the distance and the scheduled time.