- Takes: Phone number
- Active: contacts the target
- Cost: Charged per lookup in EUR (the response has the cost)
Synchronous. connectivity_status is CONNECTED, ABSENT, INVALID_MSISDN or UNDETERMINED; data_source is LIVE_HLR or MNP_DB. IMSI, MSIN and MSC are only filled where the network provides them.
Request body (JSON) · 3ShowHide
msisdn
Number in international format, e.g. +15550100
route
Optional 3-character route id; omit to use your routing map or automatic routing
storage
Optional report name the result is stored under
Response fields · 15ShowHide
id
12-character lookup id
msisdn
Number queried
connectivity_status
CONNECTED, ABSENT, INVALID_MSISDN or UNDETERMINED
mccmnc
Current network code
original_network_name
Original network
original_country_code
Original country code
is_ported
Whether the number was ported
ported_network_name
Network it was ported to
is_roaming
Whether the subscriber is roaming
roaming_network_name
Roaming network, if available
cost
Charge in EUR
processing_status
COMPLETED, REJECTED or FAILED
data_source
LIVE_HLR or MNP_DB
error_code
Error code, if any
error_description
Error text, if any
curl -X POST 'https://www.hlr-lookups.com/api/v2/hlr-lookup' \
-u 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{"msisdn":"+15550100","route":null,"storage":null}'{
"id": "f94ef092cb53",
"msisdn": "+15550100",
"connectivity_status": "CONNECTED",
"mccmnc": "310260",
"original_network_name": "Example Mobile A",
"original_country_code": "US",
"is_ported": true,
"ported_network_name": "Example Mobile B",
"is_roaming": false,
"roaming_network_name": null,
"cost": "0.0100",
"processing_status": "COMPLETED",
"data_source": "LIVE_HLR",
"error_code": null,
"error_description": null
}