# whatchuneed Hash Utility

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

Hashes an input text string using a specified algorithm (e.g. SHA-256) and returns the resulting hash value.

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/util/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/whatchuneed-hash-utility-6a8563e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oFKEyFROdd-Fren2YHXH_

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 whatchuneed-hash-utility-6a8563e6 -d '<json body>'
```

Example prompt: Can you hash the text 'Hello, World!' using SHA-256 for me?

## When to prefer this

Choose this endpoint when you need a simple, pay-per-call hash computation without setting up a local library, or when running in an environment where cryptographic libraries are unavailable. Useful for lightweight agents that need on-demand hashing without managing dependencies.

## Known failure modes

- Missing required 'text' field returns a validation error
- Unsupported or misspelled algorithm value may return an error or default to a fallback algorithm
- Very long input strings may cause timeout or truncation
- Payment failure via x402 protocol results in 402 response before computation occurs

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a JSON object containing the computed hash string and the algorithm name that was used, e.g. {"hash": "a591a6d40bf420404...", "algorithm": "sha256"}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "Input text to hash"
  },
  "algorithm": {
   "enum": [
    "md5",
    "sha1",
    "sha256",
    "sha512"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string"
  },
  "algorithm": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-hash-utility-6a8563e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
