Phone
Is it a mobile or a landline?
Find out if a number is mobile, landline, VoIP, toll-free or premium-rate before you send an SMS or place a call.
- 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
- Bulk CSV upload
- Unlock with a free account
- API access
- Unlock with a free account
How to read the result
The Line type row is the answer you came for. The rows around it explain how sure that answer is, and the locked rows add what a live lookup knows about the network.
| Field | What it means | What to do with it |
|---|---|---|
| Status | Whether the number falls in a range of its country's plan. A line type is only meaningful on a Valid number. | On Invalid, Line type reads Unknown: fix the digits first. On Unknown status, choose the country and check again. |
| E.164 | The full international form of the number. | Hand this form to your SMS or voice provider. |
| National | The number as written locally. | Locals read the type from the start of it: 07 in the UK, 06 or 07 in France for mobiles. |
| Country | The country whose plan defined the type. | Read the type with its country. The same leading digits mean different things elsewhere. |
| Calling code | The international prefix of that plan. | Under +1, every geographic number is Landline or mobile. |
| Line type | Mobile, Landline, Landline or mobile, VoIP, Toll-free, Premium rate, Shared cost, Personal number, Pager, Universal access number, Voicemail, or Unknown. | Decide whether to text, call, or refuse the number. The definitions are below. |
| Carrier (range holder) | The original operator of a mobile range. Landlines never get one. | A name here belongs to a network that received mobile numbers. |
| Region | The home area of the range. | Outside North America, a landline usually has a region and a mobile usually does not. |
| Time zones | The local time zones attached to the range, as IANA IDs. | Send texts and place calls during the recipient's daytime. |
| Current carrier (live network) | Locked. The operator serving the number today. | For a Landline or mobile number, a wireless carrier here is a strong hint that it is a mobile. |
| Ported number | Locked. Whether the number left its original operator. | A number can move between fixed and mobile operators. The type still describes its original range. |
| Bulk CSV upload | Locked. Line types for every row of a file. | Split a contact list before an SMS campaign. |
| API access | Locked. The same check from your code. | Check the type before you send a one-time code. |
The locked rows open with a free account, which comes with 100 credits a month. A live lookup costs 3 credits.
How the check works
Every national numbering plan reserves ranges for each kind of service. Google's libphonenumber turns those plans into one pattern per line type per country, and the checker tests the number against them.
The order matters. Special services come first: premium rate, toll-free, shared cost, VoIP, personal number, pager, universal access number and voicemail. Fixed line and mobile come last. If a number matches both the fixed-line and the mobile pattern, the result is Landline or mobile. That is always the case in the United States, Canada, Puerto Rico, Guam, the Northern Mariana Islands and the US Virgin Islands, where both kinds of line share one pattern. It also happens for some ranges elsewhere: the libphonenumber sample numbers for Mexico (+52 222 123 4567) and India (+91 74104 10123) both come back as Landline or mobile.
One country, many ranges: the UK as an example
The UK plan shows how much the first digits carry.
| UK prefix | Line type in the result | Example |
|---|---|---|
| 01, 02 | Landline | +44 121 234 5678 |
| 03, 055 | Universal access number | +44 55 1234 5678 |
| 056 | VoIP | +44 56 1234 5678 |
| 070 | Personal number | +44 70 1234 5678 |
| 076 (most ranges) | Pager | +44 76 4012 3456 |
| Other 07 ranges | Mobile | +44 7400 123456 |
| 0800, 0808 | Toll-free | +44 800 123 4567 |
| 084, 087, 09 | Premium rate | +44 901 234 5678 |
Both 070 and 076 start like a mobile number. A person reading 070 1234 5678 sees a mobile. The plan does not.
How mobile numbers start in other countries
Each plan draws the line in its own place. The national formats below come from libphonenumber's data for each country.
| Country | Mobile numbers start with | Sample mobile, national format |
|---|---|---|
| Germany | 015, 016 or 017 | 01512 3456789 |
| Netherlands | 06 | 06 12345678 |
| Spain | 6 or 7, with no trunk prefix | 612 34 56 78 |
| Italy | 3, while landlines start with 0 | 312 345 6789 |
| Australia | 04 | 0412 345 678 |
| Japan | 060, 070, 080 or 090 | 090-1234-5678 |
| South Korea | 010 | 010-2000-0000 |
| China | 13 to 19, eleven digits in all | 131 2345 6789 |
| Brazil | The area code, then nine digits starting with 9 | (11) 96123-4567 |
| United States, Canada | No mobile range: both kinds share area codes | (201) 555-0123 |
| Mexico | No separate mobile range | 222 123 4567 |
A few exceptions hide inside these ranges, such as German 0164 numbers, which are pagers. Let the checker read the full number rather than matching the first digits yourself.
What the numbering plan cannot see
- VoIP on ordinary numbers. Internet phone services often hand out geographic numbers. Those come back as Landline, or Landline or mobile in North America. Only ranges reserved for VoIP are labeled VoIP, such as 056 in the UK, 09 in France, 050 in Japan or 55 in Italy.
- Moves between kinds of line. In the United States, a number can be ported from a landline carrier to a wireless one, and back. The type stays the one of its original range.
- The device at the end. The type describes the range, not the phone, the plan or the person holding it.
Line types defined
| Line type | What it is | Example | Before you text or call |
|---|---|---|---|
| Mobile | A number on a cellular network. | +33 6 12 34 56 78 | Receives SMS and calls. |
| Landline | A fixed line tied to an exchange area. | +49 30 123456 | Call it. SMS will usually not arrive. |
| Landline or mobile | A range the plan does not split. | +1 201-555-0123 | Either is possible. Send a one-time code or check the current carrier. |
| VoIP | A range reserved for internet telephony. | +33 9 12 34 56 78 | Delivery of SMS depends on the service behind it. |
| Toll-free | Free for the caller, paid by the receiver. | +1 800-234-5678 | A business line. Do not send verification codes to it. |
| Premium rate | The caller pays extra, part of it to the service. | +1 900-234-5678 | Refuse it in forms. Never call it back unprompted. |
| Shared cost | The caller pays part of the cost, the receiver the rest. | +34 901 12 34 56 | A service line. Call it, do not text it. |
| Personal number | A number that forwards to the owner's chosen phone. | +44 70 1234 5678 | Calls are forwarded and can cost more than a mobile call. |
| Pager | A paging service. | +44 76 4012 3456 | One-way alerts only. |
| Universal access number | One number routed to an organization's sites. | +44 55 1234 5678 | A business line. |
| Voicemail | Direct access to a voicemail box. | +49 177 99 1234567 | Nobody answers. Ask for another number. |
| Unknown | No type matched, usually because the number is invalid. | Fix the number first. |
Every example is one of the sample numbers published in Google's libphonenumber metadata, which exist to show a format.
Use the line type before an SMS campaign or a verification flow
SMS costs money per message, and a text sent to the wrong kind of line is money lost. Check the line type before the send, not after the delivery reports.
| Line type | Keep it in an SMS send? | Why |
|---|---|---|
| Mobile | Yes | Built to receive SMS. |
| Landline or mobile | Yes, then watch delivery reports | In the US and Canada the plan cannot tell. A live lookup narrows it down. |
| Landline | No | Call instead, or ask the contact for a mobile number. |
| VoIP | Decide per use | Fine for notices. For one-time codes, delivery and abuse risk depend on the service. |
| Toll-free, Shared cost, Universal access number | No | They belong to organizations, not to the person you want to reach. |
| Premium rate | Never | Texting or calling them can cost you, and they feature in fraud. |
| Personal number, Pager, Voicemail | No | They forward, alert one way, or reach a mailbox. |
Verification flows face a specific threat. In SMS pumping, also called artificially inflated traffic, bots fill a signup or login form with numbers on expensive routes, and the attacker shares the revenue from each code you send. Line type is one of the cheapest filters against it:
- Refuse premium-rate, shared-cost and Unknown numbers before sending any code.
- Only send codes to the countries you actually serve.
- Limit how many codes one number and one IP address can request per hour.
- Store the E.164 form, so the same number written two ways counts once.
The guide Validate signup forms shows these checks in code. For a list, bulk processing adds the line type to every row, and the phone API reference lists every value of line_type.
Same check through the API
One HTTPS call, one credit. The response below is the real schema returned by the API.
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
}Bulk and pricing
- Upload a CSV of up to 2,000,000 rows from the dashboard or the API, pick the column, get the results back as a CSV.
- Every check costs 1 credit, live phone lookups cost 3. Cached results are billed the same way; calls that fail upstream are not billed.
- The free plan includes 100 credits every month. Paid plans start at $29 for 10,000 credits.
Frequently asked questions
How can I tell if a number is a mobile or a landline?
Why does a US number show Landline or mobile?
Can a landline receive text messages?
Is a VoIP number a bad sign?
Why is my VoIP number shown as a landline?
What is a toll-free number?
What is a premium-rate number?
What is a UK 070 personal number?
What does universal access number mean?
Can a landline number move to a mobile network?
What is a shared-cost number?
What is a pager number?
How do I filter a contact list down to mobile numbers?
Why is the line type Unknown?
Should I accept landline numbers in a signup form?
Is a voicemail line type a real phone?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.