/lookup?number=0177XXXXXXXXX
Pass the number as a query parameter. /look is also available with the same behavior.
Send a number, receive a structured result. This reference contains the exact request formats, headers, responses, and errors you need to integrate the API.
View request guide ↓Base URL: http://number-lookup.unf.workers.dev
/lookup?number=0177XXXXXXXXXPass the number as a query parameter. /look is also available with the same behavior.
/lookupSend {"number":"0177XXXXXXXXX"} as a JSON request body.
Use one of these headers on every lookup request. Keep the key on your server and never expose it in a public client.
Authorization: Bearer YOUR_API_KEY
X-API-Key: YOUR_API_KEY
Replace only YOUR_API_KEY and the placeholder number.
curl "http://number-lookup.unf.workers.dev/lookup?number=0177XXXXXXXXX" \ -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch(
"http://number-lookup.unf.workers.dev/lookup",
{
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "YOUR_API_KEY"
},
body: JSON.stringify({ number: "0177XXXXXXXXX" })
}
);
const data = await response.json();import requests
response = requests.get(
"http://number-lookup.unf.workers.dev/lookup",
params={"number": "0177XXXXXXXXX"},
headers={"Authorization": "Bearer YOUR_API_KEY"},
)
print(response.json())A successful request returns these fields. Values are intentionally omitted from the reference.
nameMatched name or nullnumberNormalized number or nullcarrierCarrier label or nulllocationLocation label or nulltypeNumber type or null{
"name": null,
"number": null,
"carrier": null,
"location": null,
"type": null
}Use the HTTP status code first, then read the JSON error message.
{
"success": false,
"error": "..."
}400 Invalid number or body
401 Missing or invalid API key
403 Revoked API key
429 Request limit reached
502/504 Lookup service unavailable
Rate-limit headers: x-ratelimit-limit, x-ratelimit-remaining, and x-ratelimit-reset. Use GET /health to check service availability.
Follow updates, API resources, and new releases from the official channels.