Blacklist IP

FREE
By tony11
Updated 4 months ago
Tools
8.2/10
Popularity Score
412ms
Latency
100%
Success Rate

Blacklist IP API Documentation

Rest api to verify if an IP has been blacklisted

View API Details
GET/ipv4/{ip}
GET/ipv4/{ip}

Check if an IP is blacklisted

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
ipSTRING
REQUIRED
Code Snippet
unirest.get("https://tony11-blacklist-ip-v1.p.rapidapi.com/ipv4/{ip}")
.header("X-RapidAPI-Host", "tony11-blacklist-ip-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://tony11-blacklist-ip-v1.p.rapidapi.com/ipv4/{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://tony11-blacklist-ip-v1.p.rapidapi.com/ipv4/{ip}")
.header("X-RapidAPI-Host", "tony11-blacklist-ip-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