Integrate HLR Lookup to your software

Whether you're integrating a web form, mobile app, third party service or desktop program you can activate a HLR Lookup in your service in under 3 minutes

Code
// Copy & paste the code snippet below

const axios = require("axios");

axios.post("https://api.hlrlookup.com/apiv2/hlr", {
  "api_key": "Your API KEY here",
  "api_secret": "Your API SECRET here",
  "requests": [{
    "telephone_number": "Your number here"
  }]
})
.then((response) => {
  console.log(response.data);
})
.catch((error) => {
  console.log(error);
});
// Copy & paste the code snippet below

import requests;

response = requests.post("https://api.hlrlookup.com/apiv2/hlr", json={
        "api_key": "Your API KEY here",
        "api_secret": "Your API SECRET here",
        "requests": [
                {"telephone_number": "Your number here"}
            ]
    })

print(response.json())
// Copy & paste the code snippet below

curl -H "Content-Type: application/json" -X POST -d '{"api_key":"Your API KEY here", 
"api_secret":"Your API SECRET here", "requests":[{"telephone_number": "Your number 
here"}]}' 'https://api.hlrlookup.com/apiv2/hlr'
// Copy & paste the code snippet below

$curl = curl_init("https://api.hlrlookup.com/apiv2/hlr");

$data = array(
  "api_key" => "Your API KEY here",
  "api_secret" => "Your API SECRET here",
  "requests" => array(
    array(
      "telephone_number" => "Your number here"
    )
  )
);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($curl, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);

$response = curl_exec($curl);
curl_close($curl);

echo "
$response
";
Developers
Developer Benefits
  • Worldclass secure integrations protecting your data

  • All the tools you need to globally validate and verify telephone numbers

  • Detailed analytics and reporting to management when you need them

  • Cost effective solution with no hidden fees

  • Dedicated support for developers with direct access to HLR Lookup software engineers

Knowledge Base

Explore our comprehensive Knowledge Base for more details on how to integrate our API to your application

How do I integrate the API

Follow our quickstart examples to easily test and receive results straight in your browser.

Learn more

How do I check my balance using the API?

You can quickly confirm your HLR Lookup balance using the simple HTTP request API

Learn more