apyhub
Back
▣ VERIFICATION KIT

Live Aircraft Tracking API

What it does

The Live Aircraft Tracking API shows planes in the air right now. Set mode to airport (planes near airport codes), area (planes near a latitude and longitude) or flight (one plane by callsign or registration). You get back a count and an items list, one item per plane.

In airport mode, radiusNm sets how far to search in nautical miles. You can filter with directions, set maxAltitudeFt, include taxiing or parked aircraft with includeOnGround, and cap rows with maxPerAirport. In flight mode, flights accepts callsigns, registrations, or ICAO hex codes, up to 100.

Teams use the Live Flights API to show airport traffic boards, track approach traffic, and build live maps for nearby aircraft. They also use includeRoutes to add route and airline data, while maxRouteLookups limits new route checks per run.

Area mode uses latitude and longitude for one place. Airport and area searches can use Timezones Dictionary API or Countries Dictionary API in nearby steps.

POST
Live Flights API - Planes Near Any Airport, Routes, ETA
https://api.eu.apyhub.com/martin10291/live-aircraft-tracking

QUICKSTART

GUIDE

Quickstart

Fetch live flights near an airport, using the default airport-based mode with a small radius.

curl -X POST "https://api.eu.apyhub.com/martin10291/live-aircraft-tracking" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"airport","airports":["JFK"],"radiusNm":30}'

What you'll get back

Returns a JSON object with a count integer and an items array of objects.

{
  "count": 1,
  "items": [
    {
      "aircraftType": "A321",
      "airport": {
        "city": "New York",
        "country": "US",
        "iata": "JFK",
        "icao": "KJFK",
        "name": "John F. Kennedy International Airport"
      },
      "altitudeFt": 0,
      "attribution": "Positions: ADSB.lol (ODbL 1.0). Airports: OurAirports (public domain). Airlines: OpenFlights (ODbL 1.0).",
      "callsign": ".N949JT",
      "category": "A3",
      "checkedAt": "2026-11-25T09:58:23Z",
      "direction": "on ground",
      "distanceNm": 0.3,
      "emergency": null,
      "etaMinutes": null,
      "groundSpeedKt": 0,
      "hex": "ad2f71",
      "latitude": 40.642742,
      "longitude": -73.774246,
      "military": false,
      "onGround": true,
      "positionAgeSeconds": 4.969,
      "positionAt": "2026-11-25T09:58:18Z",
      "query": "JFK",
      "registration": "N949JT",
      "routeFound": null,
      "squawk": "2000",
      "trackDeg": null,
      "verticalRateFpm": null
    }
  ]
}
TRY ITLIVE · 100 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body
airport = live aircraft within the radius of each airport, with arrival/departure/overflight and ETA; area = live aircraft around any latitude/longitude; flight = find specific aircraft by callsign, registration or ICAO hex code.
flights
Flight mode: ATC callsigns (BAW123, THY3UG), registrations (N123AB, TC-JVK) or ICAO 24-bit hex codes (4baacb). Up to 100.
airports
Airport mode: IATA (JFK, LHR, SOF) or ICAO (KJFK, EGLL, LBSF) codes, any country, up to 50. Empty = the example airports JFK, LHR and FRA.

About this endpoint

What it does

Returns live aircraft results for one of three modes: near airports, around a latitude/longitude point, or for specific aircraft identifiers. The response is a JSON object with a count integer and an items array of objects.

Request Body

ParameterTypeMandatoryDescription
modeENUMYesOne of: airport, area, flight. airport = live aircraft within the radius of each airport, with arrival/departure/overflight and ETA; area = live aircraft around any latitude/longitude; flight = find specific aircraft by callsign, registration or ICAO hex code.
flightsString ArrayNoFlight mode only. ATC callsigns, registrations, or ICAO 24-bit hex codes. Up to 100.
airportsString ArrayNoAirport mode only. IATA or ICAO airport codes. Any country, up to 50. Empty = the example airports JFK, LHR and FRA.
latitudeStringNoArea mode only. Center latitude in decimal degrees, e.g. 50.03.
radiusNmIntegerNoAirport and area modes. Search radius in nautical miles, from 1 to 250. Default is not specified in the schema.
longitudeStringNoArea mode only. Center longitude in decimal degrees, e.g. 8.57.
directionsString ArrayNoAirport mode filter. Allowed values: arrival, departure, overflight, likely arrival, likely departure, on ground, unknown. Empty = all aircraft.
includeRoutesBooleanNoLook up each callsign's route and airline and mark the flight as arrival/departure/overflight. Off returns positions only.
maxAltitudeFtIntegerNoOptional. Skip airborne aircraft above this altitude. Empty = no limit.
maxPerAirportIntegerNoUpper limit of rows per airport or point, from 1 to 1000. Rows are sorted with arrivals by ETA first, then departures, then the rest by distance.
includeOnGroundBooleanNoInclude aircraft that are taxiing or parked at the airport.
maxRouteLookupsIntegerNoUpper limit of new callsign route lookups per run, from 0 to 1000. Routes are cached for 12 hours.

Response

Returns a JSON object with a count integer field and an items array field of objects. count is the number of results returned, and items contains the result entries.

AttributeTypeDescription
countIntegerNumber of results returned.
itemsObject ArrayList of results, one object per aircraft (or one status row when nothing is found).
items[].aircraftTypeStringICAO aircraft type code, e.g. A321, B77W.
items[].airportObjectAirport the result was found near (airport mode). null in area and flight modes.
items[].airport.cityStringAirport city, e.g. New York.
items[].airport.countryStringAirport country (ISO 2-letter code), e.g. US.
items[].airport.iataStringAirport IATA code, e.g. JFK.
items[].airport.icaoStringAirport ICAO code, e.g. KJFK.
items[].airport.nameStringFull airport name.
items[].altitudeFtIntegerBarometric altitude in feet. 0 or a small negative value when on the ground.
items[].attributionStringData sources and licences for this row.
items[].callsignStringFlight callsign broadcast by the aircraft, e.g. BAW117.
items[].categoryStringADS-B emitter category, e.g. A3 (large aircraft).
items[].checkedAtStringTime the request was processed (ISO 8601, UTC).
items[].directionStringMovement relative to the airport: likely arrival, likely departure, overflight, on ground or unknown.
items[].distanceNmNumberDistance from the airport or search point in nautical miles.
items[].emergencyStringEmergency status if the aircraft is broadcasting one. null if none.
items[].etaMinutesNumberEstimated minutes to the airport, based on distance and ground speed. null when on the ground or not approaching.
items[].groundSpeedKtNumberGround speed in knots.
items[].hexStringAircraft's unique ICAO 24-bit transponder address (hex).
items[].latitudeNumberAircraft latitude in decimal degrees.
items[].longitudeNumberAircraft longitude in decimal degrees.
items[].militaryBooleantrue if the aircraft is flagged as military.
items[].onGroundBooleantrue if the aircraft is on the ground.
items[].positionAgeSecondsNumberHow many seconds old the position is.
items[].positionAtStringTime of the last position report (ISO 8601, UTC).
items[].queryStringThe airport code, point or flight ID from the request that produced this row.
items[].registrationStringAircraft registration (tail number), e.g. N949JT.
items[].routeFoundBooleanNot used. Always null (route data is not offered).
items[].squawkString4-digit transponder code, e.g. 2000.
items[].trackDegNumberDirection of travel in degrees (0–359). null when not moving.
items[].verticalRateFpmNumberClimb (+) or descent (−) rate in feet per minute. null when not available.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.