Security Headers Checker - Bulk HSTS, CSP & Cookie Audit avatar

Security Headers Checker - Bulk HSTS, CSP & Cookie Audit

Pricing

from $2.00 / 1,000 websites audited

Go to Apify Store
Security Headers Checker - Bulk HSTS, CSP & Cookie Audit

Security Headers Checker - Bulk HSTS, CSP & Cookie Audit

Audit the HTTP security headers of any list of websites: HSTS, Content-Security-Policy, X-Frame-Options, Referrer-Policy, Permissions-Policy, cookie flags. One graded row per site with fixes.

Pricing

from $2.00 / 1,000 websites audited

Rating

0.0

(0)

Developer

Mouhamed Wade

Mouhamed Wade

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

17 hours ago

Last modified

Categories

Features

Limited permissions

Share

Check the HTTP security headers of one website or ten thousand. Give the Actor a list of URLs or domains and get one graded row per site: which headers are missing, which are weak, and the exact line to add to fix each one.

It sends one ordinary page request per site (plus one optional request to test the HTTP to HTTPS redirect). No browser, no login, no proxy needed.

What does it check?

CheckWhat is tested
Strict-Transport-SecurityPresent, max-age of at least 180 days, includeSubDomains
Content-Security-PolicyEnforced (not report-only), no 'unsafe-inline' or 'unsafe-eval' for scripts, no wildcard script hosts
X-Content-Type-OptionsSet to nosniff
Clickjacking protectionX-Frame-Options or the CSP frame-ancestors directive
Referrer-PolicyPresent and not leaking full URLs to other sites
Permissions-PolicyPresent
Cross-Origin-Opener-PolicyPresent
Server / X-Powered-BySoftware names and versions exposed in headers
CookiesSecure, HttpOnly and SameSite flags on every cookie set by the page
HTTPSFinal page served over HTTPS, and plain HTTP redirects to HTTPS

Who is it for?

  • Agencies and freelancers auditing every client site in one run, or preparing a security section for a proposal.
  • Security and compliance teams tracking header coverage across all company domains on a schedule.
  • SEO and web performance consultants adding a security line to site audits.
  • Developers checking that a deployment did not drop a header.

How to use it

  1. Paste your URLs or domains into Websites to audit.
  2. Click Start.
  3. Download the results as JSON, CSV or Excel, or read them through the API.

Schedule the Actor to run weekly and compare grades over time.

Input

{
"urls": ["https://apify.com", "example.com"],
"checkHttpRedirect": true,
"includeRawHeaders": false
}
FieldTypeDefaultDescription
urlsarrayrequiredURLs or bare domains. Bare domains are checked over HTTPS.
checkHttpRedirectbooleantrueAlso test whether http:// redirects to https://.
includeRawHeadersbooleanfalseAdd all response headers to each row. Cookie values are never returned.
maxConcurrencyinteger10Sites checked in parallel (1 to 50).
timeoutSecsinteger15Timeout per request.

Output

One item per site:

{
"inputUrl": "example.com",
"finalUrl": "https://example.com/",
"ok": true,
"statusCode": 200,
"reliable": true,
"notice": null,
"redirectCount": 0,
"isHttps": true,
"httpRedirectsToHttps": true,
"grade": "D",
"score": 40,
"missingHeaders": ["Content-Security-Policy", "Permissions-Policy"],
"warnings": ["Strict-Transport-Security: includeSubDomains is not set."],
"recommendations": ["Add an enforced policy, starting from: default-src 'self'"],
"checks": {
"hsts": { "status": "warn", "value": "max-age=31536000", "message": "includeSubDomains is not set." }
},
"cookieCount": 0,
"checkedAt": "2026-11-30T18:00:00.000Z"
}

A site that cannot be reached returns ok: false with an error field, so you always get one row per input.

How is the grade calculated?

Each check has a weight. A failed check loses its full weight, a warning loses half.

CheckWeight
Strict-Transport-Security25
Content-Security-Policy25
Clickjacking protection15
X-Content-Type-Options10
Referrer-Policy10
Permissions-Policy10
Cross-Origin-Opener-Policy5

Score 90 to 100 is A, 75 to 89 B, 60 to 74 C, 40 to 59 D, 20 to 39 E, below 20 F. Version disclosure and cookie flags are reported as warnings and do not change the score.

Limits

  • Headers are read from the page you give (after redirects). Other pages of the same site can send different headers.
  • The audit reads headers only. It does not scan for vulnerabilities and it never attempts to log in or bypass any protection.
  • Sites that block automated requests answer with an error page (HTTP 403, 429 or 503). The row is then marked reliable: false and the notice field explains why, so you never mistake a block page for the real site.

FAQ

Is a grade A site secure? No tool can say that from headers alone. A good grade means the browser-side protections are switched on.

Can I audit sites I do not own? The Actor only makes the same public request a browser makes when opening the page.

Something looks wrong? Open an issue in the Issues tab with the URL and the run ID.

More tools from the same developer

Same approach in each: public sources only, no login, one clear row per result, errors explained.