# SixPath Hash Generate

> SixPath Hash Generate is a paid API for AI agents from sixpath.vercel.app, paid per call via x402, $0.187431/call, status unknown (last checked 2026-09-14).

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

## Facts

- Endpoint: POST https://sixpath.vercel.app/api/hash-generate
- Price: $0.187431/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sixpath-hash-generate-00c5ec82
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FpRHnzPA7sK9rheavyL2L

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 sixpath-hash-generate-00c5ec82 -d '<json body>'
```

Example prompt: Can you generate a SHA256 hash of the text 'Hello, World! This is my secret message'?

## When to prefer this

Choose this endpoint when you need quick, pay-per-call cryptographic hashing of text via a blockchain micropayment (x402/Base chain) without setting up a dedicated hashing library or service. Useful for agents that need on-demand hash generation without managing server infrastructure.

## Known failure modes

- Unsupported algorithm value causes error — only md5, sha1, sha256, sha512 are accepted
- Missing text field returns validation error
- Empty string input may return a hash of empty content or an error
- Payment failure via x402 protocol results in 402 response before hashing occurs

## How this service works

All-in-one API hub: Social Media, Jobs, Finance, Crypto, and Tools. Pay-per-call with x402 protocol on Base chain.

## Output

Returns a JSON object containing the computed hash string in the requested algorithm's format, the algorithm name used, and the character length of the original input text.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

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