Skip to content

Glossary

Line type: mobile, landline, VoIP and more

A phone number's line type says whether it is a mobile, landline, VoIP, toll-free or premium-rate line. How it is determined and how to use it in forms.

Updated 2026-11-23

Line type is the category of service a phone number belongs to: mobile, landline, VoIP, toll-free, premium rate and so on. It comes from the numbering plan, where a national regulator assigns blocks of digits to kinds of service. The line type decides what you can do with a number: send an SMS, call it for free, or expect a charge.

How it works

A number's prefix and length place it in a range in the national plan. Each range carries a type. Libraries such as Google's libphonenumber ship this data, and Qelka's basic phone level reads it.

The line types returned by the phone API:

line_type Meaning
mobile Mobile number
landline Fixed, geographic line
fixed_line_or_mobile The plan does not separate the two, as in the NANP
voip Range assigned to internet telephony
toll_free Free for the caller
premium_rate The caller pays a higher rate
shared_cost Cost shared between caller and receiver
personal_number Forwards to other lines
pager Pager number
uan Universal access number for a company
voicemail Direct access to voicemail
unknown Could not be determined

The type is a property of the range, not a live check of the line. A number can be ported to another operator, or a VoIP provider can rent a block that looks like a mobile one, and the plan will not know. That is the reason the live level exists: it asks the network for the current carrier.

Why it matters for validation

Line type drives product decisions at the form:

  • SMS verification. Only send a one-time code to mobile and, with care, voip numbers. For landline, offer a voice call.
  • Cost and abuse. premium_rate and shared_cost numbers can bill whoever calls or texts them. A signup form that accepts a premium-rate number as a contact number is a risk worth blocking.
  • Fraud scoring. A voip type on a signup is one input, to weigh with others.
  • Routing. Sales teams call landlines and text mobiles.

Remember the unknown case. unknown is a result, not an error: either the type is not in the plan data or the number could not be read. Do not reject on it. And a valid number is not proof someone answers it.

Read the full table and statuses in the API reference, or try numbers in the line type lookup.

Frequently asked questions

What is a phone line type?
Line type is the category of service behind a phone number: mobile, landline, VoIP, toll-free, premium rate and a few others. It is derived from the numbering plan, which assigns blocks of numbers to kinds of service. It tells you how a number can be used, for example whether it can receive an SMS.
Why does a US number show as fixed line or mobile?
Because the North American Numbering Plan does not separate landline and mobile ranges. Both draw from the same area codes and exchanges, so the plan alone cannot tell them apart. Qelka returns fixed_line_or_mobile for these numbers rather than guessing. A live lookup of the current carrier can narrow it down.
Can I send an SMS to a landline?
Usually not. Standard SMS goes to mobile numbers and some VoIP numbers. A landline will not receive a text, apart from a few operators that convert it to speech. Check the line type before sending one-time codes, and offer a voice call or another channel when the number is a landline.

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