Data source: AviationStack, OpenSky Network
https://context.gnist.ai/rest/aviationstack/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (5)
get_flight_statusGet the current status of a flight by IATA flight number.
Args:
flight_iata: IATA flight number, e.g. "BA123" or "SK451".
date: Date in YYYY-MM-DD format. Defaults to today's flights.
Returns:
List of matching flights with status, gate, delay, and times.
Requires AVIATIONSTACK_API_KEY to be configured.
| Parameter | Type | Required | Description |
|---|---|---|---|
flight_iata | string | required | IATA flight number, e.g. "BA123" or "SK451". |
date | any | optional | Date in YYYY-MM-DD format. Defaults to today's flights. |
{
"flight_iata": "123456789"
}search_flightsSearch scheduled flights between two airports.
Args:
origin: Departure airport IATA code, e.g. "OSL" (Oslo) or "LHR" (London Heathrow).
destination: Arrival airport IATA code, e.g. "JFK" (New York).
date: Date in YYYY-MM-DD format. Defaults to today's flights.
Returns:
List of scheduled flights with flight numbers, times, and status.
Requires AVIATIONSTACK_API_KEY to be configured.
| Parameter | Type | Required | Description |
|---|---|---|---|
origin | string | required | Departure airport IATA code, e.g. "OSL" (Oslo) or "LHR" (London Heathrow). |
destination | string | required | Arrival airport IATA code, e.g. "JFK" (New York). |
date | any | optional | Date in YYYY-MM-DD format. Defaults to today's flights. |
{
"origin": "example",
"destination": "example"
}get_airport_departuresGet the live departure board for an airport.
Args:
airport_iata: Airport IATA code, e.g. "OSL" (Oslo Gardermoen) or "AMS" (Amsterdam Schiphol).
window_hours: Hours ahead to include (1–12, default 2).
Returns:
List of upcoming departures with flight, destination, times, gate, and delay.
Requires AVIATIONSTACK_API_KEY to be configured.
| Parameter | Type | Required | Description |
|---|---|---|---|
airport_iata | string | required | Airport IATA code, e.g. "OSL" (Oslo Gardermoen) or "AMS" (Amsterdam Schiphol). |
window_hours | integer | optional | Hours ahead to include (1–12, default 2). (default: 2) |
{
"airport_iata": "example"
}get_aircraft_positionGet the live ADS-B position of an aircraft by ICAO 24-bit transponder address.
The ICAO24 address is a 6-character hexadecimal string unique to each aircraft
(e.g. "400f86" for a British Airways 777). It can be found on sites like
Flightradar24 or OpenSky Explorer.
Args:
icao24: 6-character hex transponder address, e.g. "400f86".
Returns:
Live position with latitude, longitude, altitude, speed, and heading.
Returns not_found: true if the aircraft is not currently transmitting.
Uses OpenSky Network (free, no API key required).
| Parameter | Type | Required | Description |
|---|---|---|---|
icao24 | string | required | 6-character hex transponder address, e.g. "400f86". |
{
"icao24": "example"
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"feedback": "example"
}Quick Start
curl -X POST "https://context.gnist.ai/rest/aviationstack/get_flight_status" \
-H "Content-Type: application/json" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"flight_iata": "example"}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/rest/aviationstack/get_flight_status",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
json={
"flight_iata": "example"
},
)
print(resp.json())