跳到正文
DEV Community· Fernando Guerra·· 4 天前AI 評分42

免費、毋須註冊、可由機器驗證的可達性收據(毋須 API key)

Free, no-signup, machine-verifiable reachability receipts (no API key)

AI 導讀

作者建立免費端點,讓用戶透過 GET 查詢任何 HTTPS 網址,並取得可重新驗證的 JSON 收據,毋須註冊或 API key。第三方可對標準化 JSON 重新計算 SHA-256,核對雜湊值,驗證收據有否被篡改。端點以 Cloudflare Worker 執行,收費的 x402/USDC 方案仍在開發中,免費方案會維持免費。

正文

Fernando Guerra

Agents and humans constantly need to know 'is this URL actually up right now?' — and they need an answer they can prove later, not just trust.

I built a free endpoint that returns a re-verifiable JSON receipt for any HTTPS URL:

GET https://umbrella-reachability.lengrowth.workers.dev/check?url=https://example.com

Response:

{
  "url": "https://example.com",
  "ok": true,
  "status": 200,
  "latency_ms": 5,
  "checkedAt": "2026-11-17T18:31:50.816Z",
  "algo": "sha256(canonical-json-v1)",
  "hash": "b33626cd..."
}

No signup. No API key. No human in the loop. Just GET it.

Why a receipt instead of a plain status code? Because anyone can recompute sha256 over the canonical JSON {url,ok,status,latency_ms,checkedAt} and compare it to hash. That makes the result tamper-evident and re-verifiable by a third party — useful for uptime proofs, agent tool-calls, and audit trails.

Endpoints:

  • GET /health — liveness + metadata
  • GET /check?url=<https-url> — the receipt

It's a Cloudflare Worker, no dependencies. A paid x402/USDC tier (machine-paid, on-chain receipt) is in progress; the free tier will stay free.

Try it and tell me what you'd want in the receipt (DNS, TLS cert expiry, redirect chain, etc.).

來源:DEV Community · dev.to