RapidAPI logo

IP Info

FREE
By neutrinoapi
Updated 4 months ago
Location
9/10
Popularity Score
309ms
Latency
10%
Success Rate

IP Info API Overview

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.

Contact API Provider
star-blueRate
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", "community-neutrino-ip-info.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("reverse-lookup=false")
.send("ip=162.209.106.137")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication