Skip to content

Line type

published · September 10, 2026 · updated · September 27, 2026

Line type is the kind of service a phone number was allocated for: mobile, fixed line, VoIP, toll-free, premium rate, shared cost and the rest.

Line type is the kind of service a phone number was allocated for. Spaw answers one of mobile, fixed_line, fixed_line_or_mobile, voip, toll_free, premium_rate, shared_cost, personal_number, pager, uan, voicemail or unknown.

What Spaw answers

line_type carries the value and line_type_source says which dataset decided it: numbering_plan when the numbering plan decided it (the metadata for the prefix, or the regulator's plan where it types a range differently, as for Ofcom's drama ranges and the UK 084 and 087 ranges below), block_allocation when a North American fixed_line_or_mobile was settled by looking up who holds the block.

In the United Kingdom, 084 and 087 numbers answer shared_cost, not premium_rate. Ofcom's numbering plan (the version of 22 April 2025) designates 0843 to 0845 and 0870 to 0873 as non-geographic numbers whose service charge is capped, at 5.833p and 10.83p a minute or a call before VAT, and keeps premium rate for the 09 range, capped at 300p a minute. The numbering metadata types those two ranges as premium rate, so Spaw reads them the way the plan does. Ofcom's premium-rate-services rules still cover 0871 to 0873, so a sender that treats those as premium rate should block shared_cost as well.

Which line types a country's plan uses, with an example number of each, is on its page under phone facts by country; the United Kingdom is one.

Four line types carry weight on the phone risk score: premium rate +60, VoIP +30, pager +30 and shared cost +20. The reasoning is about who pays and who can be reached, not about the technology being worse.

Toll-free, premium rate, shared cost and personal numbers

Four types describe who pays for a call, or where it is sent, rather than the network behind the number, and the numbering plan always decides them (line_type_source: numbering_plan). A toll_free number is free to the caller: 800, 833, 844, 855, 866, 877 and 888 in the North American plan, and 080 in the United Kingdom, a range Ofcom's plan marks "Free to caller". A premium_rate number charges the caller for a service on top of the call: 900 in North America, 09 in the United Kingdom. A shared_cost number splits the charge, as the UK's 084 and 087 above do. A personal_number follows its holder: Ofcom's plan designates 070 for Personal Numbers, a number-translation service that lets someone be called at one number and take the call "at almost any Telephone Number, including a Mobile Number", and the metadata types several North American 5XX codes, 500 among them, the same way. In libphonenumber 9.0.37's metadata, 184 of the 245 regions have a toll-free range, 150 a premium-rate range, 59 a personal-number range and 53 a shared-cost range.

Premium rate is the only one of the four the default SMS policy blocks, through its premium_rate signal. toll_free and personal_number carry no risk weight, and an account that never sends to them can list them, like any type but fixed_line_or_mobile, in blocked_line_types.

What it is not

Line type is not a claim that the handset is reachable today, and it is not port-aware — it describes the allocation. fixed_line_or_mobile is a real answer, not a failure: in the North American plan the two share blocks, and when the block holder settles nothing the honest answer is that both remain possible.

Related

markdown version: /glossary/line-type.md

Verify addresses the same way

The Spaw API runs every check described here on each lookup, with an SMTP handshake that never sends mail. 10 free lookups a month, no card required.

Get your API key

More glossary

  • Area-code overlay

    An area-code overlay is a new area code added over the same area as an existing one, instead of splitting it, so neighbours can hold different codes and local calls need ten digits.

  • Calling window

    A calling window is the span of local hours a sender contacts people in. Spaw answers in_call_window from the number's time zones: clock arithmetic, not compliance advice.

  • Fictional number

    A fictional number sits in a range kept out of service for films, TV and other fiction: 555-0100 to 555-0199 in North America, and ranges Ofcom, ARCEP, ACMA and ComReg reserve elsewhere.

  • International (exit) prefix

    An international prefix is what is dialled to leave a country before the calling code: 00 in most of the world, 011 in North America. Spaw reads it and suggests a fix in did_you_mean.

  • International network number

    An international network number sits under a calling code the ITU gives a global service rather than a country, such as +870, +881, +882 or +883, so its country is null.

  • Live carrier check (HLR lookup)

    A live carrier check asks the mobile networks, at the moment of the lookup, whether a number is in service, which network serves it and whether it is roaming. On Spaw it is not enabled.

  • Number pooling (thousands-blocks)

    Number pooling splits a North American central office code into ten blocks of a thousand numbers, each assigned to a carrier separately, so one code can hold several carriers' numbers.

  • Number portability

    Number portability lets a subscriber keep a phone number when changing carrier. The number's block stays listed under the carrier it was issued to, so block data names the original holder.