# x402-tools-hub Text Stats

> x402-tools-hub Text Stats is a paid API for AI agents from tools-hub-v4-xi.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Analyzes a block of text and returns statistical metrics such as word count, character count, sentence count, and readability scores.

## Facts

- Endpoint: POST https://tools-hub-v4-xi.vercel.app/api/text-stats?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-hub-text-stats-1c09dc93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fK8uogRFE_CzbQHYwpY3r

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-tools-hub-text-stats-1c09dc93 -d '<json body>'
```

Example prompt: Can you analyze the statistics of this article text — give me the word count, character count, sentence count, and readability score: 'Artificial intelligence is transforming industries worldwide...'?

## When to prefer this

Use this endpoint when you need quick, quantitative text metrics — word counts, character counts, readability scores — without needing full NLP or semantic analysis. Ideal for content validation, SEO checks, or editorial workflows that need objective text measurements.

## Known failure modes

- Empty or missing text body returns an error
- Extremely large text inputs may time out
- Payment not included or insufficient returns 402 Payment Required
- Malformed POST body returns 400 Bad Request

## How this service works

Agent Toolkit + AI Gateway + Alpha Scraper — 13 paid endpoints for AI agents.

## Output

Returns computed text statistics including word count, character count, sentence count, and readability metrics for the submitted text.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-hub-text-stats-1c09dc93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools-hub-v4-xi.vercel.app](https://www.zero.xyz/host/tools-hub-v4-xi.vercel.app/llms.txt)
