Conference Campaign Solo Rich Messaging

Identity and Location

Identity verification and routing intelligence for telecoms and IT services.


HLR Lookup

Gain trust through identity verification using IP lookup, mobile and email. Phone number lookup for optimising routing.

Categories: Messaging 

Identity verification is an essential part of online transactions between businesses and individuals. Digital identities, financial accounts, IP address and the physical address of a person often need to be associated with each other to conduct transactions of value.

Location API : Mobile Number Lookup / HLR Lookup

The Location API of the Identity and Location service can be used to lookup the mobile network of a mobile phone number. This information can provide a means of more intelligent routing of calls and messages to the mobile number.

Perform mobile number lookup using the Identity and Location service with RESTful Location API
Example using cURL, Node.js and Python

Request:

curl --location --request POST https://api.melroselabs.com/location/telno/447700000000 \
	--header 'x-api-key: [API_KEY]' 

Response:

{
  "subject": "447700000000",
  "number": {
    "country": "44",
    "ndc": "7700",
    "subscriber": "000000"
  },
  "geo": {
    "country_name": "United Kingdom",
    "country_code": "GB",
    "continent": "Europe",
    "continent_code": "EU"
  },
  "network": {
    "name": "Vodafone",
    "mccmnc": "234-15",
    "geoHome": {
      "country_name": "United Kingdom",
      "country_code": "GB",
      "continent": "Europe",
      "continent_code": "EU"
    },
    "geoCurrent": {
      "country_name": "United Kingdom",
      "country_code": "GB",
      "continent": "Europe",
      "continent_code": "EU"
    }
  }
}

Request:

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://api.melroselabs.com/location/telno/447700000000',
  'headers': {
    'x-api-key': '[API_KEY]'
  }
};
request(options, function (error, response) { 
  if (error) throw new Error(error);
  console.log(response.body);
});

Response:

{
  "subject": "447700000000",
  "number": {
    "country": "44",
    "ndc": "7700",
    "subscriber": "000000"
  },
  "geo": {
    "country_name": "United Kingdom",
    "country_code": "GB",
    "continent": "Europe",
    "continent_code": "EU"
  },
  "network": {
    "name": "Vodafone",
    "mccmnc": "234-15",
    "geoHome": {
      "country_name": "United Kingdom",
      "country_code": "GB",
      "continent": "Europe",
      "continent_code": "EU"
    },
    "geoCurrent": {
      "country_name": "United Kingdom",
      "country_code": "GB",
      "continent": "Europe",
      "continent_code": "EU"
    }
  }
}

Request:

import requests
import json

url = "https://api.melroselabs.com/location/telno/447700000000"

headers = {
  'x-api-key': '[API_KEY]'
}

response = requests.request("POST", url, headers=headers)

print(response.text.encode('utf8'))

Response:

{
  "subject": "447700000000",
  "number": {
    "country": "44",
    "ndc": "7700",
    "subscriber": "000000"
  },
  "geo": {
    "country_name": "United Kingdom",
    "country_code": "GB",
    "continent": "Europe",
    "continent_code": "EU"
  },
  "network": {
    "name": "Vodafone",
    "mccmnc": "234-15",
    "geoHome": {
      "country_name": "United Kingdom",
      "country_code": "GB",
      "continent": "Europe",
      "continent_code": "EU"
    },
    "geoCurrent": {
      "country_name": "United Kingdom",
      "country_code": "GB",
      "continent": "Europe",
      "continent_code": "EU"
    }
  }
}

The Melrose Labs Identity and Location service is available using the following API:

Location API : IP Lookup

The Location API of the Identity and Location service can be used to lookup the geographic location of an IP address.

Perform IP lookup using the Identity and Location service with RESTful Location API
Example using cURL

Request:

curl --location --request POST https://api.melroselabs.com/location/ip/194.247.82.140 \
	--header 'x-api-key: [API_KEY]' 

Response:

{
  "subject": "194.247.82.140",
  "geo": {
    "city": "Edinburgh",
    "country_name": "United Kingdom",
    "country_code": "GB",
    "continent": "Europe",
    "continent_code": "EU",
    "latitude": "55.543",
    "longitude": "-3.141",
    "timezone": "GMT",
    "weather_code": "UKXX0052",
    "postal_code": "EH3 8LB"
  }
}

Request:

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://api.melroselabs.com/location/ip/194.247.82.140',
  'headers': {
    'x-api-key': '[API_KEY]'
  }
};
request(options, function (error, response) { 
  if (error) throw new Error(error);
  console.log(response.body);
});

Response:

{
  "subject": "194.247.82.140",
  "geo": {
    "city": "Edinburgh",
    "country_name": "United Kingdom",
    "country_code": "GB",
    "continent": "Europe",
    "continent_code": "EU",
    "latitude": "55.543",
    "longitude": "-3.141",
    "timezone": "GMT",
    "weather_code": "UKXX0052",
    "postal_code": "EH3 8LB"
  }
}

Request:

import requests
import json

url = "https://api.melroselabs.com/location/ip/194.247.82.140"

headers = {
  'x-api-key': '[API_KEY]'
}

response = requests.request("POST", url, headers=headers)

print(response.text.encode('utf8'))

Response:

{
  "subject": "194.247.82.140",
  "geo": {
    "city": "Edinburgh",
    "country_name": "United Kingdom",
    "country_code": "GB",
    "continent": "Europe",
    "continent_code": "EU",
    "latitude": "55.543",
    "longitude": "-3.141",
    "timezone": "GMT",
    "weather_code": "UKXX0052",
    "postal_code": "EH3 8LB"
  }
}

The Melrose Labs Identity and Location service is available using the following API:

Follow us on LinkedIn for updates on Melrose Labs Identity and Location and our other services.

Service snapshot

  • Verify identity using mobile number and email address
  • Lookup geographic location using IP address
  • Lookup mobile network using telephone number
  • HLR lookup

Find out more...

Please provide your first name.
Please provide your last name.
Please provide a valid company name.
Please provide a valid email address.
Please type your message.