# DataVault Hash Generation

> DataVault Hash Generation is a paid API for AI agents from zetavault.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Computes a cryptographic hash of the provided text using a specified algorithm

## Facts

- Endpoint: POST https://zetavault.vercel.app/api/hash
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-hash-generation-0b515aa6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sLe4OORenxfDYo5_a9Cub

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 datavault-hash-generation-0b515aa6 -d '<json body>'
```

Example prompt: Hash the text 'Hello World' using SHA-256 and give me the resulting hash.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call cryptographic hash of a text string without setting up local hashing infrastructure. Suitable for one-off hash computations or when running in environments where crypto libraries are unavailable.

## Known failure modes

- Unsupported or invalid algorithm name returns an error
- Missing required 'text' field returns a validation error
- Payment failure (402) if USDC balance is insufficient
- Empty string input may return an error or zero-length hash depending on implementation

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a JSON object with a 'success' boolean and a 'data' object containing the computed hash value of the input text under the specified algorithm.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  },
  "algorithm": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-hash-generation-0b515aa6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetavault.vercel.app](https://www.zero.xyz/host/zetavault.vercel.app/llms.txt)
