Skip to content
Scrappa Get API key
RadarBox API 1-13 credits / request

RadarBox Flight API Documentation

GET https://scrappa.co/api/radarbox/flight

RadarBox Flight API Documentation One flight leg from AirNav RadarBox. Send a fid (the id of a leg, found in flight-history answers) or a flight number with a UTC departure date. A fid works at any age: legs back to 2020-12-02 were read. A flight number with a date works inside the 7 day window; older dates answer no flight. With include_track the answer adds the track points of the leg (time, position, altitude, heading, speed, vertical rate, squawk, source). If you send a flight number or date with a fid and they do not belong to that leg, the answer has no flight and names the real fid in meta. An alias fid answers with the canonical leg. Empty answers and mismatches are free. Cost: 1 credit by fid, 4 by flight number and date, plus 9 when a track is returned. RadarBox shows 7 days back and 2 days ahead without a login. A date outside this window answers 200 with an empty list, depth_limit_days 7 and a note, and costs nothing. An older leg is reachable only by its fid (measured back to 2020-12-02). For flight number and date lookups far back, use /api/flightera/flight.

RadarBox Flight API Documentation 1-13 credits / request

Endpoint

Request preview
GET
https://scrappa.co/api/radarbox/flight
Auth header
x-api-key
Cost
1-13 credits / request
Response preview
200 OK
{
    "data": {
        "flight": {
            "fid": 3017263384,
            "date": "2026-11-13",
            "track": {
                "count": 3,
                "points": [
                    {
                        "time": "2026-11-13T16:36:58Z",
                        "source": "ADSB",
                        "squawk": null,
                        "heading": 340,
                        "latitude": 50.04694,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

4 optional filters available.

fid integer Optional

RadarBox flight id, e.g. 3017263384. Send a fid, or a flight number with a date.

Example value 10
flight_number string Optional

Flight number, e.g. LH400. With a fid it checks that the leg belongs to this flight.

Example value example
date string Optional

UTC departure day, YYYY-MM-DD. Required with a flight number and no fid.

Example value 2026-06-15
include_track boolean Optional

true adds the track points of the leg. Adds 9 credits when points exist.

Example value true

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "flight": {
            "fid": 3017263384,
            "date": "2026-11-13",
            "track": {
                "count": 3,
                "points": [
                    {
                        "time": "2026-11-13T16:36:58Z",
                        "source": "ADSB",
                        "squawk": null,
                        "heading": 340,
                        "latitude": 50.04694,
                        "longitude": 8.56036,
                        "altitude_ft": null,
                        "ground_speed_kt": null,
                        "vertical_rate_fpm": 0
                    },
                    {
                        "time": "2026-11-13T17:05:11Z",
                        "source": "ADSB",
                        "squawk": "2505",
                        "heading": 340,
                        "latitude": 50.29848,
                        "longitude": 7.70843,
                        "altitude_ft": 17800,
                        "ground_speed_kt": 360,
                        "vertical_rate_fpm": 2400
                    },
                    {
                        "time": "2026-11-13T17:39:03Z",
                        "source": "ADSB",
                        "squawk": "2505",
                        "heading": 272,
                        "latitude": 51.68829,
                        "longitude": 1.90902,
                        "altitude_ft": 38000,
                        "ground_speed_kt": 453,
                        "vertical_rate_fpm": 0
                    }
                ],
                "playback_type": "replay"
            },
            "status": "landed",
            "airline": {
                "iata": "LH",
                "icao": "DLH",
                "name": "Lufthansa",
                "operating_iata": "LH",
                "operating_icao": "DLH",
                "operating_name": "Lufthansa"
            },
            "arrival": {
                "gate": "5",
                "actual": "2026-11-14T01:05:00Z",
                "airport": {
                    "city": "New York, NY",
                    "iata": "JFK",
                    "icao": "KJFK",
                    "name": "New York - John F Kennedy International Airport",
                    "state": "New York",
                    "country": "United States",
                    "latitude": 40.6398,
                    "longitude": -73.7789,
                    "timezone_name": "Eastern Standard Time",
                    "timezone_abbreviation": "EST",
                    "timezone_offset_hours": -5
                },
                "terminal": "1",
                "estimated": "2026-11-14T00:29:00Z",
                "scheduled": "2026-11-13T18:35:00Z",
                "local_date": "2026-11-13",
                "baggage_belt": null,
                "scheduled_local": "2026-11-13T13:35:00-05:00"
            },
            "aircraft": {
                "mode_s": "3C6704",
                "country": "DE",
                "type_icao": "A359",
                "type_name": "Airbus A350-941",
                "registration": "D-AIXD"
            },
            "callsign": "DLH400",
            "departure": {
                "gate": "Z66",
                "actual": "2026-11-13T16:37:00Z",
                "airport": {
                    "city": "Frankfurt",
                    "iata": "FRA",
                    "icao": "EDDF",
                    "name": "Frankfurt am Main International Airport",
                    "state": "Hesse",
                    "country": "Germany",
                    "latitude": 50.0264,
                    "longitude": 8.54313,
                    "timezone_name": "Central European Standard Time",
                    "timezone_abbreviation": "CET",
                    "timezone_offset_hours": 1
                },
                "terminal": "1",
                "estimated": "2026-11-13T16:50:00Z",
                "scheduled": "2026-11-13T15:00:00Z",
                "local_date": "2026-11-13",
                "baggage_belt": null,
                "scheduled_local": "2026-11-13T16:00:00+01:00"
            },
            "alias_fids": [
                3014506324
            ],
            "codeshares": [
                "UA8841",
                "SN7230",
                "ET1610",
                "NZ4226",
                "TG7722"
            ],
            "distance_km": 6189.7,
            "duration_type": "actual",
            "flight_number": "LH400",
            "duration_minutes": 453,
            "progress_percent": 100,
            "flight_number_icao": "DLH400",
            "delay_arrival_minutes": 390,
            "delay_departure_minutes": 97
        },
        "other_legs": []
    },
    "meta": {
        "credits": 10,
        "billable": true,
        "canonical_fid": 3017263384,
        "requested_fid": 3014506324,
        "endpoint_family": "flight"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "fid": [
            "Send a fid, or a flight_number with a date."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

RadarBox has no data for this airport or flight. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "flight"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "RadarBox has no data for this airport or flight."
    },
    "success": false
}
503

Service Unavailable

RadarBox could not be reached or changed its answer. This response is not billable. Retry later.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "flight"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The RadarBox source 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.