# Blue Cap hash.compute

> Blue Cap hash.compute is a paid API for AI agents from machine.soundiq.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Computes a SHA-256 cryptographic digest for UTF-8 text or base64-decoded bytes and returns the reproducible hex digest via a paid API call.

## Facts

- Endpoint: POST https://machine.soundiq.io/storefront/v1/capabilities/hash.compute/1.0.0/invoke
- 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/blue-cap-hash-compute-25f1494e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D7Zgjd6qewtO2GQs72cFk

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 blue-cap-hash-compute-25f1494e -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of this string for me: 'Hello, world! This is my document content.'

## When to prefer this

Choose this endpoint when you need a stable, receipted SHA-256 hash computation over a paid API with x402 micropayment support — particularly useful in agentic workflows where a verifiable external receipt of the computation matters, or when integrating with blockchain-adjacent systems that require proof of execution alongside the digest.

## Known failure modes

- Invalid or malformed body payload returns an error response
- Non-UTF-8 or incorrectly base64-encoded input may produce unexpected results or an error
- Payment failure (insufficient USDC balance) results in a 402 Payment Required response
- Network timeout or service unavailability returns a 5xx error
- Missing required fields (input or output objects) returns a 400 validation error

## How this service works

Compute a SHA-256 digest for customer-supplied UTF-8 or base64-decoded bytes through a stable machine endpoint. Returns the reproducible digest through a receipted external execution.

## Output

Returns a JSON response containing the SHA-256 hex digest of the supplied input, along with a receipted confirmation of the external execution. The digest is deterministic and reproducible for the same input bytes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "const": "http"
    },
    "method": {
     "const": "POST"
    },
    "bodyType": {
     "const": "json"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blue-cap-hash-compute-25f1494e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from machine.soundiq.io](https://www.zero.xyz/host/machine.soundiq.io/llms.txt)
