How do I integrate the API
Follow our quickstart examples to easily test and receive results straight in your browser.
Learn more// Copy & paste the code snippet below
const axios = require('axios');
await axios.get('http://www.hlrlookup.com/api/hlr/',
{
params:
{
apikey: 'Your API KEY goes here',
password: 'Your PASSWORD goes here',
msisdn: 'The number to check goes here'
}
}).then(function (response)
{
console.log(response.data);
}).catch(function (error)
{
console.log(error);
});
// Copy & paste the code snippet below
function hlr_lookup($key, $password, $msisdn)
{
$curl = curl_init("http://www.hlrlookup.com/api/hlr/?apikey=$key&password=$password&msisdn=$msisdn");
curl_setopt($curl, CURLOPT_HEADER, 0);
curl_setopt($curl, CURLOPT_POST, 0);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($curl);
curl_close($curl);
return $response;
}
# Copy & paste the code snippet below
import requests
params = {'apikey': 'Your KEY', 'password': 'Your Password', 'msisdn': 'Number to Check'}
response = requests.get('http://www.hlrlookup.com/api/hlr/', params=params)
print(response.json())
// Copy & paste the code snippet below
public void hlr_lookup(string key, string password, string msisdn)
{
WebRequest webRequest = WebRequest.Create("http://www.hlrlookup.com/api/hlr/?apikey=" + key + "&password=" + password + "&msisdn=" + msisdn);
webRequest.Method = "GET";
WebResponse webResp = webRequest.GetResponse();
}
Explore our comprehensive Knowledge Base for more details on how to integrate our API to your application
Follow our quickstart examples to easily test and receive results straight in your browser.
Learn moreYou can quickly confirm your HLR Lookup balance using the simple HTTP request API
Learn moreDirectly query mobile networks worldwide from the centralised HLR Lookup service.
Access HLR Lookup