Map
Help
News
About
Upgrade
Contact
Dashboard
Register
Login
« Hide Menu Emergency Help
Configure
FLARM devices Oudie & SeeYou Navigator IGC Droid InReach ADSB XContest & XCTrack Syride Devices Satellite Trackers Mobile satellite tracking SSA Contests SoaringSpot Contests FFVL Tracking
Safety Tracking / Watchlist
Pilots Guide Admin Guide States reference
How To
Keyboard shortcuts Setup Alerts View track history Training Videos on YouTube Linking & Embedding PureTrack
For Developers
API Introduction API Authentication Insert API Traffic API Location Take-off & Landing API Feed API PureTrack Label Export
About PureTrack
PureTrack Compared Supported Trackers Buy a Tracker PureTrack on Facebook Training Videos on YouTube FAQ Logo assets Release Notes Terms & Conditions

Location Take-off and Landing API

Returns flights that took off from or landed at a PureTrack location, plus low-pass and touch-and-go events, during a specified date range.

  • An enabled API key with API access is required.
  • A PureTrack Pro user token is also required unless the API key has been approved for access without a Pro login.
  • See API Authentication for login and header instructions.
  • The endpoint returns up to 10,000 rows by default and is not paginated.

Endpoint

GET https://puretrack.io/api/locations/flights

Query parameters

ParameterRequiredDescription
locationYesPureTrack location ID or ICAO code. Digit-only values are treated as location IDs; other strings are looked up as ICAO codes.
start_dateYesStart of the reporting period. A date such as 2026-09-01 starts at midnight in the requested timezone. A valid date and time may also be supplied. e.g. 2026-09-01T04:00:00
end_dateYesEnd of the reporting period. A date such as 2026-09-30 includes that entire local calendar day. A valid date and time may also be supplied.
timezoneNoIANA timezone used to interpret the date range, for example Pacific/Auckland. Defaults to UTC.
take_offsNoBoolean controlling take-off rows. Defaults to true when none of the event filters are supplied.
landingsNoBoolean controlling landing rows. Defaults to true when none of the event filters are supplied.
low_passesNoBoolean controlling low-pass and touch-and-go rows. Defaults to true when none of the event filters are supplied.
reportNoLegacy filter retained for compatibility: both for take-offs and landings, start for take-offs only, or end for landings only. It does not include low passes. Prefer the three boolean event filters above.
orderbyNoField used to order results. Use start_ts or end_ts. Defaults to start_ts.
directionNoSort direction: ASC or DESC. Defaults to ASC.
limitNoMaximum number of rows to return. Defaults to 10000.

The date filter is applied to start_ts. For a low-pass or touch-and-go row, the start and end timestamp, coordinates, and location ID are identical, and type is low-pass. If any boolean event filter is supplied, omitted event filters are treated as false.

Example requests

Using a PureTrack location ID:

curl "https://puretrack.io/api/locations/flights?location=78969&start_date=2026-09-01&end_date=2026-09-30&take_offs=1&landings=1&low_passes=1&timezone=Pacific%2FAuckland" \ -H "Accept: application/json" \ -H "Authorization: Bearer your-access-token" \ -H "X-API-Key: your-application-api-key"

Using an ICAO code:

curl "https://puretrack.io/api/locations/flights?location=NZXX&start_date=2026-09-01&end_date=2026-09-30&take_offs=1&landings=1&low_passes=1&timezone=Pacific%2FAuckland" \ -H "Accept: application/json" \ -H "Authorization: Bearer your-access-token" \ -H "X-API-Key: your-application-api-key"

See API Authentication for details about obtaining the bearer token and using the API key.

Response

{ "location": { "id": 78969, "name": "Example Airfield", "icao": "NZXX" }, "data": [ { "key": "Y-ZK-ABC", "k": "ZK-ABC", "type": "flying", "start_ts": "2026-09-12 21:15:00", "end_ts": "2026-09-12 22:04:30", "time_diff": 2970, "start_lat": -37.0001, "start_long": 175.0001, "start_location_id": 78969, "end_lat": -37.5001, "end_long": 175.5001, "end_location_id": 45678, "aircraft_type_id": 1, "aircraft_type": "Glider", "manufacturer": "Example manufacturer", "model": "Example model", "transponder": "ABC123", "start_location": { "id": 78969, "name": "Example Airfield", "icao": "NZXX" }, "end_location": { "id": 45678, "name": "Destination Airfield", "icao": "NZYY" } } ], "time": 0.1234, "success": true, "http_code": 200 }

Response fields

  • location is the requested PureTrack location.
  • data contains the matching flights and low-pass/touch-and-go events.
  • key is the original PureTrack tracker key. For aircraft, k is simplified to the registration where available.
  • type is flying for take-offs and landings, or low-pass for low passes and touch-and-goes.
  • start_ts and end_ts are the event start and end timestamps.
  • time_diff is the flight duration in seconds.
  • start_location and end_location contain matched location details when available.
  • Aircraft metadata such as manufacturer, model, transponder, and aircraft_type is included when PureTrack can match the tracker key to an aircraft.

Errors

StatusMeaning
401The bearer token or application API key is missing or invalid.
403The API key requires Pro access and the authenticated user does not have a Pro subscription.
404No location exists with the requested ID or ICAO code.
422A required parameter is missing or invalid, including an invalid timezone or date range.

PureTrack.io