By fcambus
Updated 5 months ago
Popularity Score
Success Rate
dntrader3 years ago
API timeout - statdnsHello, I am trying to run a TEST ENDPOINT through the page "" by entering required details. But I am getting error as "Sorry, it appears the endpoint is not responding!". Also I have tried to find out the proper documentation to integrate statdns API in my code, but I could not find it, can you please help me in this? I have tried integrating PHP code and ran a statdns API, and got below error: # Fatal error: Uncaught exception 'Unirest\Exception' with message 'Operation timed out after 0 milliseconds with 0 out of 0 bytes received' # Can you provide steps to integrate statdns paid API ? Thanks
fcambus3 years ago
Hello, To authenticate using query parameters, the correct endpoint to call in this case would be : Regarding PHP code samples, Mashape has an article entitled [30+ ways to make REST calls]( with a section covering PHP, there might be something interesting. Please regenerate an API key as soon as you read this, as this issue tracker is public and anyone reading past issues now has access to your API key. Regards.
dntrader3 years ago
Hello, Thanks for the response. I have checked the auth settings page, and tried to run the API using below url: And also below: But I am not sure whether I am doing the right thing. Regarding PHP code, Is there any code sample available which I can use without unirest library? Thanks
fcambus3 years ago
Hello, For information the API endpoint URL is and not If you cannot get Unirest working in your PHP code, you can perform API requests directly, without using the library. Available authentication options are detailed here : Regards.
dntrader3 years ago
Do you have an answer for this error?
Hi Developer, feel free to post your answer:

Install SDK for NodeJS


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

.header("X-RapidAPI-Host", "")
.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