# Agent Data Bench – SHA256/SHA512/SHA1/MD5 Hash

> Agent Data Bench – SHA256/SHA512/SHA1/MD5 Hash is a paid API for AI agents from x402.deepsense.stream, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Hashes a text string using sha256, sha512, sha1, or md5 and returns both hex and base64 encodings in a single call.

## Facts

- Endpoint: GET https://x402.deepsense.stream/api/v1/hash?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-bench-sha256-sha512-sha1-md5-hash-ee391d76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VUGEkInAm9WLKwIMnQhhK

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 agent-data-bench-sha256-sha512-sha1-md5-hash-ee391d76
```

Example prompt: Hash this text using sha256 and give me both the hex and base64 digest: 'Hello, world! This is my payload.'

## When to prefer this

Choose this endpoint when an AI agent needs to hash text without access to a local crypto library, or when you need both hex and base64 digest formats returned together in one call. It supports four common algorithms (sha256, sha512, sha1, md5) and is ideal for prompt fingerprinting, payload integrity checks, or legacy checksum generation. Prefer it over building custom hashing logic when operating in a serverless or restricted runtime environment.

## Known failure modes

- Text exceeds 200,000 character limit — request rejected
- Invalid algorithm value not in [sha256, sha512, sha1, md5] — validation error
- Empty or missing text field — may return error or hash of empty string
- Network timeout or service unavailability — HTTP 5xx error
- Payment failure via x402 protocol — call not executed

## How this service works

Hash text with sha256 (default), sha512, sha1 or md5 and get hex plus base64 in one call. Handy for agents that must fingerprint prompts, files or payloads without a local crypto library.

## Output

Returns the computed hash of the input text in both hex and base64 formats, along with the algorithm used, in a single JSON response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "algo": {
   "enum": [
    "sha256",
    "sha512",
    "sha1",
    "md5"
   ],
   "type": "string",
   "default": "sha256"
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-bench-sha256-sha512-sha1-md5-hash-ee391d76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.deepsense.stream](https://www.zero.xyz/host/x402.deepsense.stream/llms.txt)
