# Text Stats & SHA-256 Checker

> Text Stats & SHA-256 Checker is a paid API for AI agents from well-008-text-stats.rainmaker-wells.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Fetches a public HTTPS URL containing text and returns byte count, character count, line count, word count, and SHA-256 hash of the content

## Facts

- Endpoint: POST https://well-008-text-stats.rainmaker-wells.workers.dev/mcp?utm_source=zero.xyz#text-stats#text-stats
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-stats-sha-256-checker-96bfea46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zdavHZnalJThtMm7kfUU8

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-stats-sha-256-checker-96bfea46 -d '<json body>'
```

Example prompt: Can you fetch https://example.com/report.txt and tell me how many words, lines, and bytes it contains, plus its SHA-256 hash so I can verify it later?

## When to prefer this

Choose this endpoint when you need fast, verifiable text statistics (word/line/byte/char counts plus SHA-256) for a publicly accessible HTTPS URL. It is ideal for integrity checks, document auditing, or feeding downstream workflows that depend on content fingerprints. It is not suitable for HTML scraping, binary files, or private/internal URLs.

## Known failure modes

- URL uses http instead of https — rejected with an error
- URL resolves to a private/localhost IP — blocked for security
- Response body exceeds 1 MB cap — returns an error
- Remote server takes longer than ~10 seconds — timeout error
- Content-Type is image, audio, video, or octet-stream — rejected
- More than 5 redirects encountered — aborted
- URL is unreachable or returns a non-200 status — error response

## How this service works

Fetch a public https URL that returns text and compute byte/char/line/word counts plus SHA-256 ($0.005 USDC via x402). https only — http, file, data, localhost, and private IPs are rejected. Caps: 1 MB body, ~10s timeout, max 5 redirects. Rejects image/audio/video/octet-stream. Returns JSON { url, final_url, content_type, byte_length, char_count, line_count, word_count, sha256, warnings }.

## Output

Returns a JSON object containing: the original URL, the final URL after redirects, the detected content type, byte length of the body, character count, line count, word count, SHA-256 hash of the content, and any warnings (e.g. about encoding or redirects).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/text-stats-sha-256-checker-96bfea46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from well-008-text-stats.rainmaker-wells.workers.dev](https://www.zero.xyz/host/well-008-text-stats.rainmaker-wells.workers.dev/llms.txt)
