Skip to content
Scrappa Get API key
Flightradar24 API 1 credit/request

Flightradar24 Search API Documentation

GET https://scrappa.co/api/flightradar24/search

Flightradar24 Search API Documentation Search by name, code, flight number or registration. Each result has a type: airport, airline, live_flight, scheduled_flight or aircraft. Airports carry the IATA code and position. Airlines carry the ICAO code, IATA code and name. A live_flight carries the flight_id for the flight endpoint. An aircraft carries the registration and the hex code. An empty result answers 200 and costs no credit. Cost: 1 credit per successful request.

Flightradar24 Search API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/flightradar24/search
Auth header
x-api-key
Cost
1 credit/request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "count": 5,
        "query": "frankfurt",
        "results": [
            {
                "id": "DLH",
                "iata": "LH",
                "icao": "DLH",
                "logo": "https://cdn.flightradar24.com/assets/airlines/logotypes/1.png",
                "name": "Lufthansa",
                "type": "airline",
                "label": "Lufthansa (DLH / LH)",
                "match": "iata"
...

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.

1 optional filter available.

query string Required

Text, 2 to 60 characters, e.g. frankfurt, LH400 or D-AIXO.

Example value coffee shops
limit integer Optional

Results to return, 1 to 50. Default: 10.

Example value 10

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": {
        "count": 5,
        "query": "frankfurt",
        "results": [
            {
                "id": "DLH",
                "iata": "LH",
                "icao": "DLH",
                "logo": "https://cdn.flightradar24.com/assets/airlines/logotypes/1.png",
                "name": "Lufthansa",
                "type": "airline",
                "label": "Lufthansa (DLH / LH)",
                "match": "iata"
            },
            {
                "id": "LH400",
                "logo": "https://cdn.flightradar24.com/assets/airlines/logotypes/1.png",
                "type": "scheduled_flight",
                "label": "LH400 / DLH400",
                "match": "begins",
                "callsign": "DLH400",
                "airline_icao": "DLH",
                "flight_number": "LH400"
            },
            {
                "id": "FRA",
                "lat": 50.037796,
                "lon": 8.555783,
                "iata": "FRA",
                "type": "airport",
                "label": "Frankfurt Airport (FRA / EDDF)",
                "match": "begins"
            },
            {
                "id": "D-AIXO",
                "hex": "3C670F",
                "logo": "https://cdn.flightradar24.com/assets/airlines/logotypes/1.png",
                "type": "aircraft",
                "label": "D-AIXO (A359) - DLH",
                "match": "begins",
                "airline_icao": "DLH",
                "registration": "D-AIXO",
                "aircraft_type": "A359"
            },
            {
                "id": "426a4f1b",
                "lat": 37.4573,
                "lon": 126.4236,
                "type": "live_flight",
                "label": "LH718 / DLH718",
                "match": "begins",
                "origin": "MUC",
                "callsign": "DLH718",
                "flight_id": "426a4f1b",
                "destination": "ICN",
                "airline_icao": "DLH",
                "registration": "D-AIXO",
                "aircraft_type": "A359",
                "flight_number": "LH718"
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}

Errors

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

422

Validation Error

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

{
    "errors": {
        "query": [
            "A search text is required, e.g. frankfurt, LH400 or D-AIXO."
        ]
    },
    "message": "The request validation failed"
}
503

Service Unavailable

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

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