Website Security APIs
Website security APIs grade a site's public configuration from the outside. SSL Labs runs a deep TLS test on any HTTPS server and returns a letter grade, the Mozilla http scanner scores response headers such as CSP and HSTS, and Cert Spotter lists the certificates issued for a domain with expiry and revocation status. The first two are free and need no key.
| API | Pricing | Auth | Format | Free tier | Status |
|---|---|---|---|---|---|
Mozilla http scannerScans a website's HTTP response headers (CSP, HSTS, etc.) and returns a security grade and score. Identity & Security › Website Security | Free | None | JSON | Unlimited | Untested |
Mozilla TLS ObservatoryScans a domain's TLS setup and X.509 certificate chain and grades it against Mozilla's guidelines. Identity & Security › Website Security | Free | None | JSON | — | Deprecated |
SSL LabsRuns a deep SSL/TLS configuration test on any public HTTPS server and returns an A+ to F grade. Identity & Security › Website Security | Free | None | JSON | — | Untested |
SSLMate Certificate Search API (Cert Spotter)Lists publicly trusted SSL/TLS certificates issued for a domain, with issuer, expiry and revocation status. Identity & Security › Website Security | Freemium | API key | JSON | 1k–10k/day | Live |
Mozilla http scannerFreeUntested
Scans a website's HTTP response headers (CSP, HSTS, etc.) and returns a security grade and score.
None · JSON
Unlimited
no machine-readable spec
Mozilla TLS ObservatoryFreeDeprecated
Scans a domain's TLS setup and X.509 certificate chain and grades it against Mozilla's guidelines.
None · JSON
—
no machine-readable spec
SSL LabsFreeUntested
Runs a deep SSL/TLS configuration test on any public HTTPS server and returns an A+ to F grade.
None · JSON
—
no machine-readable spec
SSLMate Certificate Search API (Cert Spotter)FreemiumLive
Lists publicly trusted SSL/TLS certificates issued for a domain, with issuer, expiry and revocation status.
API key · JSON
1k–10k/day
no machine-readable spec
Nothing matches that combination. Clear the filters and start from the category.
Choosing a Website Security API
Is there a free Website Security API?
Yes. SSL Labs and Mozilla http scanner are free to use, and SSLMate Certificate Search API (Cert Spotter) has a free tier alongside paid plans.
Which Website Security APIs work without an API key?
SSL Labs and Mozilla http scanner need no key or sign-up, so you can try them with a plain request.
Can I use Website Security APIs in a commercial project?
SSLMate Certificate Search API (Cert Spotter) permits commercial use. SSL Labs restricts it, for example to non-commercial or attributed use, so read the terms first.
More in Identity & Security: Auth APIs · Email Verification APIs · Phone Validation APIs · Fraud Detection APIs · Threat Intel APIs · Background Checks APIs · KYC & Identity Verification APIs
Related: WHOIS & DNS APIs