Web
Uptime / latency / cert snapshot API
Issues a GET and measures HTTP status, time to first byte, total time, downloaded body size, and redirect status, then for https URLs reads the TLS certificate's days-until-expiry — all in one call with health flags. The value-add: status + latency + payload size + redirect + cert expiry in a SINGLE normalized snapshot. Answers 'is this site up', 'how fast does this URL respond', 'what's the TTFB for this site', 'when does this site's SSL cert expire'.
Price$0.01per request
MethodPOST
Route/v1/web/ping
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
webpinguptimelatencyttfbmonitorcert-expiryhealthcheck
API URL
Integration docshttps://x402.hexl.dev/v1/web/pingExample request
{
"url": "https://example.com"
}Example response
{
"url": "https://example.com/",
"up": true,
"status": 200,
"finalUrl": "https://example.com/",
"redirected": false,
"ttfbMs": 142,
"totalMs": 158,
"bytes": 1256,
"contentLength": 1256,
"contentType": "text/html; charset=UTF-8",
"server": "ECAcc",
"cert": {
"issuer": "DigiCert Inc",
"validTo": "2027-03-01T23:59:59.000Z",
"daysUntilExpiry": 271,
"trusted": true
},
"flags": []
}Input schema
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"examples": [
"https://example.com"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}