StatDNS

PAID
By fcambus
Updated 5 months ago
Tools
7.9/10
Popularity Score
278ms
Latency
93%
Success Rate
linkusystems4 years ago
I subscribed, but now how do I connect through HTTP?I was using your API and the free version stopped working. I subscribed, but how do I get it to work over HTTP??? This is what I am using, but I use Classic ASP. http://api.statdns.com/[domainname]/ns
fcambus3 years ago
Hello, Sorry about this :( Yes, we will update the documentation on the API site to provide examples and link to alternate authentication methods available on Mashape. Meanwhile, you can access the content here : http://docs.mashape.com/auth-settings Regards.
4lGxqmy9kzDsq6PlGSVH3 years ago
Hello, happy to pay for your service. Can you please update the documentation ? I lost an hour on this :/ Cheers
fcambus4 years ago
Hi, Thanks for subscribing to StatDNS. Please use the following endpoint : https://statdns-v1.p.mashape.com/[domainname]/ns?mashape-key=YourMashapeSecretkey You can find your key in the documentation tab, check the example API calls and search for "X-Mashape-Key" to get your key. 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