Skip to content

HTTP Status Check API

This API performs a real-time health check on any URL. It measures the response time (latency), captures the HTTP status code, and identifies the server IP.

POST /api/v1/http-status

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
urlstringYesThe URL to inspect.
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/http-status \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"url": "https://github.com"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"url": "https://github.com",
"status": "UP",
"code": 200,
"latency": "145ms",
"ip": "140.82.121.3"
}
}