BroadNet
The JournalTelecom
Telecom

Using HLR lookup to cut messaging spend and lift deliverability

An HLR lookup shows which numbers are real, active, and correctly routed before you send — so you stop paying to message the void and protect your delivery rates.

BroadNet Operator Solutions
4 min read
Operators · Issue 11
4 min read

very SMS you send costs something, whether it reaches a real handset or disappears into a disconnected number. On a small list that waste is invisible. Across millions of messages a month it becomes a line item — and it quietly drags down deliverability at the same time. An HLR lookup is the cheapest way to see, before you send, which numbers are worth sending to.

HLR stands for Home Location Register: the database each mobile operator keeps of its live subscribers. A lookup queries that register and returns the current state of a number without sending anything the recipient can see. Gathered in advance, that single fact changes both what you pay and what actually gets delivered.

What an HLR lookup actually returns

A lookup does not tell you who owns a number or where they are standing. It returns the network facts you need to route and cost a message correctly:

  • Number validity — whether the MSISDN is a real, assigned number in a working range
  • Subscriber status — whether the number is active, switched off, or unreachable
  • MCC and MNC — the country and network codes that identify the operator
  • Current operator — the network the number is on right now, which matters once a number has been ported
  • Ported status — whether the number has moved away from the operator its prefix implies
  • Roaming — whether the subscriber is currently on a network outside their home country

Together these turn a raw phone number into something you can make decisions about.

Pruning invalid and inactive numbers before you pay to send

Every list decays. People change numbers, cancel plans, and mistype during signup. When you submit those numbers to a gateway, many still cost you a submission — you are paying to send into the void and get nothing back but a failed or silently dropped message.

Running an HLR lookup across a list first lets you drop numbers that are invalid, unassigned, or long dead before they ever enter a campaign. You send to fewer numbers, but the ones you keep are real. The saving is not a headline percentage; it is the simple removal of spend on messages that were never going to arrive.

Ported-number detection and correct routing

Number portability is where a lot of quiet failure lives. A number's prefix used to be a reliable signal of its operator; today a subscriber can keep the same number and move to a different network. Route on the prefix alone and a message can be priced wrong, delivered late, or rejected outright.

Because an HLR lookup returns the current operator rather than the historical one, it lets you route each message to the network the number is genuinely on. Correct routing means fewer rejections, more predictable per-message cost, and delivery reports you can trust.

Protecting deliverability, reputation, and critical messages

Deliverability is not only about the message — it is about the pattern of your traffic. A stream of sends into invalid and inactive numbers produces a high failure rate, and operators read consistent failure as a signal of low-quality traffic. Over time that can affect how your route is treated.

Cleaning the list before you send flattens that failure curve. Your throughput goes toward reachable subscribers, your delivery ratio reflects real audiences, and the reputation of your sender and route stays intact.

The stakes rise for one-time passcodes and two-factor messages, where deliverability is the product. A code that arrives late or not at all is a failed login, an abandoned checkout, or a support ticket. Validating the destination first — confirming the number is real, active, and correctly routed — removes a whole class of silent failures from the flow where they hurt most.

Batch cleaning vs real-time validation

There are two moments to use a lookup, and most senders need both.

Batch cleaning runs a lookup across an existing database: before a large campaign, or on a schedule to keep a long-lived list healthy. It is how you recover a list that has been collecting numbers for years.

Real-time validation runs a single lookup at the point of capture — a signup form, a checkout, an account update. Catching an invalid or mistyped number the moment it is entered stops bad data from entering the system at all, which is far cheaper than cleaning it out later.

When not to over-rely on it

An HLR lookup is a snapshot, not a guarantee. It tells you a number was reachable at the moment of the query, not that the person will read your message or that the handset is on right now. Some networks return limited or cached data, and a reachable result never implies consent to message someone.

Treat it as one layer. Pair list hygiene with clean routing, sensible retry logic, and proper opt-in. Used that way — across the 1,000+ operator connections BroadNet has built since 2003 — a lookup does one thing well: it keeps the money and effort you spend on messaging pointed at numbers that can actually receive it.

Was this useful?

How we write and review content

Written by

BroadNet Operator Solutions

Operator Solutions builds and runs SMS firewalls, SS7 protection, and revenue assurance for mobile operators. They have been doing it on MENA networks since 2003. They write about what they see.

The Journal, by email

One essay a month. Nothing else.

Subscribe and we'll send the next piece — engineering, regulation, or industry — the day it ships. No drip campaigns, no product pitches, no third-party sharing. Unsubscribe in one click.

We send one email a month. Unsubscribe anytime. See our privacy policy.

What you'll get
  • Long-form, not link bait
    Six to eleven minutes of focused writing on a single topic.
  • Written by operators
    Engineers, regulatory leads, and product writing in-house.
  • Region-aware
    MENA-grounded view on regulators, operators, and channel mix.
  • Once a month
    No drip campaign. One essay when there is one to share.
Stop reading. Start shipping.

Most of what we write we learned in production.

If this piece made you nod, we should probably talk. Bring the use case, the volumes, the markets — we'll come back with routing, pricing, and a reference customer you can call.

$ curl -X POST https://api.broadnet.me/sms/sendSms