# GeekVault Hash API

> GeekVault Hash API is a paid API for AI agents from api.geekvault.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Computes a cryptographic hash of a given text string using a specified algorithm (default: SHA-256)

## Facts

- Endpoint: GET https://api.geekvault.dev/dev-tools/v1/hash?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geekvault-hash-api-78e89f34
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p6X6ClrrLvXcF3WtRk44y

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 geekvault-hash-api-78e89f34
```

Example prompt: Can you compute the SHA-256 hash of the string 'Hello, World!'?

## When to prefer this

Choose this endpoint when you need a quick, dependency-free cryptographic hash of a text string without setting up a library or runtime environment — especially useful in agent workflows where code execution is unavailable or undesirable. Prefer this for one-off hashing needs paid per call with no signup or API key overhead.

## Known failure modes

- Missing required 'text' parameter returns an error
- Unsupported algorithm name returns an error or falls back to default
- Empty string input may produce a valid but meaningless hash
- Very long text strings may hit request size limits

## How this service works

Network, docs, image, web, and dev utility tools paid per call via x402. No signup, no API keys, no subscriptions — just USDC on Base.

## Output

Returns a JSON object containing the algorithm name used (e.g. 'sha256') and the resulting hash digest as a hex string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "algo": {
   "type": "string",
   "description": "Algoritmo a usar. Por defecto `sha256`."
  },
  "text": {
   "type": "string",
   "description": "Texto a hashear."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "algo",
  "hash"
 ],
 "properties": {
  "algo": {
   "type": "string"
  },
  "hash": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geekvault-hash-api-78e89f34/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.geekvault.dev](https://www.zero.xyz/host/api.geekvault.dev/llms.txt)
