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 di
- Price per call
- $0.001
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 0
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://x402-catalog-history.ai-business-surface.workers.dev/hash", { method: "GET" });
console.log(await res.json());https://x402-catalog-history.ai-business-surface.workers.dev/hash