# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/flightradar24/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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/credits/flightradar24/get-airlines \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/flightradar24/get-airport-board \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/flightradar24/get-airports \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/flightradar24/get-flight-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/flightradar24/get-most-tracked \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/flightradar24/search \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.