Number Lookup API
The Number Lookup API performs carrier lookups for phone numbers in E.164 format. Responses include carrier name, line type, and MCC/MNC codes. Version 1 supports carrier lookup only.
Interactive reference, request/response schemas, and examples
Base URL: https://api.omaxtelecom.com/numbers/
What can you do?
| Capability | Endpoint | Description |
|---|---|---|
| Single lookup | POST /number-lookup | Carrier lookup for one E.164 number |
| Bulk lookup | POST /number-lookup/bulk | Submit a batch lookup job (async) |
| Job status | GET /number-lookup/bulk/{job_id} | Poll bulk job progress and results |
| Health | GET /number-lookup/health | Check service availability (no auth) |
Authentication
All endpoints except /number-lookup/health require OAuth 2.0 Client Credentials via OmaxTelecom ID:
Code
Obtain a token from the shared OmaxTelecom API auth endpoint. This is not under the Number Lookup base URL — see the Auth API reference:
Code
Get your client_id and client_secret from OmaxTelecom Console.
For M2M clients without an organization claim in the token, include:
Code
Billing
When price_per_lookup is greater than zero for your organisation, each lookup is charged via the Console Wallet API — including repeat lookups for the same number.
| HTTP status | Error code | Meaning |
|---|---|---|
402 | INSUFFICIENT_BALANCE | Wallet balance too low |
403 | NUMBER_LOOKUP_DISABLED | Number lookup not enabled for your organisation |
403 | BILLING_NOT_CONFIGURED | Billing is not configured |
403 | ORGANIZATION_NOT_FOUND | Organisation not registered |
422 | — | Invalid E.164 format or request validation error |
503 | NUMBER_LOOKUP_UNAVAILABLE | Lookup provider unavailable |
Phone number format
All phone numbers must be in E.164 format, for example +38766000111.
Response envelope
Successful responses:
Code
Error responses:
Code
Lookup result fields
| Field | Description |
|---|---|
phone_number | Normalized E.164 phone number |
country_code | ISO 3166-1 alpha-2 country code |
national_format | Nationally formatted number |
valid | Whether the number is considered valid |
carrier.name | Carrier name when available |
carrier.type | Line type (e.g. mobile, landline) |
carrier.mcc | Mobile Country Code |
carrier.mnc | Mobile Network Code |
Examples
Single carrier lookup
Code
Response 200 OK:
Code
Invalid number (still returns 200)
When a number is found but marked invalid, the API returns 200 OK with valid: false:
Code
Bulk lookup
Code
Response 202 Accepted:
Code
Poll the job (recommended interval: 1–3 seconds):
Code
Response 200 OK (completed):
Code
Maximum 1000 unique phone numbers per bulk request.
Health check
Code
Response 200 OK:
Code
Getting started
- Enable number lookup for your organisation in OmaxTelecom Console.
- Obtain an access token via OmaxTelecom ID using your
client_idandclient_secret. - Call
GET /number-lookup/healthto confirm the service is reachable. - Look up a single number with
POST /number-lookup. - Use bulk endpoints when you need to look up large lists asynchronously.
API Documentation
Complete API Reference
Explore all endpoints with interactive examples, schemas, and authentication details.
Need Help?
Contact [email protected] for integration support.