FAQ
Frequently asked questions
What the API does, where its data comes from, and what happens at the edges.
Getting started
How do I get an API key?
Sign up with your email and the free key is on screen a minute later, along with a dashboard for usage and webhook logs. Paid plans are bought by card on the dashboard's Plan page and apply to your account straight away, so the key you already have keeps working with the new quotas. Send the key in the
x-api-key header on every request.Where does the flight data come from?
From established aviation data sources, normalised into one schema so your code never sees the difference. Live records cover flights from a few days before today to a couple of days after it, with schedules, estimated and actual times, gates, terminals, baggage carousels, aircraft and codeshares.
Is there an SDK?
Yes, five official ones:
flightbyte on npm for Node.js and TypeScript, PyPI for Python, RubyGems for Ruby and pub.dev for Dart and Flutter, and github.com/FlightByte-dev/flightbyte-go for Go. Each covers the whole API, types every response and verifies webhook signatures in one call; all are open source under MIT. Any other language works too: the API is plain REST and JSON with an OpenAPI document.Flights & subscriptions
How far ahead can I subscribe?
Up to 90 days before departure. If the flight is not published upstream yet, the subscription is created as
pending, checked on a slow schedule from seven days out, and you receive subscription.activated the moment it appears, usually about two days before departure.The same flight number flies twice a day. Which one do I get?
The API refuses to guess. A lookup or subscription for an ambiguous number answers
400 with the legs it found; pass origin, destination or the leg's flightId to pick one.Can I look a flight up without subscribing?
Yes.
GET /v1/flights/{carrier}/{number}/{date} returns the full snapshot, and /timeline returns the airline's event history for that flight. Responses are cached for a period that depends on the flight's phase, so repeated lookups are cheap.Webhooks
How do I verify a webhook?
Every delivery carries a signature header with a timestamp and an HMAC-SHA256 of
${timestamp}.${rawBody} under your subscription secret. Compute it, compare in constant time, reject stale timestamps, and deduplicate on the event id, which stays the same across retries.What happens when my endpoint is down?
Deliveries are retried with exponential backoff, and every attempt is logged with its HTTP status and latency. After a run of failures the subscription is
suspended so we stop hammering you; resume it with one call, then read the delivery log to see what you missed.Something else? Ask the people who wrote the code.Contact →Telegram →Who is behind this →
Get started
Still have a question?
Ask the people who wrote the code. We answer by email and on Telegram.
A free key in a minute, no card. Paid plans are paid by card in the dashboard.