# Flightradar24 — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Track live flights worldwide, view real-time airport schedules, and search for specific flights with detailed information about aircraft and routes. Monitor the most tracked flights and get comprehensive airport details including gates, terminals, and operational status.

**Category:** Travel | **Website:** [flightradar24.com/](https://flightradar24.com/) | **Docs:** [parse.bot/marketplace/00099c17-3f62-454a-9790-9774b744c922/flightradar24-com-api](https://parse.bot/marketplace/00099c17-3f62-454a-9790-9774b744c922/flightradar24-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-flightradar24-com-api-00099c17/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_airlines

Retrieve the full database of airlines supported by Flightradar24. Returns all airlines with their IATA/ICAO codes, active status, logo metadata, and URL slugs. No parameters required — the complete dataset is returned in a single response.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-flightradar24-com-api-00099c17/get_airlines \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_airport_board

Get the arrivals or departures board for a specific airport. Returns detailed flight information including status, aircraft type, airline, origin/destination airports, and scheduled/estimated timing. Paginated server-side; use limit to control result count. Flight IDs in results can be passed to get_flight_details for full trail and history data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `iata` | string | Yes | IATA airport code (e.g. 'JFK', 'LAX', 'LHR'). |
| `limit` | integer | No | Max number of flights to return. |
| `type` | string | No | Board type: 'arrivals' or 'departures'. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-flightradar24-com-api-00099c17/get_airport_board \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"iata":"<string>","limit":"<integer>","type":"<string>"}'
```

### get_airports

Retrieve the full database of airports supported by Flightradar24. Returns all airports with their IATA/ICAO codes, geographic coordinates, city, country, timezone, runway size, and altitude. No parameters required — the complete dataset is returned in a single response.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-flightradar24-com-api-00099c17/get_airports \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_flight_details

Get detailed information for a specific flight by its Flightradar24 flight ID (hexadecimal string). Returns identification, live status, aircraft details with images, airline, origin/destination airports with coordinates, scheduled/real/estimated times, GPS trail positions, and recent flight history for the aircraft. Flight IDs are obtained from search results (type 'live') or get_airport_board data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `flight_id` | string | Yes | Flightradar24 internal flight ID (hexadecimal string, e.g. '401fde78'). Obtainable from search results or get_airport_board. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-flightradar24-com-api-00099c17/get_flight_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"flight_id":"<string>"}'
```

### get_most_tracked

Retrieve the current most-tracked flights on Flightradar24, ranked by viewer clicks. Returns a live-updating list of flights users are watching most, including route info, aircraft type, and click count. Flight IDs in results can be passed to get_flight_details. No parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-flightradar24-com-api-00099c17/get_most_tracked \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search

Full-text search across flights, airports, airlines, and aircraft by keyword. Matches against flight numbers, airport codes, airline names, and aircraft registrations. Returns categorized results with match type indicators and total counts by category. Each result includes an id usable for further lookups (flight IDs for get_flight_details, IATA codes for get_airport_board).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Max number of results to return. |
| `query` | string | Yes | Search keyword — flight number (e.g. 'AA100'), airport IATA code (e.g. 'JFK'), airline name (e.g. 'Delta'), or aircraft registration. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-flightradar24-com-api-00099c17/search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","query":"<string>"}'
```
