Skip to content

Phone number validation API

Know whether a number can exist before you send an SMS, call it, or store it. One request returns the E.164 format, line type, carrier, region and time zone.

1 credit per check

Try it

Try an example
ValidExample
E.164
+12015550123
National
(201) 555-0123
Country
United States (US)
Calling code
+1
Line type
Landline or mobile
Carrier (range holder)
Not available
Region
New Jersey
Time zones
America/New_York
Current carrier (live network)
Unlock with a free account
Ported number
Unlock with a free account
MCC / MNC
Unlock with a free account
Bulk CSV upload
Unlock with a free account
API access
Unlock with a free account

Unlock with a free account

These fields need an API key. The free plan includes 100 credits every month, no card required.

Unlock these fields

What the response contains

FieldMeaning
validTrue when the number matches its country's numbering plan.
statusvalid, invalid, or unknown when a national number arrives without a country.
e164The number in E.164, the format to store and to send to SMS providers.
nationalThe number formatted the way people write it in its country.
countryISO code, English name and calling code of the country the number belongs to.
regionRegion or city attached to the number range, when the numbering plan provides one.
timezonesIANA time zones of the number range, useful to call at a decent hour.
line_typemobile, landline, VoIP, toll-free, premium rate and other types from the numbering plan.
carrierThe carrier the range was assigned to; with live, the carrier serving the number today.
portedLive level only: whether the number moved to another carrier.

What teams use it for

Clean signup forms

Reject impossible numbers and normalize the rest to E.164 before they reach your database.

Route SMS correctly

Skip landlines and premium-rate numbers before paying for an SMS that cannot arrive.

Call at the right time

Use the time zone of the number range to schedule calls and reminders.

Spot risky numbers

Flag VoIP and toll-free numbers on flows where a real mobile line matters.

One request, one credit

Send JSON, get JSON. The response below was produced by the API for the request on the left.

cURL
curl https://api.qelka.com/v1/phone \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+12015550123","level":"basic"}'
JavaScript
const response = await fetch("https://api.qelka.com/v1/phone", {
  method: "POST",
  headers: {
    Authorization: "Bearer sk_test_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    phone: "+12015550123",
    level: "basic",
  }),
});
const result = await response.json();
{
  "id": "lkp_01M84QZDVBQCJAMBE4TJB6VRAC",
  "object": "phone",
  "input": "+12015550123",
  "valid": true,
  "status": "valid",
  "e164": "+12015550123",
  "national": "(201) 555-0123",
  "country": {
    "code": "US",
    "name": "United States",
    "calling_code": "1"
  },
  "region": "New Jersey",
  "timezones": [
    "America/New_York"
  ],
  "line_type": "fixed_line_or_mobile",
  "carrier": {
    "name": null,
    "mcc": null,
    "mnc": null,
    "source": "numbering_plan"
  },
  "ported": null,
  "credits_used": 1,
  "cached": false
}

Pricing

1 credit per check. The free plan includes 100 credits every month. Paid plans start at $29.

See pricing

Where the data comes from

Numbering plans and carrier prefixes from Google's libphonenumber, North American area codes from NANPA, live data from an upstream number-lookup provider.

Data sources

Frequently asked questions

What is the difference between basic and live?
Basic reads the numbering plan: it knows the country, type and the carrier a range was assigned to, but cannot see porting. Live asks the network for the current carrier and whether the number was ported, and costs 3 credits.
Does it tell me who owns a number?
No. The API never returns names, addresses or any data about the person behind a number. It only describes the number and its network.
Do I need to send numbers in E.164?
No. Send any common format. Numbers without a + prefix need a country code in the country field so the API knows which numbering plan to read.
Can it tell if a number is active?
Basic checks cannot: a valid number may be unassigned or disconnected. Live lookups confirm the current carrier for mobile numbers; reachability checks are not part of v1.

Put this check in your product

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