StatDNS

PAID
By fcambus
Updated 5 months ago
Tools
7.8/10
Popularity Score
278ms
Latency
93%
Success Rate
jmendes3 years ago
Yearly SubscriptionHi, Is there any possibility for yearly subscriptions instead of monthly. Thanks, João Mendes
fcambus3 years ago
Hello, All plans are based on a recurring monthly subscription, it is unfortunately not possible to pay in advance. Regards.
Hi Developer, feel free to post your answer:

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://statdns-v1.p.rapidapi.com/{domain}/{querytype}")
.header("X-RapidAPI-Host", "statdns-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