Plane Finder Flight History API Documentation Read the legs of a flight number (LH400). One request returns every known leg of the flight, up to about 1000, newest first. Each leg has the flight_key, callsign, registration, aircraft type, ICAO hex code, origin and destination (IATA), and first_seen: the time the tracker first saw the aircraft, in UTC and in local time at the origin airport, with the IANA time zone. First seen is usually on the stand, minutes to about 40 minutes before take-off. It is not a scheduled or actual departure time. Read the exact take-off and landing time from Flight Track. Filter with date (one day) or date_from and date_to (a range). The date filter uses the first-seen time. A single date matches the UTC day or the local day at the origin airport: date_match says which one (utc, local or both). A range uses the local day. If the airport has no known time zone, the local fields are null and the UTC day is used. Use per_page (up to 1000) and page to read the list in parts. The coverage block says how far back the data reaches: oldest_leg_date, newest_leg_date, leg_count, and truncated (true when the list is cut at about 1000 legs, so older legs exist but are not available). A busy daily flight reaches back one to two years, a rare flight reaches back further. The data does not cover all of 2026 for every flight: read coverage first. A date before the oldest leg answers 200 with an empty list and error.code not_covered. A date inside the span without a leg answers 200 with an empty list. A leg first seen late in the evening can take off on the next day. Legs first seen less than 20 hours ago are left out. Send a flight number (LH400 or DLH400), not a registration. A flight that is not known answers 404. An empty answer, a date that is not covered and every failed request cost no credit. Cost: 15 credits per successful request with legs. Scrappa is an independent service and is not affiliated with Plane Finder.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
5 optional filters available.
string
Required
Flight number, e.g. LH400 or DLH400. A registration is not accepted.
example
string
Optional
One day, YYYY-MM-DD. Matches the UTC day or the local day at the origin airport of the first-seen time. Not together with date_from.
2026-06-15
string
Optional
First day of a range, YYYY-MM-DD. Matches the local day at the origin airport of the first-seen time. Use with date_to.
2026-06-15
string
Optional
Last day of a range, YYYY-MM-DD.
2026-06-15
integer
Optional
Page number, default 1.
1
integer
Optional
Legs per page, 1 to 1000, default 100.
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"legs": [
{
"adshex": "3c4a8b",
"origin": "FRA",
"callsign": "DLH400",
"timezone": "Europe/Berlin",
"date_match": "both",
"flight_key": "5-25480183",
"destination": "JFK",
"registration": "D-ABTK",
"aircraft_type": "B744",
"flight_number": "LH400",
"first_seen_utc": "2025-07-10T09:15:00Z",
"timezone_known": true,
"first_seen_local": "2025-07-10T11:15:00+02:00",
"first_seen_utc_date": "2025-07-10",
"first_seen_local_date": "2025-07-10",
"first_seen_local_time": "11:15"
}
],
"query": {
"date": "2025-07-10",
"date_to": null,
"date_from": null
},
"flight": "LH400",
"coverage": {
"leg_count": 993,
"truncated": true,
"newest_leg_date": "2026-11-13",
"oldest_leg_date": "2024-03-20",
"requested_in_window": true
},
"pagination": {
"page": 1,
"total": 1,
"has_more": false,
"per_page": 100,
"total_pages": 1
}
},
"meta": {
"cached": false,
"source": "planefinder",
"credits": 15,
"billable": true,
"endpoint_family": "flight_history"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A query parameter is missing or invalid. This response is not billable.
{
"errors": {
"flight": [
"A flight number is required, e.g. LH400."
]
},
"message": "The request validation failed"
}Not Found
The flight number is not known. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "flight_history"
},
"error": {
"code": "NOT_FOUND",
"message": "Plane Finder has no data for this flight."
},
"success": false
}Bad Gateway
Plane Finder answered in a form this API does not read. This response is not billable. Retry later.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "flight_history"
},
"error": {
"code": "PARSER_DRIFT",
"message": "The Plane Finder data is temporarily unavailable. Please retry."
},
"success": false
}Service Unavailable
Plane Finder could not be reached. This response is not billable. Retry later.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "flight_history"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The Plane Finder data is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.