CodePulse Agentic API · Security Http Headers

by CodePulse Agentic API

POSTBaseSolana

$0.01

per call · USD Coin on Base

Queries target URL headers to score security configurations (HSTS, CSP, X-Frame-Options).

Endpoint

POST https://codepulse-api.hahavoid0.workers.dev/security/http-headers

3

Calls / 30d

3

Unique payers / 30d

Aug 31

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://codepulse-api.hahavoid0.workers.dev/security/http-headers", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "url": "https://google.com"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://codepulse-api.hahavoid0.workers.dev/security/http-headers" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://google.com"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "confidence": "high",
  "data_as_of": "2026-06",
  "disclaimer": "Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting.",
  "result": {
    "headers": {
      "csp": false,
      "hsts": true
    },
    "score": 80
  },
  "supported": true,
  "warnings": []
}

Payment details

Pay to0x4a82f147c8a4339409c9097adc1eedfd56e85bfe
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from CodePulse Agentic API & similar services