# x402 Paid MCP — SHA-256 Hash

> x402 Paid MCP — SHA-256 Hash is a paid API for AI agents from x402-paid-mcp.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Computes the SHA-256 cryptographic hash of any input string, with support for utf8, hex, and base64 encodings, paid per-call via USDC on Base or Solana using the x402 protocol.

## Facts

- Endpoint: POST https://x402-paid-mcp.vercel.app/api/v1/sha256?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-paid-mcp-sha-256-hash-8d642b17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FL3b_8YEtGjpUNzJ43IsE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-paid-mcp-sha-256-hash-8d642b17 -d '<json body>'
```

Example prompt: Hash the UTF-8 string 'Hello, world!' using SHA-256 — I need the hex digest.

## When to prefer this

Choose this endpoint when you need a paid, on-demand SHA-256 hash computation accessible via the x402 micropayment protocol, especially within agentic workflows that already use x402/USDC payments on Base or Solana. It is ideal when you want a trustless, metered cryptographic primitive without managing your own hashing infrastructure. Prefer alternatives (local computation or free APIs) when cost per call is a concern and you can hash locally.

## Known failure modes

- Missing 'data' field — returns 400 Bad Request
- Invalid encoding value (not utf8/hex/base64) — schema validation error
- Malformed hex or base64 input when encoding is set accordingly — parsing error
- Payment failure or insufficient USDC balance — returns 402 Payment Required
- Network or Vercel cold-start timeout — transient 5xx error

## How this service works

Compute a SHA-256 hex digest of a text payload. Cryptographic hash / checksum helper. Not an attestation.

## Output

Returns the SHA-256 hash digest of the provided input data, computed server-side. The response reflects the hashed output of the input string interpreted under the specified encoding (utf8, hex, or base64). Each call costs $0.001 USDC, debited via x402 micropayment on Base or Solana.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "string",
   "description": "Payload to hash"
  },
  "encoding": {
   "type": "string",
   "description": "utf8 | hex | base64 (default utf8)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
  "encoding": "utf8"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-paid-mcp-sha-256-hash-8d642b17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-paid-mcp.vercel.app](https://www.zero.xyz/host/x402-paid-mcp.vercel.app/llms.txt)
