Legion Labs logoLegion Labs

$ legion actor check-security-headers-public-sites

Check security headers of public websites

A short list of public websites is enough to see which security headers are present, and whether the SSL certificate is still valid, without opening a browser for each host.

Run this example on Apify

Open the security-headers-checker actor in the Apify Store

Price: $1.00 per 1,000 domains checked. A target that failed is written with an error and is not charged. Actor start is $0.00005.

Input for this example

{
  "urls": [
    "https://example.com",
    "https://github.com",
    "https://www.wikipedia.org"
  ]
}

Sample output

urlsecurityScorehttpsAvailablehttpsRedirectsslValidsslDaysUntilExpiry
https://example.com0yesnoyes31
https://github.com90yesyesyes64
https://www.wikipedia.org25yesyesyes36

Sample from a real run of this example. Personal names and email addresses on this page are redacted.

What this example does not do

This is a header and certificate check, not a penetration test. It does not crawl the site, and it does not send exploit payloads or login.

Related examples

Watch SSL certificate expiry on a domain list

All Apify actors · All products