Data tools / Agent memory and small utilities

Hash API: sha256, sha1, sha384, sha512 and md5 of a string

Use when you need a checksum or digest of a string: sha256 (default), sha1, sha384, sha512 and md5 of text given as utf8, hex or base64 (up to 64 KB), hex digests, no external call. $0.001 per call (USDC or USDT). Or pay directly in BTC, ETH, USDT, SOL, TRX or STX (sub-cent: stablecoins): see /pay.

Price and access

Request

curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/util/hash?text=hello&algo=sha256%2Cmd5'
ParameterRequiredWhat it is
textyesInput to hash
algonoComma list of sha256, sha1, sha384, sha512, md5 or all
encodingnoHow text is encoded

Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.

Example answer

{
  "digests": {
    "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
    "md5": "5d41402abc4b2a76b9719d911017c592"
  },
  "input_bytes": 5,
  "input_encoding": "utf8",
  "algorithms": [
    "sha256",
    "md5"
  ],
  "as_of": "2026-10-19T12:00:00.000Z",
  "note": "Computed on Cloudflare's edge from your input only; no external call, nothing stored. md5 and sha1 are not collision-resistant: use them for checksums, not signatures."
}

Free sample, no payment: /util/hash/sample. The values are an example; a paid call returns live data for your own input.

Use it from an AI assistant (MCP)

Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/agent-memory-utils, tool util_hash. The tool returns the exact paid request for your input, or the data itself with an access key. All tools on one server: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp.

Related tools

Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools