# whatchuneed Text Stats

> whatchuneed Text Stats is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Computes statistical metrics (word count, character count, sentence count, readability scores, etc.) for a given text input

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/util/text-stats
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-text-stats-f3f02230
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__EGtsgmLg_v5k9NVFtqU5

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 whatchuneed-text-stats-f3f02230 -d '<json body>'
```

Example prompt: Can you run text stats on this paragraph for me? 'The quick brown fox jumps over the lazy dog. It was a sunny day in the meadow.' I want to know the word count, character count, sentence count, and readability score.

## When to prefer this

Choose this endpoint when you need quick, pay-per-call text statistics without setting up a dedicated NLP library or service. It is ideal for lightweight analysis tasks like word count, readability scoring, or sentence counting on arbitrary text, especially within an agent workflow that already uses the x402 payment protocol and whatchuneed API ecosystem.

## Known failure modes

- Empty or missing input field returns an error
- Extremely long text inputs may time out or be truncated
- Non-string input types may cause a validation error
- Payment failure via x402 protocol results in 402 response before processing

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a result object containing computed text statistics such as word count, character count, sentence count, average word length, readability scores (e.g. Flesch-Kincaid), and potentially other linguistic metrics derived from the input text, along with a status field indicating success or failure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Request input"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "Response data"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-text-stats-f3f02230/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
