Skip to content

Enrich

Find the carrier behind a phone number

Send a phone number, get the operator. The basic level reads the numbering plan; the live level asks the network for the carrier that serves the number today, after porting.

What one lookup returns

The fields this product reads from the response. The full schema is in the API reference.

FieldTypeMeaning
carrier.namestring or nullOperator name: the original one at basic level, the current one at live level.
carrier.mccstring or nullMobile Country Code (ITU-T E.212), on live lookups.
carrier.mncstring or nullMobile Network Code (ITU-T E.212), on live lookups.
carrier.sourcestringnumbering_plan or live: where the carrier came from.
line_typestringmobile, landline, fixed_line_or_mobile, voip, toll_free, premium_rate and other numbering plan types.
portedboolean or nulltrue when the number moved to another carrier, false when it did not, null at basic level.
country.codestringISO 3166-1 alpha-2 code of the number's country.

Live example

The response below was returned by the API for this request.

Request
curl https://api.qelka.com/v1/phone \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+447400123456","level":"basic"}'
Request fields
phonestring · RequiredThe phone number, in any common format. E.164 is recommended.
countrystring · OptionalISO 3166-1 alpha-2 country used to read numbers written without an international prefix.
levelstring · Default "basic"basic reads the numbering plan; live asks the network for the current carrier and costs more.
freshboolean · Default falsetrue skips the result cache and runs the lookup again.

Response

{
  "id": "lkp_01M85PTBFCVB742BRCG5SJ9ZWM",
  "object": "phone",
  "input": "+447400123456",
  "valid": true,
  "status": "valid",
  "e164": "+447400123456",
  "national": "07400 123456",
  "country": {
    "code": "GB",
    "name": "United Kingdom",
    "calling_code": "44"
  },
  "region": null,
  "timezones": [
    "Europe/Guernsey",
    "Europe/Isle_of_Man",
    "Europe/London"
  ],
  "line_type": "mobile",
  "carrier": {
    "name": "Three",
    "mcc": null,
    "mnc": null,
    "source": "numbering_plan"
  },
  "ported": null,
  "credits_used": 1,
  "cached": false
}

Use cases

Route SMS

Pick the cheapest or most reliable SMS route for each operator.

Spot ported numbers

A live lookup tells you whether the number moved to another carrier.

Segment users

Group mobile users by operator for support, billing or partnerships.

Check fraud signals

Compare the carrier with what the user claims, or flag carriers you do not support.

Price

1 credit per lookup, from the same balance as every other product.

Starter
$2.90 per 1,000 lookups
Growth
$1.98 per 1,000 lookups
Scale
$1.50 per 1,000 lookups
Business
$1.07 per 1,000 lookups

The free plan includes 100 credits every month. Errors, upstream failures and test keys are never billed.

See pricing

Data source and freshness

Read from datasets we download and refresh on the schedule listed below. Your input never leaves our infrastructure. Results are cached for 7 days; send "fresh": true to query again.

Data sources

Frequently asked questions

What is the difference between basic and live?
Basic reads the operator a number range was originally assigned to, from Google's libphonenumber carrier files, and costs 1 credit. Live asks the network for the carrier serving the number now, including porting, and costs 3 credits.
Why is the carrier null for some numbers?
The numbering plan names an operator only for mobile ranges in countries where libphonenumber publishes carrier data. Landlines, many VoIP ranges and some countries have no carrier at the basic level.
What are MCC and MNC?
The Mobile Country Code and Mobile Network Code identify a mobile network, as defined by ITU-T E.212. They are returned on live lookups, where the network answers for the number.
Is a failed live lookup billed?
No. When the live provider does not answer, the API returns 502 upstream_unavailable and refunds the credits.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time