{"uid":"cap_7knkvFCMIkqxqB2x7aNc6","slug":"codepulse-security-http-headers-checker-1c112d39","name":"CodePulse Security HTTP Headers Checker","description":"Queries target URL headers to score security configurations (HSTS, CSP, X-Frame-Options).","url":"https://codepulse-api.hahavoid0.workers.dev/security/http-headers","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"URL to parse"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"score":80,"headers":{"csp":false,"hsts":true}},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IgrvG6NZDVG2kS9prc4v6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a URL's HTTP security headers and returns a security score with details on CSP, HSTS, and other header configurations.","exampleAgentPrompt":"Can you check the HTTP security headers on https://example.com and tell me if they have HSTS and CSP set up properly, and what the overall security score is?","exampleUseCases":[{"title":"Pre-launch security header audit","prompt":"Before we go live, can you check the HTTP security headers on https://staging.myapp.com and tell me if HSTS and CSP are configured, and what our security score looks like?"},{"title":"Third-party vendor security vetting","prompt":"I need to vet a vendor before we integrate with them — can you analyze the HTTP security headers on https://vendor-portal.io and flag any missing headers or low scores?"},{"title":"Competitive security benchmarking","prompt":"How does https://competitor.com score on HTTP security headers? I want to know if they have HSTS and Content Security Policy set up, and what their overall score is."}],"resultDescription":"Returns a JSON object with a numeric security score (0-100), a breakdown of specific header statuses (e.g. csp: false, hsts: true), a list of warnings for missing or misconfigured headers, a 'supported' boolean, and a confidence level (e.g. 'high') along with a data freshness date.","failureModes":["Invalid or unreachable URL returns an error or unsupported flag","URL with unusual schemes (non-HTTP/HTTPS) may not be supported","Rate limiting or payment failure via x402 results in 402 response","Ambiguous or redirect-heavy URLs may reduce confidence rating","Temporary network issues at the target site may cause incomplete header reads"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call HTTP security header analysis without setting up API keys. It's ideal for spot-checking individual URLs for CSP, HSTS, and other security headers with a scored output. Prefer this over manual header inspection tools when you need machine-readable results with confidence ratings inside an automated agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:41:00.460Z","isFirstParty":false}