W

Workers · Tools Site Hygiene Score

by Workers

POSTBase

$0.02

per call · USD Coin on Base

Audit a public https URL. POST {"url":"https://your.site","min_score":80} ($0.02). After payment we fetch the origin (headers, HSTS, CSP, TLS, cookies, DNS/email, security.txt) and return a 0–100 score, do_this_first, and ci_failed for CI. Free preview is snapshot-only {headers}. Badge: GET /v1/tools/site-hygiene-score/badge?host=your.site.

Endpoint

POST https://quietstore-production.edge-7e13f.workers.dev/v1/tools/site-hygiene-score

3

Calls / 30d

1

Unique payers / 30d

Aug 21

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://quietstore-production.edge-7e13f.workers.dev/v1/tools/site-hygiene-score", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "min_score": 80,
    "url": "https://example.com/"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://quietstore-production.edge-7e13f.workers.dev/v1/tools/site-hygiene-score" \
  -H "Content-Type: application/json" \
  -d '{"min_score":80,"url":"https://example.com/"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "metered": true,
  "result": {
    "ci_failed": true,
    "do_this_first": [
      {
        "fix": "Add Strict-Transport-Security on all HTTPS responses with max-age≥15552000.",
        "id": "HDR_MISSING_HSTS",
        "title": "Strict-Transport-Security header missing"
      }
    ],
    "label": "Needs work",
    "mode": "live",
    "pass": false,
    "rubric_version": 1,
    "score": 64
  },
  "tool": {
    "id": "tool-site-hygiene-score",
    "price_version": 1,
    "title": "Scan a live URL → 0–100 hygiene score + ranked fixes"
  }
}

Payment details

Pay to0x8f9ef7f8c4744bfaedaa5d315c21f9770c10f931
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Workers & similar services