# Text Hash (SHA-256/SHA-1/SHA-512/SHA-384)

> Text Hash (SHA-256/SHA-1/SHA-512/SHA-384) is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns SHA-256, SHA-1, SHA-512, and SHA-384 hex digests plus byte length of any UTF-8 text string

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/hash
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-hash-sha-256-sha-1-sha-512-sha-384-c3ae2147
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8j4OWITiHqjn4jUVP0w2R

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 text-hash-sha-256-sha-1-sha-512-sha-384-c3ae2147
```

Example prompt: Compute the SHA-256, SHA-1, SHA-512, and SHA-384 hex digests and byte length for this exact text: 'Hello, world! This is my input string.'

## When to prefer this

Use this endpoint when you need multiple standard hash digests (SHA-256, SHA-1, SHA-512, SHA-384) computed simultaneously for a single text value in one round trip, without deploying a local hashing library. It is ideal for agent workflows needing deduplication keys, integrity fingerprints, or checksums over user-supplied or pipeline-generated text without executing arbitrary code locally.

## Known failure modes

- Missing 'input' query parameter returns an error
- Empty string input may return zero-byte hashes
- Non-UTF-8 encoding edge cases may cause unexpected byte length
- Payment failure (x402) if USDC balance is insufficient
- Timeout or 5xx from upstream service under load

## How this service works

Text hashes: SHA-256, SHA-1, SHA-512 and SHA-384 hex digests of the exact text you send (UTF-8), plus its byte length. Deduplication keys, integrity checks and fingerprints. $0.01 per call.

## Output

A JSON object containing four hex digest strings (SHA-256, SHA-1, SHA-512, SHA-384) computed over the exact UTF-8 bytes of the input text, along with the byte length of the input. All four digests are returned in a single response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/text-hash-sha-256-sha-1-sha-512-sha-384-c3ae2147/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
