{"uid":"cap__Jezi2UL17YDjB36M8B5U","slug":"saylor-innovations-http-security-header-auditor-52db4b15","name":"Saylor Innovations HTTP Security Header Auditor","description":"HTTP security header audit for any URL - HSTS, CSP, clickjacking, referrer policy, cookies and a letter grade","url":"https://saylorinnovations.com/api/audit/headers?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","pattern":"^(https?://)?[A-Za-z0-9.-]+\\.[A-Za-z]{2,}.*$","examples":["https://example.com","github.com"],"maxLength":2000,"description":"Public http(s) URL or bare domain to audit; private, loopback and link-local addresses are refused"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["url","grade","score","findings"],"properties":{"url":{"type":"string","description":"Final URL after redirects that was audited"},"grade":{"type":"string","description":"Letter grade A to F"},"https":{"type":"boolean","description":"True when the final URL is HTTPS"},"scope":{"type":["string","null"],"description":"Scope the result covers"},"score":{"type":"number","description":"Score from 0 to 100 (penalties per missing or weak header)"},"summary":{"type":"object","description":"Counts of failing, warning and passing checks"},"findings":{"type":"array","items":{"type":"object","properties":{"fix":{"type":["string","null"],"description":"Recommended header value or action, or null"},"detail":{"type":"string","description":"What was observed"},"header":{"type":"string","description":"Header or check name"},"status":{"type":"string","description":"pass, warn, fail or info"}}},"description":"One entry per header or check"},"redirects":{"type":["number","null"],"description":"Redirect chain followed"},"checked_at":{"type":["string","null"],"description":"Time the check was run (UTC)"},"http_status":{"type":["number","null"],"description":"HTTP status code returned"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XeHH9fn2CYTNdO9bsEyf4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits HTTP security headers for any public URL and returns a letter grade, numeric score, and per-header findings covering HSTS, CSP, clickjacking protection, referrer policy, and cookies","exampleAgentPrompt":"Can you run a security header audit on https://example.com and tell me the letter grade, score, and which headers are failing or missing?","exampleUseCases":[{"title":"Pre-launch security compliance check","prompt":"Before we go live, can you audit the security headers on https://myapp.company.com and tell me the letter grade, score, and anything we need to fix — especially HSTS and CSP?"},{"title":"Third-party vendor security vetting","prompt":"I need to verify the HTTP security posture of a vendor site before we integrate with them — can you audit https://vendor-portal.example.com and flag any failing headers or cookie issues?"},{"title":"Continuous monitoring of a competitor","prompt":"Can you check what security header grade https://competitorsite.com is getting right now, including whether they have clickjacking protection and a referrer policy in place?"}],"resultDescription":"A JSON object containing the final audited URL, a letter grade (A–F), a numeric score (0–100), a boolean HTTPS flag, a summary of passing/warning/failing check counts, and an array of per-header findings — each with the header name, observed detail, pass/warn/fail/info status, and a recommended fix value where applicable. Also includes redirect count, HTTP status code, and timestamp.","failureModes":["Private, loopback, or link-local IP addresses are refused","Malformed or non-HTTP/HTTPS URLs are rejected by pattern validation","Unreachable or offline URLs may return an error or incomplete findings","Rate-limit or network timeouts on slow external servers","Redirect chains that exceed a limit may be truncated"],"whenToPreferThis":"Use this endpoint when you need a quick, structured HTTP security header assessment of a public URL with machine-readable per-header findings and an actionable letter grade. It is ideal for automated security compliance checks, pre-launch audits, or continuous monitoring workflows. Prefer it over generic web scanners when you specifically need header-level detail (HSTS, CSP, clickjacking, referrer policy, cookie flags) returned as structured JSON rather than an HTML report.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:47:40.515Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-http-security-header-auditor-52db4b15"}