IP Sidekick

FREE
By hboon
Updated 5 months ago
Location
-/10
Popularity Score
-
Latency
-
Success Rate

IP Sidekick API Documentation

IP Sidekick is a geolocation API that returns information about an IP address. You can use it to customize your content based on the visitor's location or display their country.

View API Details
GETLookup IP Address
GETLookup IP Address

Returns information about an IP address

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
ipSTRING
REQUIRED
Code Snippet
unirest.get("https://hboon-ip-sidekick-v1.p.rapidapi.com/{ip}")
.header("X-RapidAPI-Host", "hboon-ip-sidekick-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://hboon-ip-sidekick-v1.p.rapidapi.com/{ip}
Request Method: GET
Response Headers
Response Body

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.get("https://hboon-ip-sidekick-v1.p.rapidapi.com/{ip}")
.header("X-RapidAPI-Host", "hboon-ip-sidekick-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication