Made with PHP
In production: Hawk
Visit the demo here
API is currently open to anyone and you don't need an API key.
-
Just perform a POST or GET request to
https://dow-api.herokuapp.com/?url=<site-name-entered-by-user>
-
The Server will return JSON like this: (Ex: https://www.google.com)
{
"status": "Up",
"latency": 4668.242775,
"code": 200,
"size": 46680,
"speed": 0.01,
"lookup": 16.587,
"establish": 20.562,
"content": "text\/html; charset=ISO-8859-1",
"ssl": "Google Internet Authority G2",
"sslexp": "May 8 10:39:00 2018 GMT",
"checkTime": "2018-03-01 17:26:04"
}
- All you have to do is parse the JSON.
If you are interested, check out the demo page and view the source code
To test if your site/API is working, you can do this: https://dow-api.herokuapp.com/test-codes?code=<any-reponse-code>
MIT LICENSE
Made with ❤️ and 🎧 by akaanksh