Skip to content

Glossary

HLR lookup: check a mobile number on the network

An HLR lookup queries the mobile network about a number: whether it exists, which network serves it and whether it was ported. How it works and its limits.

Updated 2026-11-23

An HLR lookup is a query to a mobile network that reveals the live status of a phone number without contacting the person. HLR stands for Home Location Register, the database in a GSM network that holds each subscriber's profile and current network. A lookup can show whether the number is assigned, which operator currently serves it and whether it has been ported away from its original operator.

How it works

Every mobile number belongs to a subscriber record. The HLR holds that record, including the subscriber identity and the serving network. Operators exchange signalling messages over the SS7 network, or its modern equivalents, to find where to route calls and texts. Lookup providers send a specific signalling request, get the HLR's answer and hand you the result.

Typical output of a network lookup:

Data Meaning
Current operator The network that serves the number now, identified by its MCC and MNC
Ported flag The number moved from its original operator to another one
Active status The number is assigned to a live subscription
Roaming status The phone is registered on a foreign network, when the operator shares it

The operator is identified with an MCC and MNC pair defined in ITU-T E.212. Porting is the subject of mobile number portability.

The query is a lookup, not a call: no SMS is sent, the phone does not ring and the owner is not notified. The result reflects what the network says at that moment, and routes differ in how much they return.

Why it matters for validation

A number can be valid in the numbering plan and still be dead. A static check reads the plan: length, prefix and the range's original holder. It cannot tell that the number was disconnected last month, or that it now sits with a different operator.

Qelka offers both. The basic level reads numbering plan data. The live level also asks the network at call time and returns carrier.name for the current operator, carrier.mcc and carrier.mnc, and ported. At the basic level ported is null, because porting cannot be seen without the network. See the phone API reference for the fields and credit costs.

When to use the network level: before sending costly SMS campaigns, on high-value signups, for fraud review, or when you need the real carrier to route messages. For a simple form check, basic validation is enough.

Keep expectations honest. A lookup describes the line, never the person. Qelka does not return the name or address of the subscriber.

Frequently asked questions

What is an HLR lookup?
An HLR lookup asks the mobile network's Home Location Register about a phone number. The answer can tell you whether the number is active, which operator serves it now and whether it was ported from another operator. It does not send an SMS or ring the phone, and it does not reveal who owns the number.
Is an HLR lookup the same as phone validation?
No. Validation checks the number against the national numbering plan: length, prefix, country. An HLR-style lookup goes further and asks the live network about the current operator and porting. Validation is instant and offline, the network query is slower and costs more, so most signup flows validate first and query the network only when it matters.
Does an HLR lookup tell me if a phone is switched on?
Sometimes. Network queries can report whether a subscriber is reachable, but the result depends on the operator and the route, and a phone that is off or out of coverage looks the same as one that is disconnected. Treat it as a hint. Qelka's live level returns the current carrier and porting status, not a reachability promise.

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