Guides · Website security
SecurityHeaders API retired: what happened and how to migrate
The free scanner still grades headers. The API your pipeline called does not exist any more. This is the migration, step by step — what happened, what you actually consumed from that API, and what honestly replaces each piece.
By the Ingenious AI team · Published 21 November 2026 · Facts checked on 21 November 2026 against the sources linked in this guide
Try it first: BreachHunter — run the free instant mini-scan on the same site you used to check with the retired tool; it needs no account and covers TLS, headers and eight exposed-file paths. The full free scan needs a free signup and a verified email.
What happened, dated
SecurityHeaders — the scanner at securityheaders.com — built its name on one clean artefact: paste a URL, get a letter grade, A+ to F, for the site's HTTP response headers. In April 2026 the paid API behind that scanner was retired. The web scanner was not. We verified the split ourselves on 21 November 2026: the homepage is live, still grading, still showing recent scans (its own counters show more than 414 million scans served). If your only use was the occasional manual check, nothing was taken from you, and this page is not for you. If code called that API, keep reading — your pipeline has been missing its header check for seven months, and the failure mode is usually silent: a job that errors into a log nobody reads, or a dashboard still displaying April's grade as if it were fresh.
One more thing worth knowing before you migrate: you are not the only team doing this. Replacement vendors are already farming this exact search intent — pages built entirely on “SecurityHeaders API discontinued” exist and rank (we read SecScanner's version while researching this guide). Read them the way you would read this one: check whether the “replacement” actually returns what your code consumed, or whether it is a different tool wearing the migration's clothes. Our own entry in that comparison is graded by the same rule below, and it does not pass as an API replacement — we say so on the page.
Step 1 — Inventory every call site
Search your repositories, CI configuration and monitoring setup for the API's fingerprints: the hostname your integration called, the API key variable name, and the word “securityheaders” in any casing. The usual hiding places are a CI quality gate (“fail the build below a B”), a nightly monitoring script that posts grades to a dashboard, a client-report generator at an agency, and a forgotten cron job on a server nobody owns any more. Write down, for each call site, three things: what consumed the response (a human, a gate, a report), which fields it used (usually just the letter; sometimes the per-header detail), and what happened when the call started failing — that last answer tells you how much silent staleness you are cleaning up.
Step 2 — Name the job the grade was doing
Every API integration was doing one of three jobs, and each has a different honest replacement. The letter as evidence: a grade pasted into a ticket, an audit file or a client report — the artefact matters, the automation was convenience. The letter as a gate: code that blocked a deploy or raised an alert when headers regressed — the automation is the point. The letter as a proxy: the header check standing in for “is this site looked after” — the widest job, and the one the retirement most usefully forces you to re-examine, because headers were never more than a fraction of that answer.
Step 3 — Replace each job, honestly
Evidence → keep using the web scanner. It is free, live and still the recognised letter. A human pastes the URL at release time and files the result. Slower than an API call; exactly as valid as evidence.
Gate → compute the check yourself. The grade is, at its core, the presence and shape of a known header set — Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy. A CI step can fetch a page's headers (curl -sI https://your-site.example), assert each required header is present, and fail the build when one disappears. That is not their algorithm and will not reproduce their exact letter — document your own pass rule in the repo so the gate means something a reviewer can check. If you want an external grader's judgement instead of your own rule, the MDN HTTP Observatory is the surviving public option in this class.
Proxy → widen the check. If the grade was standing in for site health, replace it with a scan that looks past headers: ports, TLS configuration, exposed files, forgotten paths, takeover risk. That is the job BreachHunter does — fourteen modules, a 0–100 score, evidence and a fix per finding. Be precise about the boundary: it replaces the question, not the API. There is no endpoint to point your old code at, and any vendor who offers you a “drop-in API replacement” for a scanner should be asked to show the endpoint working before you plan around it.
Step 4 — Baseline before you cut over
On cut-over day, run the old artefact and the new check on the same sites on the same day and file both results together. Your baseline set is small and fixed: the web scanner's letter (manual), your own header assertion output, and — if you widened the job — the full scan report. We ran exactly this exercise on this site for our SecurityHeaders alternatives page: SecurityHeaders gave getingeniousai.com an A+ while the fourteen-module scan scored it B−, 77/100, on findings that are not headers at all. That gap, recorded once, is what stops every future “but the grade was fine” argument.
Step 5 — Update the paper trail
Runbooks, audit evidence folders and client reports that cite “SecurityHeaders API” as a control should be amended, not silently continued: name the retirement (April 2026), the replacement you chose per job, and the date you cut over. An auditor who finds a control citing a retired API will ask harder questions than one who finds a dated migration note. Finally, delete the dead integration and its API key from your secrets store — retired-vendor keys left in CI are clutter today and a finding in someone else's scan tomorrow.
Sources
- securityheaders.com — free web scanner checked live on 21 November 2026 (grading and recent scans active; 414M+ total scans shown on its own counters).
- API retirement date (April 2026) as recorded in our SecurityHeaders alternatives guide, checked 19 November 2026, and corroborated by multiple 2026 migration pages, including SecScanner's alternative page, read 21 November 2026.
- BreachHunter — module count, score and pricing as stated on its own site.
Frequently asked questions
Did SecurityHeaders shut down?
No. We checked securityheaders.com on 21 November 2026: the free web scanner is live, grading response headers A+ to F with its recent-scans board running as usual. What was retired in April 2026 is the paid API — the programmatic route scripts, CI checks and monitoring jobs used.
What exactly did API users lose?
The machine-readable version of the grade: the letter and the per-header detail, returned to code instead of a web page. Anything that consumed that response — a CI gate, a monitoring dashboard, a client report generator — has been failing or silently stale since April 2026.
Is BreachHunter a drop-in replacement for the SecurityHeaders API?
No, and this guide does not sell it as one. BreachHunter is a website scanner with a web interface and shareable reports, not a header-grade API. If your pipeline needs a grade computed in code, the honest replacement is your own header check (step 3 below) or the MDN HTTP Observatory. BreachHunter replaces the wider question — what else is exposed — not the API call.
Can I still get the A+ to F letter?
Yes, two honest ways: paste the URL into the free web scanner at securityheaders.com for the manual letter, or compute the same six-header presence check yourself with the curl pattern in step 3 and grade it by your own documented rule. What you cannot do any more is call their API for it.
How long does this migration take?
For most small teams, an afternoon: the call sites are usually one CI job and one monitoring script. The step that takes the time is deciding what the grade was actually protecting — a ticket checkbox, or a real exposure check — because that decision picks the replacement.