# AgentResolver SHA-256 Hash Endpoint

> AgentResolver SHA-256 Hash Endpoint is a paid API for AI agents from agentresolver.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-18).

Computes the SHA-256 cryptographic hash of an input string and returns the hex-encoded digest along with metadata about the operation

## Facts

- Endpoint: POST https://agentresolver.vercel.app/api/sha256
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentresolver-sha-256-hash-endpoint-94423fcd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_15QSz69WMBgCU-MNndzbq

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 agentresolver-sha-256-hash-endpoint-94423fcd -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the string 'Hello, World!' for me?

## When to prefer this

Choose this endpoint when you need a fast, deterministic SHA-256 hash of a string and don't want to run local crypto code. Ideal for agents that need to fingerprint, deduplicate, or verify content integrity without access to a native hashing library. At $0.001 USDC per call it's cost-effective for low-to-medium volume use cases.

## Known failure modes

- Missing 'input' field in request body returns a validation error
- Empty string input may be accepted but produces the known SHA-256 hash of empty input
- Very large input strings may cause timeouts or payload size rejections
- Malformed JSON body returns a parse error
- Non-string input types in the 'input' field may cause type validation failures

## How this service works

Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.

## Output

Returns a JSON object containing the operation name ('sha256'), the number of bytes in the input, the encoding of the result ('hex'), and the resulting SHA-256 hash as a hexadecimal string digest.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentresolver-sha-256-hash-endpoint-94423fcd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentresolver.vercel.app](https://www.zero.xyz/host/agentresolver.vercel.app/llms.txt)
