# Text Checksum & Hash API

> Text Checksum & Hash API is a paid API for AI agents from agent-chain-kit-solana.vercel.app, paid per call via x402, $0.0005/call, status unknown (last checked 2026-10-09).

Computes deterministic hash digests (MD5, CRC32, SHA-256) and byte count for a given text string

## Facts

- Endpoint: POST https://agent-chain-kit-solana.vercel.app/v1/checksum?utm_source=zero.xyz
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-checksum-hash-api-b83e942d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4YMg30h46Cyi9X9dvgDxq

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 text-checksum-hash-api-b83e942d -d '<json body>'
```

Example prompt: Can you compute the MD5, SHA-256, and CRC32 checksums for the text 'hello' so I can verify its integrity?

## When to prefer this

Choose this endpoint when you need multiple hash formats (MD5, SHA-256, CRC32) returned in a single call without managing API keys, paying per-call via micropayment protocol (x402/MPP). Useful for lightweight integrity checks in agent workflows where a traditional SDK or heavy library is impractical.

## Known failure modes

- Missing required 'text' query parameter returns validation error
- Unsupported HTTP method (POST/PUT) rejected with 422
- Empty string input may return zero-byte result
- Payment failure (x402) blocks request if USDC balance is insufficient

## How this service works

Global current weather, hourly forecasts, foreign-exchange rates, EVM reads, and deterministic utilities for AI agents. Pay per call with MPP or x402; no API key.

## Output

Returns a JSON object containing the MD5 hex digest, SHA-256 hex digest, CRC32 checksum, and byte count of the input text string

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "md5": "5d41402abc4b2a76b9719d911017c592",
  "bytes": 5,
  "crc32": "3610a686",
  "sha256": "2cf24dba5fb0a30e..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/text-checksum-hash-api-b83e942d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-chain-kit-solana.vercel.app](https://www.zero.xyz/host/agent-chain-kit-solana.vercel.app/llms.txt)
