API reference
Get flight
Fetch one flight by its NaijaRadar flight ID.
GET /v1/flights/:id
Returns airline, route, aircraft, status, and live tracking data for one flight. A successful lookup consumes one credit.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Flight ID returned by GET /v1/flights |
Request
curl "https://api.naijaradar.ng/v1/flights/flight-id" \
-H "X-API-Key: nr_live_your_key"Response
{
"success": true,
"message": "Flight fetched successfully",
"data": {
"id": "flight-id",
"flight": {
"iata": "P47120"
},
"status": {
"condition": "active"
}
},
"meta": {
"creditsCharged": 1
},
"quota": {
"active": true,
"limit": 1000,
"used": 43,
"remaining": 957
}
}A 404 response does not consume a credit.