# ProfitCollector SHA-512 Hash API

> ProfitCollector SHA-512 Hash API is a paid API for AI agents from api.bakhour.ca, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Computes the SHA-512 cryptographic hash digest of an input text string

## Facts

- Endpoint: POST https://api.bakhour.ca/hash/sha512
- 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/profitcollector-sha-512-hash-api-a356c4f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pEdxkCfNZAvg6vypPW7jr

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 profitcollector-sha-512-hash-api-a356c4f1 -d '<json body>'
```

Example prompt: Can you compute the SHA-512 hash of the text 'Hello, World!' for me?

## When to prefer this

Choose this endpoint when you need a deterministic, paid SHA-512 hash in an automated agent workflow that supports x402 micropayments, and you want a simple REST API with a clear JSON response rather than running a local crypto library. Useful when operating in sandboxed environments without access to native hashing functions.

## Known failure modes

- Missing or empty 'text' field in request body — likely returns 400 Bad Request
- Network timeout or service unavailability — returns 5xx error
- Payment failure (x402) if USDC is not provided or insufficient — returns 402 Payment Required
- Overly large input strings may be rejected or time out

## How this service works

Decision-grade security/due-diligence outcome reports ($20-$100) plus deterministic paid utilities ($0.001+) for software agents and automated workflows.

## Output

Returns a JSON object containing the SHA-512 hex digest string of the input text and the algorithm name ('sha512'), e.g. {"digest": "9b71d224bd62f3785d96d46ad3ea3d73...", "algorithm": "sha512"}.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "digest": "9b71d224bd62f3785d96d46ad3ea3d73...",
  "algorithm": "sha512"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/profitcollector-sha-512-hash-api-a356c4f1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bakhour.ca](https://www.zero.xyz/host/api.bakhour.ca/llms.txt)
