Security Headers Checker — Grade Website Headers avatar

Security Headers Checker — Grade Website Headers

Pricing

from $0.00025 / site checked

Go to Apify Store
Security Headers Checker — Grade Website Headers

Security Headers Checker — Grade Website Headers

Check and grade the HTTP security headers of any website in bulk: HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy and Permissions-Policy. Returns an A+..F grade and the missing headers. For security and SEO audits. One row per site as JSON, CSV or Excel.

Pricing

from $0.00025 / site checked

Rating

0.0

(0)

Developer

Hipersoft

Hipersoft

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

8 hours ago

Last modified

Features

Limited permissionsMulti-tenantServer interface

Share

Security Headers Checker — Bulk HTTP Security Header Grading (HSTS, CSP & More)

Check and grade the HTTP security headers of any website in bulk with the Security Headers Checker. Paste a list of sites and get each one's A+–F grade, the value of every key security header (HSTS, Content-Security-Policy, X-Frame-Options and more), and a clear list of what's missing. Results export as JSON, CSV, Excel or XML, or pull straight from the Apify API. Built for security audits, site-quality and SEO reviews, compliance checks and monitoring, it turns a list of URLs into a clean security-header scorecard.

Security Headers Checker input — site URLs and options in the Apify Console

What is the Security Headers Checker?

The Security Headers Checker is a bulk HTTP security-header scanner and grader. For each site you give it, it fetches the response headers, checks for the recommended security headers, assigns a letter grade, and reports the exact value of each header plus the ones that are absent. It also captures HTTPS status, the Secure cookie flag, and legacy headers. Instead of pasting one URL at a time into a single-site tool, you check a whole portfolio and get a scorecard dataset back. It's built for security teams auditing a fleet of sites, agencies producing client reports, and ops teams monitoring for header regressions.

Features

  • 🛡️ A+ to F grade — a clear letter grade per site based on the key security headers present.
  • 🔎 Per-header detail — HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy and Permissions-Policy values.
  • ❌ Missing list — exactly which recommended headers are absent, so you know what to fix.
  • 🔐 Extra signals — HTTPS status, Secure cookie flag, and legacy X-XSS-Protection / X-Powered-By.
  • ⚡ Bulk & parallel — check many sites at once with tunable concurrency and a per-site timeout.
  • 🧭 Bare domains welcome — hostnames are checked over HTTPS automatically.
  • 📤 Clean exports — JSON, CSV, Excel or XML, or straight into a dashboard or report.

What you get

Security Headers Checker output — grade, header values and missing list as a clean dataset

Each site becomes one structured JSON scorecard:

{
"url": "https://github.com",
"ok": true,
"status": 200,
"finalUrl": "https://github.com/",
"https": true,
"grade": "A",
"score": 5,
"hsts": "max-age=31536000; includeSubdomains; preload",
"contentSecurityPolicy": "default-src 'none'; ...",
"xFrameOptions": "deny",
"xContentTypeOptions": "nosniff",
"referrerPolicy": "no-referrer-when-downgrade",
"permissionsPolicy": null,
"setCookieSecure": true,
"missing": ["permissions-policy"]
}

Output schema

FieldTypeDescription
urlstring (URL)The site checked.
okbooleanWhether the check succeeded.
statusintegerHTTP status code.
finalUrlstring (URL)Final URL after redirects.
serverstringServer banner of the site.
httpsbooleanWhether the site served over HTTPS.
gradestringSecurity-header grade (A+ to F).
scoreintegerNumber of recommended headers present.
missingarrayRecommended headers that are absent.
hstsstringStrict-Transport-Security value.
contentSecurityPolicystringContent-Security-Policy value.
xFrameOptionsstringX-Frame-Options value.
xContentTypeOptionsstringX-Content-Type-Options value.
referrerPolicystringReferrer-Policy value.
permissionsPolicystringPermissions-Policy value.
xXssProtectionstringLegacy X-XSS-Protection value.
setCookieSecurebooleanWhether cookies use the Secure flag.
poweredBystringX-Powered-By value, if present.

How to check security headers in bulk

  1. Open the Security Headers Checker and click Try for free.
  2. Paste your site URLs or bare domains into the urls field — one per line.
  3. Tune concurrency and requestTimeoutSecs if needed.
  4. Click Run.
  5. Export the scorecard as JSON, CSV, Excel or XML, or read it from the Apify API.

Input

{ "urls": ["github.com", "https://example.com"], "concurrency": 8, "requestTimeoutSecs": 20, "maxItems": 0 }
FieldTypeDescription
urlsarrayFull URLs or bare domains (checked over HTTPS).
concurrencyintegerSites to check at once (1–20).
requestTimeoutSecsintegerPer-site timeout before marking a timeout.
maxItemsintegerMaximum sites to check (0 = no limit).

Use cases

  • Security audits: score a whole portfolio of sites at once and flag weak header configurations.
  • Compliance evidence: document which security headers are (or aren't) in place across an estate.
  • SEO & site-quality reviews: security headers are part of a healthy, trustworthy site; include them in audits.
  • Regression monitoring: schedule runs and catch when a deploy weakens or removes a header.
  • Agency client reports: produce clean, client-ready security-header scorecards at scale.
  • Pre-launch checks: verify a new site ships with HSTS, CSP and the other recommended headers.
  • Pipelines: feed header grades into dashboards and automated alerting.

Pricing

Pay-per-event: you're billed a small amount per site checked — you only pay for the results you receive. See the Pricing tab for current rates.

FAQ

How is the grade calculated? From the presence of the six recommended security headers (HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy). More present means a higher grade, reported from A+ down to F.

Which headers does it report? HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy and Permissions-Policy values, plus HTTPS status, the Secure cookie flag, and legacy X-XSS-Protection / X-Powered-By.

Can I check bare domains? Yes — bare domains are checked over HTTPS automatically, so you can paste hostnames or full URLs.

How many sites can I check at once? As many as you like — the checker runs sites in parallel with tunable concurrency and returns one scorecard per site in a single run.

Can I monitor for header regressions? Yes — schedule the actor and connect a webhook so you're alerted when a site's grade or headers change.

What does the "missing" list tell me? It lists exactly which recommended headers are absent on each site, so you have an immediate to-fix list.

What export formats are supported? Structured JSON, CSV, Excel and XML — one row per site — plus programmatic access through the Apify API.

Can I connect this to other apps? The Security Headers Checker can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. It works with Make, Zapier, Slack, Airbyte, GitHub, Google Drive and many more, plus the Apify API, JavaScript/Python clients and MCP. Or use webhooks to trigger an alert whenever a run finishes.

Building a site-monitoring and security toolkit? Combine the Security Headers Checker with our other utilities:

Notes

Original clean-room implementation. Reads the response headers of the sites you provide and grades them.