# INCOME 2 Agent Tools – SHA-256 Hash

> INCOME 2 Agent Tools – SHA-256 Hash is a paid API for AI agents from earn-tools-backend.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Computes a SHA-256 cryptographic hash of an input string via a pay-per-call x402 API

## Facts

- Endpoint: POST https://earn-tools-backend.onrender.com/sha256
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/income-2-agent-tools-sha-256-hash-4cd16360
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rTqQuoCy-sCNtE1ZtYHW6

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 income-2-agent-tools-sha-256-hash-4cd16360 -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the string 'hello world 2024' for me?

## When to prefer this

Choose this endpoint when you need a simple, pay-per-call SHA-256 hash computation without standing up your own infrastructure, particularly in autonomous agent workflows where x402 micropayments are already supported and you want a trustless, low-cost cryptographic primitive on demand.

## Known failure modes

- Input string exceeds 500,000 character limit — request rejected
- Missing or malformed 'input' field in request body — validation error
- x402 payment not provided or invalid payment signature — 402 Payment Required response
- Service unavailable on Render cold start — 503 or timeout
- Network timeout if Render instance is sleeping

## How this service works

Low-cost x402 pay-per-call tools for autonomous buyers. Web extraction returns static public pages as clean markdown; every payable operation declares x-payment-info and a 402 response. Free betas: Agent Purchase Guard adds retry-safe purchase intent controls; Outcome Router accepts a desired result plus max budget and autonomously discovers fulfillment, tries zero-dollar proof-of-work first, and supports buyer-signed x402 paid execution where available.

Buyer-signed paid HYDRA execution
- Outcome request: POST https://earn-tools-backend.onrender.com/outcome-router
- Paid execution: POST https://earn-tools-backend.onrender.com/outcome-router/execute/{requestId}
- First execution call returns the relayed Agent402 Smart Order Router x402 PAYMENT-REQUIRED challenge.
- An x402-capable buyer wallet signs locally and retries with PAYMENT-SIGNATURE.
- HYDRA forwards the proof and returns the routed result.
- HYDRA never receives the buyer private key or uses owner working capital.
- Current beta platform fee: $0. Higher paid tiers are not auto-escalated.

## Output

Returns a JSON object with 'ok': true and a 'result' object containing the 'result' field (the hex-encoded SHA-256 hash string) and 'operation': 'sha256' confirming the operation performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 500000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "result": {
   "result": "...",
   "operation": "sha256"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/income-2-agent-tools-sha-256-hash-4cd16360/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from earn-tools-backend.onrender.com](https://www.zero.xyz/host/earn-tools-backend.onrender.com/llms.txt)
