Web
HTTP headers / status API
Fetch a URL and return its status code, response headers, and final URL after redirects. Answers 'what status does this URL return', 'show the response headers', 'what content-type does this serve', 'check security headers'.
Price$0.01per request
MethodPOST
Route/v1/web/http-headers
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache120s public
webhttpheadersstatusdebugsecurity-headers
API URL
Integration docshttps://x402.hexl.dev/v1/web/http-headersExample request
{
"url": "https://example.com"
}Example response
{
"url": "https://example.com",
"finalUrl": "https://example.com/",
"status": 200,
"redirected": false,
"headers": {
"content-type": "text/html"
}
}Input schema
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"examples": [
"https://example.com"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}