RapidAPI logo

Sign Up

Log In

IP Info

FREE
By neutrinoapi
Updated 2 months ago
Location
8.9/10
Popularity Score
516ms
Latency
9%
Success Rate

IP Info API Documentation

Get location information about an IP address. Depending on the specific IP address you can determine the country, region, city, longitude and latitude of the address. Our high quality database for geolocation data is being constantly updated as the internet address allocation changes (the database is usually updated at least once per month). This API can also be used to do reverse DNS (PTR) lookups.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
POSTIP Info
POSTIP Info
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
ipSTRING
REQUIREDIPv4 address
Optional Parameters
reverse-lookupBOOLEAN
OPTIONALDo reverse DNS (PTR) lookup. This option can add extra delay to the request so only use it if you need it
Request Snippet
unirest.post("https://community-neutrino-ip-info.p.rapidapi.com/ip-info")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("reverse-lookup=undefined")
.send("ip=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://community-neutrino-ip-info.p.rapidapi.com/ip-info")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("reverse-lookup=undefined")
.send("ip=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication