# Get flight status and history (v1)

Status, scheduled, estimated and actual times, aircraft, airline, route and gates for a flight number or an aircraft registration: upcoming flights and roughly the last seven days.

- Platform: Flightradar24
- Request: `GET https://api.toolzerhub.com/v1/flightradar24/flights`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/flightradar24/flights/get-flightradar24-flights

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `flight` | query | no | string | Flight number such as BA117 or ba 117, or its flightradar24.com/data/flights link. Use the IATA number the airline sells; ICAO callsigns such as BAW117 are rejected. Pass this or registration. |
| `registration` | query | no | string | Aircraft registration (tail number) such as G-RAES, or its flightradar24.com/data/aircraft link, for every flight that aircraft flew or is scheduled to fly. Pass this or flight. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/flightradar24/flights" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
