# x402-zoo Checksum & Hash Calculator

> x402-zoo Checksum & Hash Calculator is a paid API for AI agents from x402-zoo.lolagent.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Computes SHA-family (e.g. SHA-256, SHA-512) or FNV-1a checksums for any caller-supplied text string.

## Facts

- Endpoint: GET https://x402-zoo.lolagent.workers.dev/api/checksum
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-zoo-checksum-hash-calculator-44bdf55a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L-eW1RZFgxN5zt1Fg9rVD

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 x402-zoo-checksum-hash-calculator-44bdf55a
```

Example prompt: Can you calculate the SHA-256 hash of the text 'Hello, world!' for me?

## When to prefer this

Choose this endpoint when you need a quick, serverless hash or checksum computation without standing up your own crypto library — especially useful in low-code agent workflows, test pipelines, or environments where calling a lightweight paid micro-API is simpler than importing a hashing dependency. Prefer it for SHA-family digests or FNV-1a specifically; for HMAC or bcrypt, look elsewhere.

## Known failure modes

- Missing 'text' query parameter returns a 400 or error response
- Unsupported algorithm name returns an error indicating valid options
- Very long input strings may be truncated or rejected
- Payment failure (x402) prevents the request from being processed

## How this service works

Calculate SHA-family hashes or an FNV-1a checksum for caller-supplied text.

## Output

Returns the computed hash or checksum digest as a hex string (or equivalent encoding), along with the algorithm used and the original input text, so the caller can confirm correctness and use the digest for integrity checks or fingerprinting.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string"
      },
      "algorithm": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-zoo-checksum-hash-calculator-44bdf55a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-zoo.lolagent.workers.dev](https://www.zero.xyz/host/x402-zoo.lolagent.workers.dev/llms.txt)
