x402-text-hash
SHA-256, SHA-384, SHA-512 or SHA-1 of any text in one GET, without an LLM or a local tool: pass text and get the digest as hex or base64. curl: GET /hash?text=hello (algo sha256|sha384|sha512|sha1, default sha256; encoding hex|base64, default hex; add key= for HMAC). Response: {"algo":"sha256","encoding":"hex","value":"2cf24dba5fb0a30e...","digest_bytes":32,"input_bytes":5,"mode":"digest"}. The digest is computed once in this Worker with Web Crypto after the payment is verified; the text is not stored, logged or echoed back. Missing text, unsupported algo/encoding and text over 8192 characters are refused with 400 before payment. No keys, no account, one GET, one delivery — 0.001 USDC. A purchase is two calls by design: this first call returns 402 with the price and the payment terms, and you then repeat the same request with the PAYMENT-SIGNATURE header to receive the 200 delivery.
Resource URL
https://x402-catalog-history.ai-business-surface.workers.dev/hash
Payment options
$0.001 USDC
Max amount
- Pay to
- 0x6f60659390aDA1D02B14024d8c9d0C889f2F89c3
- Timeout
- 60s
Tags
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://x402-catalog-history.ai-business-surface.workers.dev/hash Type: http Sources: payai