RapidAPI logo

IP Utils

FREE
By marksutuer
Updated 4 months ago
4/10
Popularity Score
46ms
Latency
100%
Success Rate

IP Utils API Documentation

A simple component helping with IP functionalities

View API Details
GETgetMyIp
GETresolveIp
GETgetMyIp

Get the client's Ip address

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
_methodSTRING
REQUIRED - CONSTANT
Code Snippet
unirest.get("https://mark-sutuer-ip-utils.p.rapidapi.com/api.php?_method=getMyIp")
.header("X-RapidAPI-Host", "mark-sutuer-ip-utils.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://mark-sutuer-ip-utils.p.rapidapi.com/api.php
Request Method: GET
Response Headers
Response Body
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.get("https://mark-sutuer-ip-utils.p.rapidapi.com/api.php?_method=getMyIp")
.header("X-RapidAPI-Host", "mark-sutuer-ip-utils.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