# ManyLives Tools – SHA Hash

> ManyLives Tools – SHA Hash is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Hashes a text string using SHA-256, SHA-384, SHA-512, or SHA-1 and returns both hex and base64 digests.

## Facts

- Endpoint: POST https://api.manylives.me/paid/util/hash?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-tools-sha-hash-8b4fb026
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_830n1iMODfQw_3Sluv1Fg

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 manylives-tools-sha-hash-8b4fb026 -d '<json body>'
```

Example prompt: Hash the text 'hello world' using SHA-256 and give me both the hex and base64 digests.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call SHA hash (hex + base64) of a text string without running local crypto libraries — especially useful for serverless agents, sandboxed environments, or pipelines that already use the ManyLives x402 payment rail and want a single consistent utility call.

## Known failure modes

- Missing 'text' field returns an error since it is required
- Invalid algorithm name (not sha256/sha384/sha512/sha1) may return an error or fall back to default
- Empty string input may produce a valid hash of zero bytes but could behave unexpectedly depending on implementation
- Network or payment failures result in a 402 or 5xx response

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

A JSON object containing the hex digest string, the base64 digest string, the algorithm name used (e.g. 'sha256'), and the byte length of the input text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "algo": {
   "type": "string",
   "examples": [
    "sha256"
   ],
   "description": "optional: sha256 (default), sha384, sha512, sha1"
  },
  "text": {
   "type": "string",
   "examples": [
    "hello"
   ],
   "description": "text to hash (required)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "…",
  "algo": "sha256",
  "bytes": 5,
  "base64": "…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-tools-sha-hash-8b4fb026/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.manylives.me](https://www.zero.xyz/host/api.manylives.me/llms.txt)
