# DataVault Hash Generator

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

Computes a cryptographic hash of a given text string using a specified algorithm

## Facts

- Endpoint: POST https://zetdatavault.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-generator-e0df2b9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QYqJGUbwWO1TSM9G07pO4

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-generator-e0df2b9d -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need a simple, pay-per-call cryptographic hash of a text string without standing up your own hashing infrastructure. Useful for agents that need on-demand hashing as part of data verification or fingerprinting pipelines.

## Known failure modes

- Unsupported or unrecognized algorithm name returns an error
- Missing required 'text' field returns a validation error
- Payment not completed results in 402 response
- Empty string input may return a valid hash but could be unintended
- Server error returns success: false with no data

## 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-generator-e0df2b9d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
