SecurityHeaders.com API Is Shutting Down: Free Alternative for Header Scanning (2026)

April 7, 2026 · 8 min read

What Happened: The Snyk Acquisition Chain

SecurityHeaders.com was created by Scott Helme as a free tool to check HTTP security headers on any website. It became the go-to resource for developers and security teams who needed a quick grade on their header configuration. Over the years, a paid API emerged alongside the free scanner, enabling automated scanning in CI/CD pipelines, compliance workflows, and security monitoring dashboards.

Then the acquisitions started. Probely, a Portuguese application security company, acquired securityheaders.com. Then Snyk acquired Probely. And in April 2026, Snyk announced that the securityheaders.com API is being shut down.

The free website scanner at securityheaders.com will continue to work for manual, one-off checks. But the programmatic API — the part that developers actually integrated into their toolchains — is going away.

Key point: The securityheaders.com website still works for manual scans. It is the API (programmatic access) that is being discontinued.

What This Means for Developers

If you were using the securityheaders.com API, several things break at once:

The common thread: anything that depended on programmatic access to security header scanning is affected. Manual checks via the website still work, but manual checks do not scale.

DetectZeStack: A Drop-In Alternative

The DetectZeStack API includes a GET /security endpoint that grades security headers from A+ to F — the same kind of output the securityheaders.com API provided, but with structured JSON and per-header scoring.

Here is what the endpoint checks:

Each header contributes a weighted score to the total. HSTS and CSP are worth 20 points each (the most critical). The remaining headers contribute 10–15 points. The maximum score is 130, and grades map as follows: A+ (110+), A (100–109), B (80–99), C (60–79), D (40–59), F (below 40).

Quick Start: Replace SecurityHeaders.com API in 60 Seconds

Get a free API key from RapidAPI (no credit card required), then run:

curl -s "https://detectzestack.p.rapidapi.com/security?url=example.com" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: detectzestack.p.rapidapi.com" | python3 -m json.tool

The response includes the grade, the numeric score, and a per-header breakdown:

{
  "url": "https://example.com",
  "domain": "example.com",
  "grade": "F",
  "score": 15,
  "max_score": 130,
  "scan_time_ms": 287,
  "cached": false,
  "tests": {
    "strict-transport-security": {
      "pass": false,
      "score_modifier": 0,
      "result": "HSTS header missing",
      "value": "",
      "info": "No Strict-Transport-Security header found"
    },
    "content-security-policy": {
      "pass": false,
      "score_modifier": 0,
      "result": "CSP header missing",
      "value": "",
      "info": "No Content-Security-Policy header found"
    },
    "x-content-type-options": {
      "pass": true,
      "score_modifier": 15,
      "result": "nosniff enabled",
      "value": "nosniff",
      "info": "MIME-type sniffing blocked"
    }
  }
}

To integrate into a CI/CD pipeline, check the grade field and fail the build if it drops below your threshold:

#!/bin/bash
# ci-security-headers-check.sh
GRADE=$(curl -s "https://detectzestack.p.rapidapi.com/security?url=$DEPLOY_URL" \
  -H "x-rapidapi-key: $RAPIDAPI_KEY" \
  -H "x-rapidapi-host: detectzestack.p.rapidapi.com" \
  | python3 -c "import sys,json; print(json.load(sys.stdin)['grade'])")

echo "Security headers grade: $GRADE"

if [[ "$GRADE" == "D" || "$GRADE" == "F" ]]; then
  echo "FAIL: Security headers grade is $GRADE. Minimum required: C"
  exit 1
fi

echo "PASS: Security headers check passed"

Free tier: 100 requests/month. Enough to scan a portfolio of domains daily. Get your API key on RapidAPI — no credit card required.

SecurityHeaders.com vs DetectZeStack: Comparison

Feature SecurityHeaders.com DetectZeStack
Free website scanner Yes (still available) Yes (detectzestack.com/security-headers)
Programmatic API Shutting down April 2026 Available now
Letter grading A+ to F A+ to F
Per-header results Yes (HTML) Yes (structured JSON)
Headers checked 6 core headers 8 headers (adds COOP, X-XSS-Protection)
Numeric scoring No Yes (0–130 scale)
Response format HTML / limited JSON Structured JSON
Free tier N/A (API shutting down) 100 requests/month
Paid plans N/A From $9/mo (1,000 req)
CI/CD integration Was possible, now ending curl + JSON parsing
Additional capabilities Security headers only Tech stack detection, DNS intelligence, SSL/TLS, change tracking

Beyond Headers: What Else DetectZeStack Offers

The /security endpoint is one part of a broader API. If you are already making the switch from securityheaders.com, you might find these endpoints useful for building a more comprehensive security monitoring workflow:

All endpoints share the same API key and the same free tier of 100 requests per month.

Migration Checklist

If you are moving from the securityheaders.com API to DetectZeStack, here is a step-by-step checklist:

  1. Get your API keySign up on RapidAPI (free, no credit card)
  2. Update the endpoint URL — Replace the securityheaders.com API URL with https://detectzestack.p.rapidapi.com/security?url=DOMAIN
  3. Update authentication headers — Add x-rapidapi-key and x-rapidapi-host headers
  4. Update response parsing — The DetectZeStack response is structured JSON with grade, score, and tests fields. Map these to your existing logic.
  5. Test in staging — Run your updated pipeline against a known domain and verify the grade matches expectations
  6. Monitor request usage — The free tier is 100 requests/month. If you need more, upgrade to Pro ($9/mo for 1,000 requests) or higher.

For a detailed walkthrough of scanning headers with Python code examples, see How to Audit Security Headers with Python.

You can also try an interactive scan on the Security Headers page — no API key needed, no signup required.

Related Reading

Replace the SecurityHeaders.com API Today

100 requests per month free. No credit card. Grade security headers A+ to F with structured JSON. Drop-in replacement for your existing workflows.

Get Your Free API Key

Get API updates and tech detection tips

Join the mailing list. No spam, unsubscribe anytime.