Enrich
Tell a mobile number from a landline
Send a phone number and get its line type: mobile, landline, VoIP, toll-free, premium rate and more, read from the numbering plan of its country.
What one lookup returns
The fields this product reads from the response. The full schema is in the API reference.
| Field | Type | Meaning |
|---|---|---|
| line_type | string | mobile, landline, fixed_line_or_mobile, voip, toll_free, premium_rate and other numbering plan types. |
| valid | boolean | true when the number is a possible, assigned number in its country. |
| e164 | string or null | The number in international E.164 format. |
| country.code | string | ISO 3166-1 alpha-2 code of the number's country. |
| carrier.name | string or null | Operator name: the original one at basic level, the current one at live level. |
Live example
The response below was returned by the API for this request.
curl https://api.qelka.com/v1/phone \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"phone":"+33612345678","level":"basic"}'| phone | string · RequiredThe phone number, in any common format. E.164 is recommended. |
|---|---|
| country | string · OptionalISO 3166-1 alpha-2 country used to read numbers written without an international prefix. |
| level | string · Default "basic"basic reads the numbering plan; live asks the network for the current carrier and costs more. |
| fresh | boolean · Default falsetrue skips the result cache and runs the lookup again. |
Response
{
"id": "lkp_01M85PTBFDMJ93G3DQTMRJDWJ5",
"object": "phone",
"input": "+33612345678",
"valid": true,
"status": "valid",
"e164": "+33612345678",
"national": "06 12 34 56 78",
"country": {
"code": "FR",
"name": "France",
"calling_code": "33"
},
"region": null,
"timezones": [
"Europe/Paris"
],
"line_type": "mobile",
"carrier": {
"name": "SFR",
"mcc": null,
"mnc": null,
"source": "numbering_plan"
},
"ported": null,
"credits_used": 1,
"cached": false
}Use cases
Send SMS only where it lands
Skip landlines before you pay for a text message that cannot be delivered.
Block premium rate numbers
Refuse numbers that would cost your users or your call center money.
Qualify leads
Prefer mobile numbers for callbacks and two-factor codes.
Clean a contact list
Tag each number with its line type before a campaign.
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 pricingData 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.
- libphonenumber metadata, carrier, geocoding and time zone files
License: Apache-2.0 · Refresh: pinned release
- libphonenumber-js
License: MIT · Refresh: on change
- NANPA NPA (area code) report
License: No license stated · Refresh: monthly
Frequently asked questions
Where does the line type come from?
What does fixed_line_or_mobile mean?
Does a ported number keep its line type?
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