RapidAPI logo

Sign Up

Log In

NetTools

FREEMIUM
By easeit.cz
Updated 3 months ago
Tools
7.8/10
Popularity Score
546ms
Latency
100%
Success Rate

NetTools API Documentation

A collection of tools that allows you gather useful information about your customers. We provide IP to Host (PTR) and Host to IP (A, AAAA, CNAME) resolution in DNS, IP/IPv6, AS, Domain WHOIS lookup as well as location information based on IP or host name via GeoIP2 database.

View API Details
WHOIS
GETwhois
DNS
GETresolve
GETreverse
GeoIP
GETlocate
GETgetCountry
GETwhereAmI
GETwhois

Query whois information by IP, AS or Domain Name

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
querySTRING
REQUIRED
Optional Parameters
filterRawBOOLEAN
OPTIONALFilter the WHOIS server's RAW reply
Request Snippet
unirest.get("https://nettools.p.rapidapi.com/whois/{query}")
.header("X-RapidAPI-Host", "nettools.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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://nettools.p.rapidapi.com/whois/{query}")
.header("X-RapidAPI-Host", "nettools.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