Use
Endpoint reference
Every v1 endpoint with its parameters, access level, example requests and a real example response. Generated from the same spec served at /openapi.json.
View this page as MarkdownAll paths are relative to https://flightqueue.com/api/v1. Every request needs an API key; see authentication. Every endpoint can also return the common errors MISSING_API_KEY, INVALID_API_KEY and RATE_LIMIT_EXCEEDED.
| Endpoint | Summary | Access |
|---|---|---|
GET /airports | List supported airports | Free with agent or developer key |
GET /airports/{iata}/delays | FAA delay status, ground stops, and disruptions | Free with agent or developer key |
GET /airports/{iata}/wait-times | Current security, check-in, and immigration wait estimates | Premium (paid plan or Pro/Enterprise API key) |
GET /airports/{iata}/predictions | Hourly wait time predictions | Premium; up to 24h (Pro) or 7 days (Enterprise) |
GET /airports/{iata}/historical | Historical wait time patterns | Premium |
GET /airports/{iata}/fast-track | Fast track and security lane offers for an airport | Any valid API key |
GET /airports/{iata}/typical-waits | Typical security wait for each hour of the day | Any valid API key |
GET /airports/{iata}/connection | Check if a layover is long enough | Any valid API key |
GET /airports/{iata}/gates | Gate walk times | Any valid API key |
POST /airports/bulk | Bulk wait times (Enterprise) | Enterprise only |
GET /delays | FAA delays and ground stops at major US airports | Any valid API key |
GET /flights/{flightNumber}/wifi | In-flight Wi-Fi and Starlink odds for a flight | Any valid API key |
GET /reports/security-wait-times | Monthly airport security wait report | Any valid API key |
POST /alerts | Create or update a wait-time alert | User-scoped key (MCP OAuth or developer key) |
FLIGHTQUEUE_API_KEY environment variable. Response bodies are real example payloads from the spec; values change with live data.Airports
Airport directory, wait times, typical waits, delays, predictions, history, fast track, gate walks and connections.
GET /airports
List supported airports
Paginated airport directory. Each row shows whether live wait times and FAA delays exist for the airport.
Access: Free with agent or developer key.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
country | query | string | No | Filter by ISO 3166-1 alpha-2 country code. |
limit | query | integer | No | Items per page, 1 to 200. (default 50, min 1, max 200) |
page | query | integer | No | Page number, starting at 1. (default 1, min 1) |
curl "https://flightqueue.com/api/v1/airports?country=US&limit=10" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/airports?country=US&limit=10", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/airports?country=US&limit=10",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airports": [
{
"iata": "JFK",
"icao": "KJFK",
"name": "John F. Kennedy International Airport",
"city": "New York",
"country": "US",
"countryName": "United States",
"hasWaitTimes": true,
"hasDelays": true
}
],
"total": 1,
"page": 1,
"limit": 50,
"totalPages": 1
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}GET /airports/{iata}/delays
FAA delay status, ground stops, and disruptions
Returns FAA ground stops, ground delay programs, arrival and departure delays, and weather impact. Returns status normal and an empty delays array when the FAA feed has no entry for the airport.
Access: Free with agent or developer key.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
iata | path | string | Yes | Three-letter IATA airport code. |
curl "https://flightqueue.com/api/v1/airports/JFK/delays" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/airports/JFK/delays", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/airports/JFK/delays",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airportCode": "JFK",
"status": "delayed",
"delays": {
"hasActiveDelays": true,
"severity": "medium",
"groundStop": false,
"groundDelayProgram": null,
"arrivalDelays": {
"min": 10,
"max": 45,
"trend": "increasing"
},
"departureDelays": null,
"closures": [],
"weatherImpact": "none",
"groundStopDetail": null,
"closureDetail": null,
"notices": []
},
"weather": "none",
"recentEvents": [],
"updatedAt": "2026-11-07T12:00:00.000Z"
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}GET /airports/{iata}/wait-times
Current security, check-in, and immigration wait estimates
Current security, check-in, and immigration wait estimates for one airport.
Access: Premium (paid plan or Pro/Enterprise API key).
Alias: GET /api/v1/airports/{iata} returns the same response.
Alias: GET /api/v1/airports/{iata} returns the same response.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
iata | path | string | Yes | Three-letter IATA airport code. |
curl "https://flightqueue.com/api/v1/airports/JFK/wait-times" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/airports/JFK/wait-times", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/airports/JFK/wait-times",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airportCode": "JFK",
"timestamp": "2026-11-07T12:00:00.000Z",
"security": {
"estimatedMinutes": 25,
"range": {
"min": 20,
"max": 30
},
"dataSource": "Official live feed",
"provenance": "live",
"coverageTier": "official_live",
"confidenceLevel": "high",
"reportedAt": "2026-11-07T11:55:00.000Z"
},
"checkIn": {
"estimatedMinutes": 15,
"range": {
"min": 10,
"max": 20
}
},
"immigration": {
"estimatedMinutes": 18,
"range": {
"min": 12,
"max": 24
},
"dataSource": "Enhanced prediction",
"provenance": "model",
"coverageTier": "enhanced",
"confidenceLevel": "low",
"reportedAt": "2026-11-07T11:50:00.000Z"
},
"confidence": 0.9
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
403 PREMIUM_REQUIRED: The key does not include the premium feature for this endpoint.404 NOT_FOUND: The airport is not in the FlightQueue dataset.
GET /airports/{iata}/predictions
Hourly wait time predictions
Hourly security wait forecasts. Pro keys receive 24 hours from the start time. Enterprise keys receive 168 hours. The example shows a Pro response.
Access: Premium; up to 24h (Pro) or 7 days (Enterprise).
| Name | In | Type | Required | Description |
|---|---|---|---|---|
iata | path | string | Yes | Three-letter IATA airport code. |
date | query | string | No | Start date, YYYY-MM-DD. Defaults to now. Pro returns 24 hours, Enterprise returns 168 hours. |
curl "https://flightqueue.com/api/v1/airports/JFK/predictions" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/airports/JFK/predictions", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/airports/JFK/predictions",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airportCode": "JFK",
"predictions": [
{
"hour": 0,
"waitMinutes": 20,
"confidence": 0.8
},
{
"hour": 1,
"waitMinutes": 24,
"confidence": 0.8
},
{
"hour": 2,
"waitMinutes": 28,
"confidence": 0.8
},
{
"hour": 3,
"waitMinutes": 32,
"confidence": 0.8
},
{
"hour": 4,
"waitMinutes": 36,
"confidence": 0.8
},
{
"hour": 5,
"waitMinutes": 40,
"confidence": 0.8
},
{
"hour": 6,
"waitMinutes": 20,
"confidence": 0.8
},
{
"hour": 7,
"waitMinutes": 24,
"confidence": 0.8
},
{
"hour": 8,
"waitMinutes": 28,
"confidence": 0.8
},
{
"hour": 9,
"waitMinutes": 32,
"confidence": 0.8
},
{
"hour": 10,
"waitMinutes": 36,
"confidence": 0.8
},
{
"hour": 11,
"waitMinutes": 40,
"confidence": 0.8
},
{
"hour": 12,
"waitMinutes": 20,
"confidence": 0.8
},
{
"hour": 13,
"waitMinutes": 24,
"confidence": 0.8
},
{
"hour": 14,
"waitMinutes": 28,
"confidence": 0.8
},
{
"hour": 15,
"waitMinutes": 32,
"confidence": 0.8
},
{
"hour": 16,
"waitMinutes": 36,
"confidence": 0.8
},
{
"hour": 17,
"waitMinutes": 40,
"confidence": 0.8
},
{
"hour": 18,
"waitMinutes": 20,
"confidence": 0.8
},
{
"hour": 19,
"waitMinutes": 24,
"confidence": 0.8
},
{
"hour": 20,
"waitMinutes": 28,
"confidence": 0.8
},
{
"hour": 21,
"waitMinutes": 32,
"confidence": 0.8
},
{
"hour": 22,
"waitMinutes": 36,
"confidence": 0.8
},
{
"hour": 23,
"waitMinutes": 40,
"confidence": 0.8
}
],
"bestTime": {
"hour": 0,
"waitMinutes": 20
},
"worstTime": {
"hour": 23,
"waitMinutes": 40
}
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
400 INVALID_DATE: The date parameter is not a valid YYYY-MM-DD date.403 PREMIUM_REQUIRED: The key does not include the premium feature for this endpoint.
GET /airports/{iata}/historical
Historical wait time patterns
Wait patterns by hour and day of week, built from the last 30 days of data on all plans. lookbackDays reports the plan label and does not change the window. The example shows a Pro response.
Access: Premium.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
iata | path | string | Yes | Three-letter IATA airport code. |
curl "https://flightqueue.com/api/v1/airports/JFK/historical" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/airports/JFK/historical", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/airports/JFK/historical",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airportCode": "JFK",
"lookbackDays": 7,
"patterns": {
"airportCode": "JFK",
"patterns": [
{
"airportCode": "JFK",
"dayOfWeek": 1,
"hourOfDay": 8,
"avgSecurityWait": 27,
"avgImmigrationWait": 19,
"sampleCount": 14,
"confidence": 0.7,
"lastUpdated": "2026-11-06T06:00:00.000Z"
}
],
"overallAvgSecurity": 22,
"overallAvgImmigration": 16,
"totalSamples": 320,
"peakHours": [
8,
17
],
"quietHours": [
3,
4
],
"lastUpdated": "2026-11-06T06:00:00.000Z"
}
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
403 PREMIUM_REQUIRED: The key does not include the premium feature for this endpoint.
GET /airports/{iata}/fast-track
Fast track and security lane offers for an airport
Paid and free fast-track options at the airport, with booking links and verification dates.
Access: Any valid API key.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
iata | path | string | Yes | Three-letter IATA airport code. |
curl "https://flightqueue.com/api/v1/airports/JFK/fast-track" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/airports/JFK/fast-track", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/airports/JFK/fast-track",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airportCode": "JFK",
"offers": [
{
"provider": "CLEAR",
"type": "membership",
"name": "CLEAR Plus",
"terminal": null,
"price": 189,
"currency": "USD",
"details": "Dedicated biometric lanes at participating checkpoints",
"bookingUrl": "https://example.com/clear",
"sourceUrl": "https://example.com/clear-source",
"isAffiliate": true,
"status": "active",
"lastVerifiedAt": "2026-11-05T09:00:00.000Z"
}
]
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
500 INTERNAL_ERROR: The offer list could not be loaded.
GET /airports/{iata}/typical-waits
Typical security wait for each hour of the day
Typical regular-lane and PreCheck security waits for each local hour, from FlightQueue readings. Shows the busiest and quietest hours and the typical wait for the current hour, so you can say if the queue now is busier or quieter than usual. Built from the last 28 days of live readings, the same data as the typical-wait card on airport pages. Hours with too few readings are left out.
Access: Any valid API key.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
iata | path | string | Yes | Three-letter IATA airport code. |
curl "https://flightqueue.com/api/v1/airports/JFK/typical-waits" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/airports/JFK/typical-waits", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/airports/JFK/typical-waits",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airportCode": "JFK",
"lookbackDays": 28,
"localHour": 7,
"typicalNowMinutes": 18,
"busiestHour": {
"hour": 14,
"minutes": 22
},
"quietestHour": {
"hour": 3,
"minutes": 5
},
"hours": [
{
"hour": 3,
"regularMinutes": 5,
"precheckMinutes": null,
"samples": 4
},
{
"hour": 7,
"regularMinutes": 18,
"precheckMinutes": null,
"samples": 40
},
{
"hour": 14,
"regularMinutes": 22,
"precheckMinutes": null,
"samples": 35
}
]
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
500 INTERNAL_ERROR: The hourly data could not be loaded.
GET /airports/{iata}/connection
Check if a layover is long enough
The connection checker from flightqueue.com/connection-checker. Adds the gate walk, the security wait, and for international arrivals the passport and EES waits, then compares the total with your layover. A step with no data has minutes null and complete is false, so totalMinutes is then a minimum. This is an estimate, not an official minimum connection time.
Access: Any valid API key.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
iata | path | string | Yes | Three-letter IATA airport code. |
layover | query | integer | Yes | Layover in minutes, 1 to 1440. (min 1, max 1440) |
international | query | boolean | No | True when you arrive on an international flight and connect onward (passport, customs and EES apply). (default false) |
arrival_terminal | query | string | No | Terminal you arrive at, such as 4 or T5. |
departure_terminal | query | string | No | Terminal you leave from. |
hour | query | integer | No | Local hour of the connection, 0 to 23. Default: now at the airport. (max 23) |
curl "https://flightqueue.com/api/v1/airports/JFK/connection?layover=90&international=true" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/airports/JFK/connection?layover=90&international=true", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/airports/JFK/connection?layover=90&international=true",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airportCode": "JFK",
"localHour": 14,
"internationalToDomestic": true,
"isEesAirport": false,
"arrivalTerminal": "4",
"departureTerminal": "4",
"layoverMinutes": 90,
"verdict": "enough",
"headline": "Enough time (estimate)",
"totalMinutes": 65,
"marginMinutes": 25,
"complete": true,
"components": [
{
"key": "walk",
"label": "Terminal and gate walk",
"minutes": 8,
"basis": "terminal"
},
{
"key": "security",
"label": "Security wait",
"minutes": 22,
"basis": "historical"
},
{
"key": "immigration",
"label": "Passport and customs wait",
"minutes": 35,
"basis": "historical"
}
],
"notes": [],
"disclaimer": "Estimate from FlightQueue walk, security, passport and EES data. It is not an official minimum connection time."
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
400 INVALID_PARAMETER: layover, international or hour is missing or not valid.
GET /airports/{iata}/gates
Gate walk times
The longest walk in each terminal, and the walk between two gates when you send from and to. Walks are estimates from gate positions, except where the airport publishes its own walk times.
Access: Any valid API key.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
iata | path | string | Yes | Three-letter IATA airport code. |
from | query | string | No | Gate to walk from, such as B12. Send with to. |
to | query | string | No | Gate to walk to. Send with from. |
curl "https://flightqueue.com/api/v1/airports/JFK/gates" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/airports/JFK/gates", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/airports/JFK/gates",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airportCode": "JFK",
"gateCount": 3,
"terminals": [
{
"terminalCode": "4",
"gateCount": 2,
"longestWalk": {
"fromGate": "B20",
"toGate": "B42",
"metres": 1100,
"minMinutes": 13,
"maxMinutes": 16,
"basis": "estimated",
"connectionType": "walkway"
}
}
],
"unplacedGates": 1,
"walk": {
"fromGate": "B20",
"toGate": "B42",
"metres": 1100,
"minMinutes": 13,
"maxMinutes": 16,
"basis": "estimated",
"connectionType": "walkway"
},
"attribution": "Gate positions © OpenStreetMap contributors (ODbL)"
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
400 INVALID_PARAMETER: Only one of from and to was sent.404 NOT_FOUND: The from or to gate is not known at this airport.500 INTERNAL_ERROR: The gate list could not be loaded.
POST /airports/bulk
Bulk wait times (Enterprise)
Wait estimates for up to 50 airports in one request. Enterprise keys only.
Access: Enterprise only.
{
"codes": [
"JFK",
"XX1"
]
}curl -X POST "https://flightqueue.com/api/v1/airports/bulk" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"codes":["JFK","XX1"]}'const response = await fetch("https://flightqueue.com/api/v1/airports/bulk", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"codes":["JFK","XX1"]}),
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.post(
"https://flightqueue.com/api/v1/airports/bulk",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
json={"codes":["JFK","XX1"]},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"airports": [
{
"airportCode": "JFK",
"security": {
"estimatedMinutes": 20,
"range": {
"min": 15,
"max": 25
}
},
"checkIn": {
"estimatedMinutes": 15,
"range": {
"min": 10,
"max": 20
}
},
"immigration": {
"estimatedMinutes": 18,
"range": {
"min": 12,
"max": 24
}
},
"confidence": 0.8
},
{
"airportCode": "XX1",
"error": "Invalid IATA code"
}
],
"total": 2,
"timestamp": "2026-11-07T12:00:00.000Z"
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
400 INVALID_BODY: The body is not JSON or the codes array is missing or empty.400 TOO_MANY_AIRPORTS: More than 50 codes were sent.403 ENTERPRISE_REQUIRED: The key is not an Enterprise key.
Delays
FAA delays and ground stops across the US.
GET /delays
FAA delays and ground stops at major US airports
Active FAA ground stops, ground delay programs and arrival or departure delays across the 50 busiest US airports. Airports with no active delay are left out of airports.
Access: Any valid API key.
curl "https://flightqueue.com/api/v1/delays" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/delays", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/delays",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"checkedAirports": 2,
"delayedAirports": 1,
"groundStops": [],
"airports": [
{
"airportCode": "JFK",
"name": "John F. Kennedy International Airport",
"delays": {
"hasActiveDelays": true,
"severity": "medium",
"groundStop": false,
"groundDelayProgram": null,
"arrivalDelays": {
"min": 10,
"max": 45,
"trend": "increasing"
},
"departureDelays": null,
"closures": [],
"weatherImpact": "none",
"groundStopDetail": null,
"closureDetail": null,
"notices": []
}
}
],
"recentEvents": [],
"updatedAt": "2026-11-07T12:00:00.000Z"
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Flights
Facts about one flight, such as in-flight Wi-Fi.
GET /flights/{flightNumber}/wifi
In-flight Wi-Fi and Starlink odds for a flight
The Wi-Fi system the airline flies on this flight and the chance of Starlink, from SeatWifi fleet data. This is a prediction from fleet data, not a live reading, so pass on starlinkProbability and confidenceLevel. hasData is false when SeatWifi does not know the flight.
Access: Any valid API key.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
flightNumber | path | string | Yes | Flight number, such as UA1, BA117 or DL 2045. Case and spaces do not matter. |
curl "https://flightqueue.com/api/v1/flights/BA117/wifi" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/flights/BA117/wifi", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/flights/BA117/wifi",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"flightNumber": "UA1",
"airline": "United Airlines",
"airlineCode": "UA",
"aircraftType": "Boeing 787-10",
"provider": "starlink",
"answer": "UA1 most likely has Starlink Wi-Fi.",
"verdict": "mostly_starlink",
"starlinkProbability": 0.82,
"confidenceLevel": "high",
"observedDays": 25,
"windowDays": 30,
"lastObserved": "2026-11-06",
"starlinkStatus": "rolling_out",
"fleetPercentage": 41,
"url": "https://seatwifi.com/flights/ua1",
"hasData": true,
"source": "SeatWifi"
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
400 INVALID_PARAMETER: The flight number is not valid.503 UPSTREAM_UNAVAILABLE: SeatWifi could not be reached. Try again later.
Reports
Monthly reports built from FlightQueue readings.
GET /reports/security-wait-times
Monthly airport security wait report
Average wait, longest wait, share of waits of 30 minutes or more, and the busiest and quietest local hour per airport for one month, from FlightQueue live readings. Airports with too few readings are left out. Same data as flightqueue.com/reports/security-wait-times.
Access: Any valid API key.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
month | query | string | No | Finished month in YYYY-MM format. Default: last month. |
curl "https://flightqueue.com/api/v1/reports/security-wait-times" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"const response = await fetch("https://flightqueue.com/api/v1/reports/security-wait-times", {
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
},
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.get(
"https://flightqueue.com/api/v1/reports/security-wait-times",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"month": "2026-10",
"monthLabel": "October 2026",
"generatedAt": "2026-11-01T04:00:00.000Z",
"totalReadings": 8640,
"rows": [
{
"iata": "JFK",
"name": "John F. Kennedy International Airport",
"city": "New York",
"countryCode": "US",
"urlSlug": "new-york-jfk",
"readings": 8640,
"avgWait": 19,
"maxWait": 64,
"pctOver30": 12,
"busiestHour": 16,
"busiestHourAvg": 31,
"quietestHour": 4,
"quietestHourAvg": 6
}
],
"csvUrl": "https://flightqueue.com/reports/security-wait-times.csv?month=2026-10"
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
400 INVALID_DATE: month is not a finished month in YYYY-MM format.404 NOT_FOUND: No report exists for the month yet.500 INTERNAL_ERROR: The report could not be loaded.
Alerts
Wait-time alerts for the key owner.
POST /alerts
Create or update a wait-time alert
Creates an alert, or updates the threshold if the key owner already has one for the airport. Requires a user-scoped key. The airport must have a live wait-time feed. Thresholds are 1 to 240 minutes. Each user can hold up to 20 alerts.
Access: User-scoped key (MCP OAuth or developer key).
{
"airportCode": "JFK",
"thresholdMinutes": 30,
"direction": "above"
}curl -X POST "https://flightqueue.com/api/v1/alerts" \
-H "Authorization: Bearer $FLIGHTQUEUE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"airportCode":"JFK","thresholdMinutes":30,"direction":"above"}'const response = await fetch("https://flightqueue.com/api/v1/alerts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.FLIGHTQUEUE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"airportCode":"JFK","thresholdMinutes":30,"direction":"above"}),
});
if (!response.ok) throw new Error(`Flight Queue API ${response.status}`);
const { data } = await response.json();
console.log(data);import os
import requests
response = requests.post(
"https://flightqueue.com/api/v1/alerts",
headers={"Authorization": f"Bearer {os.environ['FLIGHTQUEUE_API_KEY']}"},
json={"airportCode":"JFK","thresholdMinutes":30,"direction":"above"},
timeout=10,
)
response.raise_for_status()
print(response.json()["data"]){
"success": true,
"data": {
"alert": {
"id": "101",
"airportCode": "JFK",
"thresholdMinutes": 30,
"direction": "above",
"createdAt": "2026-11-07T11:00:00.000Z"
}
},
"meta": {
"requestId": "3f8c2b1e-6d4a-4f7b-9a1e-2c5d8e7f0a12",
"timestamp": "2026-11-07T12:00:00.000Z"
}
}Errors:
400 INVALID_BODY: The body is invalid, the airport has no live feed, or the user has too many alerts.500 INTERNAL_ERROR: The alert could not be saved.