# Hash Generator API

> Hash Generator API is a paid API for AI agents from hash-generator.api.klymax402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Generates a cryptographic hash from a given text string using a specified algorithm (MD5, SHA1, SHA256, SHA512, or bcrypt)

## Facts

- Endpoint: GET https://hash-generator.api.klymax402.com/api/hash
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hash-generator-api-klymax402-com-27b1de2a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dShU-Z84cE8szfe7gakjq

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 hash-generator-api-klymax402-com-27b1de2a
```

Example prompt: Can you generate a SHA256 hash of the text 'HelloWorld2024' for me?

## When to prefer this

Use this endpoint when you need a quick, on-demand cryptographic hash of a text string and want to choose from multiple algorithms (MD5, SHA1, SHA256, SHA512, bcrypt) without running local code. Ideal for lightweight checksum generation, password hashing, or data integrity verification in agentic workflows.

## Known failure modes

- Missing or empty 'text' parameter returns an error
- Unsupported algorithm value returns an error
- Network timeout on the remote endpoint
- Rate limiting or payment failure for the x402 micro-payment

## How this service works

Generate a cryptographic hash from text

## Output

Returns a cryptographic hash string of the input text, computed using the specified algorithm (defaulting to SHA256 if none is provided).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text to hash"
  },
  "algorithm": {
   "type": "string",
   "description": "Hash algorithm: md5, sha1, sha256, sha512, bcrypt (default: sha256)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hash-generator-api-klymax402-com-27b1de2a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hash-generator.api.klymax402.com](https://www.zero.xyz/host/hash-generator.api.klymax402.com/llms.txt)
