HLR lookup: what it tells you and how to route
Plain-English HLR lookup explained. What data you get, how it differs from LNP, and how to use it to screen and route calls in lead‑gen.
Telecom engineering and support at CallFlow (ALERTSIO LLC)

An HLR lookup tells you whether a mobile number exists and which network now serves it. You use that result to screen or route calls by line type and carrier before you connect to a buyer or agent. In pay-per-call, this means steering good callers to your best buyers and sending obvious junk or unreachable numbers to a safer path.
What an HLR lookup actually is
An HLR lookup (home location register lookup) is a query to a mobile operator’s HLR. That database knows whether a SIM is provisioned and which mobile network serves that number today. In many countries, direct HLR access is limited or filtered, and some operators don’t return live reachability at all. Results vary by region and by the policies of each operator.
In the United States and some other markets, you don’t query the mobile operator directly. You dip (query) the number portability database instead to learn the current serving carrier. In practice, a number portability lookup is what drives routing for most US work, while HLR is more common for mobile validation in some non-US markets.
We’ll carry one example through the article: you run a pay-per-call campaign. You buy traffic nationwide, and you want to route only real, reachable mobile and fixed lines to buyers. You also want to avoid disposable non-fixed VoIP and dead numbers and catch any buyer line that’s out of service before forwarding.
HLR vs LNP dip: what’s the difference and when to use each
HLR is about mobile subscriber records. It answers whether a mobile number exists on a mobile operator and, in some countries, whether it is reachable at the time of the query. It does not cover landlines or many VoIP numbers, because those have no HLR.
LNP/MNP (local/mobile number portability) dips read a country’s portability database to learn which carrier currently serves the number, regardless of the original assignment. An LNP dip applies to all portable numbers in that country (mobile and, where permitted, fixed lines). It returns carrier information, not handset status.
Here’s what each can return in practice. Both HLR and portability can tell you the current carrier, the original carrier, and whether the number was ported. Some non-US markets also expose a “reachable” or “active” indicator for mobiles. That means the operator believes SMS or voice delivery should work at the network level at the moment of the check. Neither method tells you if the phone is powered on, who the subscriber is, or where the user is located.
Country notes matter. The US relies on the LNP ecosystem built around NPAC (the US number-portability database). In the US, routing relies on portability data; live HLR isn’t used for routing. India, the Philippines, Thailand, Bangladesh, and Pakistan operate their own MNP systems with varying access and freshness. Landlines and many VoIP numbers in all these countries have no HLR, so you use portability and line-type verification instead.
Comparison at a glance:
| Method | Scope | Typical outputs | Line types covered | Common use |
|---|---|---|---|---|
| HLR lookup | Mobile operators’ HLRs (where accessible) | Current carrier, original carrier, ported flag; sometimes mobile reachability | Mobile only | Validate mobile existence; filter unreachable mobiles in some non-US markets |
| LNP/MNP dip | National portability database | Current carrier, original carrier, ported flag | Mobile and portable fixed lines | Determine serving carrier for routing and billing |
| Line-type check | Number intelligence services | Mobile, landline, fixed VoIP, non-fixed VoIP | All numbers | Screen disposable/non-fixed VoIP; choose buyer paths |
If your goal is carrier validation for routing, use LNP/MNP where it’s the norm (for example, the US). If your goal is mobile reachability in a country where HLR reachability is reliable, add HLR for mobiles. In all cases, pair it with line-type verification so you treat non-fixed VoIP and landlines appropriately.
What data you can expect from HLR/LNP and line-type checks
The most common fields are current carrier (who serves the number now), original carrier (the block the number came from), and a ported flag. In mobile contexts you may also see network identifiers such as MCC and MNC (country and mobile network codes), which can help normalize carriers that brand under different names. A portability dip gives you the serving network today, which is what you need for routing calls and understanding which network completes and bills the call.
Line-type verification tells you if the number is mobile, landline, fixed VoIP, or non-fixed VoIP. “Fixed VoIP” is a number tied to a service address, often a business or home. “Non-fixed VoIP” is a virtual number that can be opened with light or no KYC (identity checks to open an account). In lead-gen, non-fixed VoIP often correlates with disposable dialers, tool-based traffic, or call farms. That doesn’t mean every non-fixed caller is bad, but it’s a signal to screen or route with more care.
Some markets return “reachable” or “active” for mobile numbers. Treat this as a deliverability hint, not a promise that a human will answer. Reachability can fail a minute later because the phone goes out of coverage. The opposite is also true: a brief network hiccup can make a good number look unreachable for a moment.
Accuracy has limits. Providers cache results to keep dips fast and affordable, and carriers may block or throttle live HLR queries. Very recent ports can take time to show in every database. When a lookup times out or returns “unknown,” you need a safe default path: a light IVR (interactive voice response, a simple phone menu), a lower-priority buyer, or voicemail, not a hard block. For a deeper discussion of carrier data quality, see phone carrier lookup.
Use HLR and line-type data in lead-gen routing
Back to the campaign. A caller dials your tracking number. At call start, you read the caller ANI (the number the network sends for the caller) and run carrier and line-type checks. In the same workflow, you pre-check each buyer’s destination number daily so you don’t forward to a dead or unreachable line.
Practical rules work well here. Send non-fixed VoIP callers through a short IVR (“Press 1 to connect”) to discourage bots and drive them to a separate buyer that accepts that traffic. Route mobiles first to buyers that can also follow up by SMS. Send invalid or unreachable numbers to voicemail with a short “we missed you” prompt. Keep answer times tight. Set ring timeouts (for example, 20 seconds), then fail over by priority or weights so the call lands with someone who picks up.
Portability breaks the old rule that area code equals location. If a buyer pays by state, confirm it. Use a one-digit IVR: “Are you calling about service in Florida? Press 1 for yes.” Or ask for a ZIP. This keeps you on-side with buyer terms. For the trade-offs of area code inference, see area code vs state routing. For broader routing patterns, see lead routing.
Here’s what that flow looks like.
You can also add buyer call windows (the hours a buyer accepts calls). If Buyer 1 is closed, drop those mobile calls down to Buyer 2 or to a queue with hold music. For buyers with daily caps, use caps in the router and let overflow fall to the next buyer in the same mobile branch.
Limits, gotchas, and safe defaults
There are things you’ll never get from HLR, LNP, or any carrier dip. You can’t see if the handset is on or off, the user’s GPS location, or the subscriber’s identity. Expect carrier answers about service status and network ownership, nothing more.
Never rely only on area code for location. A New York area code might live in Texas after a port. If buyer terms hinge on state, confirm it with a short IVR or a ZIP. If you must pre-qualify before ringing a buyer, keep that IVR to one digit so good calls don’t hang up.
When a lookup fails or times out, route conservatively. Don’t throw the call away. Send it to a screening IVR, a secondary buyer, or voicemail, and log the reason. Pair lookups with other light filters: a per-number spam score, gentle rate limits per calling number, and basic VoIP-caller blocking. If you handle abusive bursts or tool-based calls, see the inbound fraud playbook.
Set it up and test it end to end
Run lookups in two places. First, at call start on the caller ANI for screening and routing. Second, during buyer onboarding and then on a schedule for their destination numbers, to avoid forwarding to dead lines or mis-routed ports. A number that rang fine last week might port or be disconnected today.
Build a simple test plan. Use one known mobile, one landline, one fixed VoIP, and one non-fixed VoIP. Make a set of calls and confirm each path behaves as designed: mobiles go to your mobile buyers, non-fixed VoIP hits the short IVR, landlines route to the right pool. If you can, port a test number between carriers and watch the “ported” flag and serving carrier update in your logs. Keep an eye on real-time call logs to catch any lag or caching.
If you wire the logic into an HLR lookup API, place the call to the API early in the flow. Set a tight timeout with a fallback path. Cache results for reasonable intervals per country rules, but always fall back to the routing default if the cache is stale. For help choosing fields and normalizing carriers, see line-type lookup for lead forms.
One short aside: CallFlow includes HLR/line-type lookup, VoIP-caller blocking, and spam-score monitoring you can attach to routing rules. You can build the branches shown above with priority, weighted, and round-robin routing, add per-buyer call windows and caps, and watch real-time logs and scheduled email reports.
Plan for ongoing quality assurance (QA). Track answer rates, talk time, and short calls by result type: mobile, landline, fixed VoIP, non-fixed VoIP, unreachable. If you see good calls misrouted into the IVR, loosen that filter. If a buyer suddenly stops answering, you’ll see a rise in ring-outs or voicemail hits on that branch. Cap or pause that buyer until they fix it. Schedule daily reports so you don’t find a routing mistake a week later.
Get this logic right once, then keep it honest with data. Route by what the network actually says about a number: line type, serving carrier, and basic reachability. You waste less time on junk and get more paid calls to buyers who pick up. If you’re ready to build this flow, you can set up a CallFlow account or talk with us.
Frequently asked questions
Is HLR lookup free?
No, HLR (home location register) lookups are not universally free. They are performed by querying operator or portability databases, and most providers charge per query or bundle queries into a service. For routing, you typically pay for the dip as part of a number-intelligence workflow, and you should budget for regular checks if you refresh carrier or line-type data before forwarding calls.
Can an HLR lookup show a phone’s location or if it’s powered on?
No. An HLR lookup can indicate whether a mobile number is provisioned and, in some countries, whether the network considers it reachable, but it cannot show a handset’s GPS location or confirm the phone is powered on. Treat any "reachable" flag as a momentary network hint, not proof a person is available to answer.
Does HLR lookup work for landlines and VoIP numbers?
No. HLR queries target mobile subscriber records only, so landlines and most VoIP numbers are not covered. For those, you use portability (LNP/MNP) dips and line-type checks, which can tell you if a number is a landline, fixed VoIP, or non-fixed VoIP and help you route or screen calls appropriately.
How fresh are portability (LNP/MNP) records compared with HLR data?
Portability (LNP/MNP) data is the authoritative source for who currently serves a number in markets that use it, and it’s what routing relies on in places like the US. HLR reachability can be fresher for mobile status in some non-US markets but is often limited or cached. Very recent ports or live reachability changes can take time to appear, so plan safe fallback routes.
Do HLR or LNP checks raise privacy or compliance issues for call routing?
These checks return network and line-type metadata, not subscriber identity or location, so they are low risk from a personal data perspective. Still, use the results only for routing and fraud filtering, and avoid storing sensitive identifiers longer than needed. If you use them in pay-per-call workflows, pair checks with short IVRs or consent prompts to meet buyer terms and compliance requirements, and CallFlow supports these routing and IVR controls.
From the team
CallFlow Engineering TeamTelecom engineering and support at CallFlow (ALERTSIO LLC)
The engineers and support staff who build and operate CallFlow's call-routing platform. We write from what we see running inbound routing for pay-per-call marketers, agencies and small businesses every day: routing rules, carrier behaviour, spam flags, and the configuration mistakes that quietly cost calls.
Ready to get started with CallFlow?
No subscription. Transparent usage billing. Per-number spam scores. Built for scale.
Create Free Account →