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
- 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
What the response contains
| Field | Meaning |
|---|---|
| valid | True when the number matches its country's numbering plan. |
| status | valid, invalid, or unknown when a national number arrives without a country. |
| e164 | The number in E.164, the format to store and to send to SMS providers. |
| national | The number formatted the way people write it in its country. |
| country | ISO code, English name and calling code of the country the number belongs to. |
| region | Region or city attached to the number range, when the numbering plan provides one. |
| timezones | IANA time zones of the number range, useful to call at a decent hour. |
| line_type | mobile, landline, VoIP, toll-free, premium rate and other types from the numbering plan. |
| carrier | The carrier the range was assigned to; with live, the carrier serving the number today. |
| ported | Live 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 https://api.qelka.com/v1/phone \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"phone":"+12015550123","level":"basic"}'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 pricingWhere 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 sourcesFrequently asked questions
What is the difference between basic and live?
Does it tell me who owns a number?
Do I need to send numbers in E.164?
Can it tell if a number is active?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.