# x402 Hashing Utility API

> x402 Hashing Utility API is a paid API for AI agents from workspace-x402-paywall.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Computes a cryptographic hash (SHA-256, SHA-512, SHA-1, or MD5) of a given text string for $0.001 USDC per call via x402 micropayment

## Facts

- Endpoint: GET https://workspace-x402-paywall.onrender.com/utils/hash?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hashing-utility-api-188687c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kOQ4B7VlPxRLS0RF_xOGh

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-hashing-utility-api-188687c5
```

Example prompt: Hash the text 'Hello, World!' using SHA-256 and give me the digest.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use cryptographic hash without spinning up a local library — especially inside an AI agent workflow on Base or Solana that already handles x402 USDC micropayments. Ideal for one-off hashing tasks at negligible cost ($0.001) where installing a native crypto dependency is impractical or undesirable.

## Known failure modes

- Missing or unsupported algorithm enum value returns a validation error
- Empty or missing text field returns a bad request error
- Payment failure (insufficient USDC balance or x402 handshake failure) returns HTTP 402
- Service unavailability on Render hosting returns HTTP 503
- Extremely long text inputs may be rejected or time out

## How this service works

66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.

## Output

Returns an object containing the computed hash digest for the input text using the specified algorithm (sha256, sha512, sha1, or md5), along with metadata about the algorithm used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-hashing-utility-api-188687c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workspace-x402-paywall.onrender.com](https://www.zero.xyz/host/workspace-x402-paywall.onrender.com/llms.txt)
