# ForgeMesh Text Checksum

> ForgeMesh Text Checksum is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Computes a deterministic cryptographic hash (SHA-256, SHA-512, SHA-1, or MD5) of any input text, returning a hex digest without storing or logging the input.

## Facts

- Endpoint: POST https://x402.forgemesh.io/text-checksum
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-text-checksum-367edb5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lPg3oj4j1130YlRz9ST5K

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 forgemesh-text-checksum-367edb5f -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hex digest for this text: 'The quick brown fox jumps over the lazy dog'?

## When to prefer this

Use this endpoint when you need a quick, stateless, privacy-preserving checksum of arbitrary text without setting up a local hashing library — especially in pipelines where you want to detect duplicate or unchanged content by comparing fingerprints rather than comparing full text. Prefer this over storing or re-reading text when deduplication or integrity checks are needed across systems.

## Known failure modes

- Missing or empty 'text' field returns a 400-level error
- Invalid algorithm value (not one of sha256, sha512, sha1, md5) returns an error
- Payment failure (insufficient USDC balance) blocks the call
- Extremely large text payloads may be rejected or time out

## How this service works

Generates a deterministic checksum, SHA-256, SHA-512, SHA-1, or MD5, for any block of text, returned as a hex digest with no storage or logging of the input. For pipelines that need to detect whether two pieces of text are byte-for-byte identical without re-reading and comparing them token by token.

## Output

Returns a hex-encoded cryptographic digest of the input text using the specified algorithm (defaulting to SHA-256). No input is stored or logged. The result is deterministic: the same text and algorithm always produce the same hash.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "algorithm": {
   "type": "string",
   "description": "sha256 (default) | sha512 | sha1 | md5"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
  "algorithm": "sha256"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-text-checksum-367edb5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
