BroadNet
Fundamentals BroadNet answer

HLR lookup vs MNP — what's the difference?

Last reviewed 1 min readReviewed by BroadNet engineering
Quick answer

An HLR lookup and MNP are two sides of number intelligence: an HLR (Home Location Register) lookup queries a mobile network over SS7 to confirm whether a number is live and which operator now serves it, while MNP (mobile number portability) is the rule that lets subscribers keep their number when switching operator. Because ported numbers break the old prefix-to-operator mapping, an HLR lookup is how you find a number's real current network.

Plain-language definitionVendor-neutralReviewed July 30, 2026
The long answer

Everything worth knowing, nothing that isn't.

§01

What an HLR lookup does

An HLR lookup sends an SS7 MAP Send-Routing-Info-for-SM query toward the number's home network and reads back the record: whether the MSISDN is a valid, active subscriber, whether it is currently reachable or roaming, and which operator (MCC/MNC) serves it right now. It is a real-time question — 'is this number good, and where does it live?' — answered by the network itself, not a static database.

  • An SS7 MAP query against the number's home register.
  • Returns active/inactive, reachable/roaming, and current operator.
  • Real-time and network-authoritative, not a guess from the prefix.
  • Used to clean lists and route correctly before you send.
§02

What MNP is, and why it breaks prefix routing

Mobile number portability is a regulatory right, not a query: subscribers can move to a new operator and keep their number. That convenience destroys the old assumption that a number's prefix (its number range) tells you the operator. After a port, a number that 'looks like' operator A is actually served by operator B. Route or price by prefix alone and you will send to the wrong network — over-paying, mis-routing, or failing delivery.

  • MNP is a regulation letting subscribers keep their number.
  • It breaks the prefix-to-operator mapping routing once relied on.
  • A ported number's prefix no longer identifies its real network.
  • Common across MENA, Europe, and most modern markets.
§03

How they work together

MNP creates the problem; the HLR lookup solves it. Because you can no longer trust the prefix, you run an HLR lookup to discover the true current operator — including the ported status — before you route or bill a message. That is why number-intelligence products bundle both: HLR for live status and MNP resolution so every message goes to the network that actually holds the subscriber, at the right rate.

  • MNP is the reason prefix routing is no longer safe.
  • The HLR lookup returns the real, post-port operator.
  • Validate before sending to avoid mis-routing and over-billing.
  • See BroadNet HLR Lookup for real-time MSISDN validation.

HLR lookup vs MNP at a glance

HLR lookupMNP
What it isA real-time network queryA regulatory right / framework
AnswersIs it live, and who serves it now?Can a subscriber keep their number?
MechanismSS7 MAP SRI-SM queryRegulated porting between operators
OutputOperator, active status, roaming, ported flagA number that no longer matches its prefix
Why you careValidate and route correctly before sendingPrefix routing is no longer reliable
BNWritten by the BroadNet engineering team·Operating carrier-grade messaging since 2003, headquartered in Dubai·Editorial standards
FAQ

Frequently asked questions

Does an HLR lookup tell me if a number has been ported?
Yes. The lookup returns the operator that actually serves the number now, which reflects any MNP port — so it detects ported numbers and gives you the correct current network.
Is MNP something I can query?
MNP itself is a regulation, not an API. What you query is the resulting state — the number's current operator — via an HLR lookup or a dedicated MNP database, which resolves where a ported number really lives.
Why not just route by the number's prefix?
Because MNP means the prefix can lie. A number that starts like operator A may have ported to operator B. Routing or pricing by prefix alone causes mis-delivery and wrong billing; an HLR lookup gives you the truth.
Build with this

Need help wiring this up?

The pages below are the products and integration guides that put this concept on the wire. If you'd rather walk through it live, our engineering team takes calls same-day during MENA working hours.

Talk to our engineering team
Feedback

Was this answer helpful?

Your vote helps us prioritise which answers to expand with examples, diagrams, and code snippets.

Was this answer helpful?
Thanks — noted. We'll keep this answer maintained.
Got it. Tell us what was missing — send a quick note.

How we write and review content

Still need help?

Talk to a real engineer about your build.

We reply within one business day, and production accounts get 24/7 support. Our solutions engineers ship code, not scripts.

$ curl -X POST https://api.broadnet.me/sms/sendSms
Response SLA
Test-access requestsReply within 1 business day
Production24 / 7 · < 15 min
Operator NOC24 / 7 · pager