GnistAI GnistAI
Log in

AviationStack (Flight Status)

Live flight tracking — departures, arrivals, delays, and airport status.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Transport

Data source: AviationStack, OpenSky Network

REST Bridge Endpoint https://context.gnist.ai/rest/aviationstack/
Authentication

All 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_status

Get 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.

ParameterTypeRequiredDescription
flight_iatastringrequiredIATA flight number, e.g. "BA123" or "SK451".
dateanyoptionalDate in YYYY-MM-DD format. Defaults to today's flights.
Request Body
{
  "flight_iata": "123456789"
}
search_flights

Search 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.

ParameterTypeRequiredDescription
originstringrequiredDeparture airport IATA code, e.g. "OSL" (Oslo) or "LHR" (London Heathrow).
destinationstringrequiredArrival airport IATA code, e.g. "JFK" (New York).
dateanyoptionalDate in YYYY-MM-DD format. Defaults to today's flights.
Request Body
{
  "origin": "example",
  "destination": "example"
}
get_airport_departures

Get 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.

ParameterTypeRequiredDescription
airport_iatastringrequiredAirport IATA code, e.g. "OSL" (Oslo Gardermoen) or "AMS" (Amsterdam Schiphol).
window_hoursintegeroptionalHours ahead to include (1–12, default 2). (default: 2)
Request Body
{
  "airport_iata": "example"
}
get_aircraft_position

Get 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).

ParameterTypeRequiredDescription
icao24stringrequired6-character hex transponder address, e.g. "400f86".
Request Body
{
  "icao24": "example"
}
report_feedback

Report 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'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
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"}'
Python
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())

Related Toolkits (Transport)

Resources