NetTools

FREEMIUM
By easeit.cz
Updated 5 months ago
Tools
5.1/10
Popularity Score
513ms
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
Code 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
General
Request URL: https://nettools.p.rapidapi.com/whois/{query}
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://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