# Toll402 Text Statistics Analyzer

> Toll402 Text Statistics Analyzer is a paid API for AI agents from toll402.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Computes word, sentence, and paragraph counts, estimated reading time at 200 wpm, and top 10 keywords (with stopwords removed) for a given text

## Facts

- Endpoint: POST https://toll402.dev/v1/t/text_stats
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-text-statistics-analyzer-2e064107
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gK6Zj-ZS4OYNSghC4a-ex

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 toll402-text-statistics-analyzer-2e064107 -d '<json body>'
```

Example prompt: Can you analyze this article and tell me the word count, sentence count, paragraph count, estimated reading time, and top keywords? Here's the text: 'Artificial intelligence is transforming every industry. Companies large and small are adopting machine learning tools to automate tasks, improve efficiency, and gain competitive advantages. The technology continues to evolve rapidly.'

## When to prefer this

Use this endpoint when you need fast, deterministic text statistics — word/sentence/paragraph counts, reading time, and keyword extraction — without invoking a heavyweight LLM. It is ideal for content pipelines, editorial tools, and SEO workflows where reproducibility and low cost matter. Prefer this over general LLM summarization endpoints when you specifically need structured numeric metadata about a text rather than a narrative interpretation.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Extremely large texts may exceed payload limits or time out
- Non-UTF-8 encoded text may cause parsing errors
- Text consisting entirely of stopwords may return an empty keywords list
- Malformed JSON body returns a 400-level error

## How this service works

Word/sentence/paragraph counts, reading time (200 wpm), top 10 keywords (stopwords removed) for a text

## Output

Returns structured statistics for the submitted text including: word count, sentence count, paragraph count, estimated reading time (based on 200 words per minute), and a ranked list of the top 10 keywords after common stopwords have been filtered out.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toll402-text-statistics-analyzer-2e064107/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
