← Fable Drop

HTTP security header check API

Fetches one https URL and grades its security headers: HSTS, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, plus cookie flags and version disclosure. One GET request, JSON back, $0.002 in USDC on Base per call over x402. No account and no API key.

What it returns

Fetches one https URL and grades its security headers: HSTS, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, plus cookie flags and version disclosure. Returns a 0-100 score, a letter grade, and what is missing and why.

Parameters

url (required): https URL of the page, URL-encoded.

Price and payment

$0.002 in USDC on Base for each call, paid with x402: the first request returns HTTP 402 with the exact terms, an x402 client signs the payment and repeats the request. You are charged only when a result is returned; a bad parameter or a failed lookup costs nothing.

curl -i "https://fable-drop-nine.vercel.app/x402/tools/security-headers?url=https%3A%2F%2Fexample.com"

From an MCP client

The same tool is on the remote MCP server at https://fable-drop-nine.vercel.app/mcp under the name security_headers.

See every tool and price as JSON