Skip to content
Fourohtwo

apexfaucet.xyz/api/x402/security-headers

Pass ?url= and get a graded check of the final response's security headers: HSTS, Content-Security-Policy, X-Frame-Options or frame-ancestors, X-Content-Type-Options, Referrer-Policy, Permissions-Policy and Set-Cookie flags (Secure, HttpOnly, SameSite; names only, never values). Each header gets present, value, verdict and points; the total is a score out of 100 with the scoring rule in the output

BaseArcSolanaBNB ChainRobinhood ChainAnswering
GEThttps://apexfaucet.xyz/api/x402/security-headers

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://apexfaucet.xyz/api/x402/security-headers?url=https%3A%2F%2Fgithub.com%2F");
console.log(await res.json());

Example input

{
  "url": "https://github.com/"
}