API reference
Get API identity
Inspect the current API key and subscription quota.
GET /v1/me
Returns metadata for the current key and its subscription quota. This endpoint does not consume a credit.
Request
curl "https://api.naijaradar.ng/v1/me" \
-H "X-API-Key: nr_live_your_key"Response
{
"success": true,
"message": "Developer API identity fetched successfully",
"data": {
"key": {
"id": "key-id",
"name": "Production backend",
"maskedKey": "nr_live_abc123...wxyz",
"scopes": [
"flights:read"
]
},
"quota": {
"active": true,
"planName": "Pro",
"billingCycle": "MONTHLY",
"limit": 1000,
"used": 42,
"remaining": 958,
"dailyUsed": 8,
"periodEnd": "2026-12-01T00:00:00.000Z",
"autoRenew": true
}
}
}