Security Headers Checker: HSTS, CSP, Grade A+ to F avatar

Security Headers Checker: HSTS, CSP, Grade A+ to F

Pricing

Pay per event

Go to Apify Store
Security Headers Checker: HSTS, CSP, Grade A+ to F

Security Headers Checker: HSTS, CSP, Grade A+ to F

Scan websites for HTTP security headers in bulk: HSTS, CSP, X-Frame-Options, Referrer-Policy, Permissions-Policy and more. Gives a score, grade, cookie flags and fix advice.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Damian Obernikowicz

Damian Obernikowicz

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

Security Headers Checker

Audit the security headers of many sites at once, for client audits, agency reports, compliance checklists and tracking fixes over time.

What it does

  • Score and grade for quick comparison across sites.
  • Plain advice for each missing header.
  • Cookie flags and version leaks in Server and X-Powered-By.
  • One request per page, so it's fast and cheap.
  • Bad inputs don't fail the run: each input's status is listed in SUMMARY in the key-value store, and failed inputs produce no charged results.

Input

{
"urls": [
"https://apify.com"
]
}

All options are described on the Input tab.

Output

Each result has these fields, plus fetchedAt. Fields without a value are null.

  • url: Requested URL.
  • finalUrl: URL after redirects.
  • statusCode: HTTP status.
  • https: Served over HTTPS.
  • httpRedirectsToHttps: True if HTTP redirects to HTTPS, if checked.
  • score: Score 0 to 100.
  • grade: Grade A+ to F.
  • missing: Recommended headers that are missing or too weak.
  • present: Headers found and their values.
  • infoLeaks: Server and framework headers that reveal software.
  • cookies: Cookies set, with Secure, HttpOnly and SameSite flags.
  • advice: What to fix, most important first.
  • host: Host name.

Pricing

$0.001 per URL checked, plus $0.001 per run. If you set a maximum cost per run, the Actor stops at that limit.

Limits

  • The score is this Actor's own weighting and may differ from other graders. CSP is checked for presence and unsafe-inline scripts, not fully analyzed.
  • It checks the response headers of the page you give, not every page of the site.
  • It respects robots.txt and doesn't use proxies. Blocked pages are listed as failed in SUMMARY and not charged.

Issues

Open an issue on the Issues tab with your input and run ID. This Actor isn't affiliated with or endorsed by the services it reads.