Docs · Reference
HTTP Headers & Security Check
GET /v1/url/headers1 credit / requestcache 10 minThe HTTP response headers of any URL with the full redirect chain (status and timing of every hop), compression, caching and CDN details, and a security-headers grade (HSTS, CSP, clickjacking, MIME sniffing, Referrer-Policy, Permissions-Policy, COOP/CORP) with a 0-100 score, an A-F grade and plain-English findings. Responses with HTTP 401/403/429 or 5xx are returned but not charged.
Query parameters
urlstring · required | Public http(s) URL to request. |
max_ageinteger | Accept a cached answer up to this many seconds old, billed at 50%. |
Response data fields
Example
curl "https://api.gridlode.com/v1/url/headers?url=https%3A%2F%2Fexample.com%2F" \
-H "Authorization: Bearer $GRIDLODE_KEY"Try it without code on the HTTP Headers & Security Check API page.