# Text Stats & SHA-256 Checker

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

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.mmelnyk2000.workers.dev/mcp?utm_source=zero.xyz#text-stats#text-stats
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-stats-sha-256-checker-12734af3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qpAPcdjx035PzBetPggn7

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-12734af3 -d '<json body>'
```

Example prompt: Fetch https://raw.githubusercontent.com/torvalds/linux/master/README and give me the byte count, word count, line count, and SHA-256 hash of the text.

## When to prefer this

Choose this endpoint when you need to compute text statistics (word/line/byte/char counts) or a SHA-256 integrity hash for a publicly accessible HTTPS text URL in a single call. Ideal for verifying remote file integrity, auditing document size, or tracking changes to hosted text resources. Not suitable for local files, private URLs, binary files, or when you need the actual text content rather than statistics about it.

## Known failure modes

- Non-HTTPS URLs (http, file, data, localhost) are rejected with an error
- Private or internal IP addresses are blocked
- Response body exceeds 1 MB cap — request rejected
- Request times out after ~10 seconds
- Binary content types (image, audio, video, octet-stream) are rejected
- More than 5 redirects encountered — request aborted
- Target server returns non-200 status

## 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

A JSON object containing the original URL, final URL after redirects, detected content type, byte length, character count, line count, word count, SHA-256 hash of the content, and any warnings (e.g. about encoding or truncation). Binary and media content types are rejected; body is capped at 1 MB.

## More

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