Your details

Loading...

Get started now

curl https://www.iplocate.io/api/lookup/54.225.16.10
const request = require('request');

request.get({ url: 'https://www.iplocate.io/api/lookup/54.225.16.10', json: true }, (error, response, body) => {
  console.log(JSON.stringify(body));
});
$.getJSON('https://www.iplocate.io/api/lookup/54.225.16.10', function(data) {
  alert(JSON.stringify(data));
});
require 'rest-client'

response = RestClient.get 'https://www.iplocate.io/api/lookup/54.225.16.10'

puts response.inspect
<?php
$res = file_get_contents('https://www.iplocate.io/api/lookup/54.225.16.10');
$res = json_decode($res);

var_dump($res);

Powerful IP geolocation API

  • 1,500 free requests per day
  • Get started with one line of code
  • Super fast response times
  • Secure (HTTPS) by default

Pricing

It's super simple, we promise

Free

 

  • 1,000 daily requests
  • Self support
  •  

Get started

$15

Per month

  • 10,000 daily requests
  • Email support
  • Help with integration

$50

Per month

  • Unlimited daily requests
  • Email support
  • Help with integration

Documentation

This is the easy part

We host nice looking documentation on Apiary, or you can check out our quick start docs below.

To look up information for an IP address, make a GET request to https://www.iplocate.io/api/lookup/:ip_address, replacing :ip_address with your desired IP address.

For example, https://www.iplocate.io/api/lookup/54.225.16.10

Data format

JSON is our default. Use a different format by appending .json, .yaml, .xml, or .csv:
e.g. https://www.iplocate.io/api/lookup/54.225.16.10.xml

JavaScript callback

To receive your data as a JavaScript callback (JSONP), use the JSON format with a callback query parameter - like so
e.g. https://www.iplocate.io/api/lookup/54.225.16.10.json?callback=my_javascript_function

Authentication

Add your API key with the X-API-Key header or apikey query parameter.
e.g. https://www.iplocate.io/api/lookup/54.225.16.10?apikey=abcdef1234

No authentication is necessary for free requests.