# Bounty Engineer Hash API

> Bounty Engineer Hash API is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Hashes an input text string and returns its SHA-256, SHA-512, and Base64 encodings along with byte size

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/hash?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bounty-engineer-hash-api-cff6f888
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O1fOQASZufhzPufglp87o

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 bounty-engineer-hash-api-cff6f888 -d '<json body>'
```

Example prompt: Can you hash this text for me and give me its SHA-256, SHA-512, and base64 encoding: 'Hello, world! This is my contract payload.'

## When to prefer this

Use this endpoint when you need cryptographic hashes (SHA-256 and SHA-512) and Base64 encoding of a text string in a single call, especially within an agent workflow that already uses x402 micropayment infrastructure. Prefer it over local hashing only if you need a verifiable third-party computation receipt or are operating in a sandboxed environment without native crypto libraries.

## Known failure modes

- Input text exceeds 32768 character limit — returns an error
- Malformed request body or missing text field — 400 Bad Request
- Payment not included or insufficient — 402 Payment Required
- Service unavailable on Render hosting — 503 or timeout

## How this service works

Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.

## Output

Returns a JSON object with ok:true, plus a result object containing: bytes (integer byte count of the input), base64 (Base64-encoded representation of the input), sha256 (hex SHA-256 digest), and sha512 (hex SHA-512 digest).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 32768
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "result": {
   "bytes": 3,
   "base64": "YWJj",
   "sha256": "ba7816...",
   "sha512": "ddaf35..."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bounty-engineer-hash-api-cff6f888/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bounty-engineer-x402-prod.onrender.com](https://www.zero.xyz/host/bounty-engineer-x402-prod.onrender.com/llms.txt)
