StatDNS

PAID
By fcambus
Updated 5 months ago
Tools
7.8/10
Popularity Score
278ms
Latency
93%
Success Rate
lirbank3 years ago
Cancel subscriptionHi, How do I cancel my subscription (or move it to a free tier)?
fcambus3 years ago
Hi, No worries, it was nice to have you onboard. Regards.
lirbank3 years ago
Ok, great! I didn't even see the button for it. Found it now, thanks! Love the service, but we have shut down the service we used it for so don't need it anymore. Cheers
fcambus3 years ago
Hi, You can cancel at any time by selecting Unsubscribe from the API plan page. There is no free tier anymore. 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