HTTP Security Headers Checker avatar

HTTP Security Headers Checker

Pricing

from $1.00 / 1,000 website checkeds

Go to Apify Store
HTTP Security Headers Checker

HTTP Security Headers Checker

Audit the HTTP security headers of websites in bulk: HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, cookies flags. Grade A to F with fixes to apply.

Pricing

from $1.00 / 1,000 website checkeds

Rating

0.0

(0)

Developer

Nico Klyve

Nico Klyve

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

HTTP Security Headers Checker (Grade A to F)

Audit the HTTP security headers of one or thousands of websites and get a score out of 100, a grade from A to F and the exact fixes to apply. The Actor checks Strict-Transport-Security (HSTS), Content-Security-Policy (CSP), X-Frame-Options or frame-ancestors, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy, cookie flags (Secure, HttpOnly, SameSite), the http to https redirect and server version leaks.

It sends one normal page request per site (plus one http:// request to test the redirect), like a browser visit. No intrusive scan.

Who uses it

  • Web agencies and freelancers: audit client sites in bulk and add the fixes to a quote or a report.
  • Security and compliance teams: monitor all company domains on a schedule and catch regressions after a deploy.
  • Developers and DevOps: check a staging or production URL in CI through the API.
  • SEO and IT consultants: a quick, objective hygiene score for a prospect's website.

Example output

{
"url": "https://github.com/",
"ok": true,
"finalUrl": "https://github.com/",
"statusCode": 200,
"https": true,
"httpRedirectsToHttps": true,
"score": 75,
"grade": "B",
"headers": {
"strict-transport-security": { "status": "pass", "value": "max-age=31536000; includeSubdomains; preload" },
"x-frame-options": { "status": "pass", "value": "deny" },
"x-content-type-options": { "status": "pass", "value": "nosniff" },
"referrer-policy": { "status": "pass", "value": "origin-when-cross-origin, strict-origin-when-cross-origin" },
"permissions-policy": { "status": "fail", "value": null },
"cross-origin-opener-policy": { "status": "fail", "value": null }
},
"cookiesWithIssues": [{ "name": "_octo", "missing": ["HttpOnly"] }],
"versionLeaks": {},
"fixes": [
"Add a Permissions-Policy, e.g. \"camera=(), microphone=(), geolocation=()\".",
"Add \"Cross-Origin-Opener-Policy: same-origin\" to isolate your browsing context.",
"Set Secure, HttpOnly and SameSite on cookies: _octo."
],
"responseTimeMs": 297,
"checkedAt": "2026-11-20T18:01:19.426Z"
}

Scoring

HeaderPoints
Strict-Transport-Security (max-age of 180 days or more)25
Content-Security-Policy (without unsafe-inline, unsafe-eval or wildcards, unless nonces or hashes are used)25
X-Frame-Options or CSP frame-ancestors10
X-Content-Type-Options: nosniff10
Referrer-Policy10
Permissions-Policy10
Cross-Origin-Opener-Policy5
Cross-Origin-Resource-Policy5

Cookies without Secure, HttpOnly or SameSite remove 5 points. Grades: A 90+, B 75+, C 60+, D 40+, E 20+, F below 20.

Input

FieldWhat it doesDefault
urlsWebsites or URLs, one per line
maxConcurrencySites checked in parallel5

Pricing

Pay per result: $0.001 per site checked. Sites that cannot be loaded are free.

Good to know

  • Redirects are followed, the final page is graded.
  • Headers can differ between pages; audit your key pages (home, login, checkout) separately.
  • Only check sites you own or have permission to audit. The check is a single standard page request.