HLR lookup explained: clean your numbers before you send
What an HLR lookup returns, when to use it, and how validating numbers upfront cuts wasted spend and protects your sender reputation.
In this article 3 sections
Every mobile network keeps a Home Location Register — a database of the subscribers it serves. An HLR lookup queries that database in real time to tell you whether a number is valid, which network it belongs to and whether it can receive messages right now.
What a lookup returns
- Validity — whether the number exists and is correctly formatted.
- Line type — mobile, landline, VoIP or toll-free.
- Current carrier — including numbers that have been ported to a new network.
- Reachability — whether the handset is active on the network.
- Country and normalised E.164 format.
GET http://hlr.intracent.com:42081/hlr/mccmnc_request?login=…&password=…&dnis=61468451461
{
"mccmnc": "505003",
"result": 0,
"ported": 1,
"source_type": "mnp",
"dnis": "61468451461"
}
When to use it
At sign-up
Validate phone numbers as users enter them. Catch typos and landlines before they become a failed OTP and a frustrated user.
Before a big campaign
Lists decay as people change numbers. Cleaning a list before a large send removes dead numbers, cuts cost and avoids the reputational damage of repeatedly hitting unreachable handsets.
For fraud screening
VoIP and recently ported numbers are frequently used in fraud. Checking line type lets you add friction for high-risk sign-ups.
Does it pay for itself?
A lookup costs a fraction of a message. On a list where even 5% of numbers are dead, cleaning before sending typically saves more than it costs — before you account for better deliverability on everything that follows.
The cheapest message is the one you never send to a dead number.