# ONE Engine Batch Hash API

> ONE Engine Batch Hash API is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0011/call, status unknown (last checked 2026-10-02).

Computes SHA-256 or SHA-512 cryptographic hashes for up to 100 UTF-8 strings in a single pay-per-call request.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/hash/batch?utm_source=zero.xyz
- Price: $0.0011/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-batch-hash-api-a8ef3035
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iBOWbyQYdUu7qZMAUYPZX

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 one-engine-batch-hash-api-a8ef3035 -d '<json body>'
```

Example prompt: Hash these three strings using SHA-256: 'hello', 'world', and 'foo' — give me the hex digests for each.

## When to prefer this

Choose this endpoint when you need to hash multiple strings in a single round-trip rather than calling a single-hash endpoint repeatedly. It is ideal for agents that need to fingerprint, deduplicate, or integrity-check batches of text data cheaply using standard SHA-256 or SHA-512 algorithms, billed at a flat $0.0011 USDC per call regardless of batch size up to 100 items.

## Known failure modes

- Array exceeds 100 items — request rejected
- Invalid algorithm value (not sha256 or sha512) — validation error
- Non-UTF-8 or malformed string input — parsing error
- Payment failure via x402 — 402 response before processing
- Empty items array — may return empty results or validation error

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

Returns a JSON object with the algorithm used, the total count of hashed items, and a results array where each entry contains the index of the input string and its hex-encoded hash digest.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 100,
   "description": "UTF-8 strings to hash"
  },
  "algorithm": {
   "enum": [
    "sha256",
    "sha512"
   ],
   "type": "string",
   "description": "Hash algorithm. Defaults to sha256."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "product": "hash_batch",
  "results": [
   {
    "hash": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
    "index": 0
   }
  ],
  "algorithm": "SHA-256"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-batch-hash-api-a8ef3035/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
