# centralcity.ai Text Statistics Counter

> centralcity.ai Text Statistics Counter is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Counts the number of characters, words, lines, and sentences in a given text.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_6xe2ntckdd2yzz7d?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/centralcity-ai-text-statistics-counter-ba8c828c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I6Xmwdr5zYU78sdAVnziq

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 centralcity-ai-text-statistics-counter-ba8c828c -d '<json body>'
```

Example prompt: Can you count the characters, words, lines, and sentences in this text: 'The quick brown fox jumps over the lazy dog. It did so twice.'

## When to prefer this

Use this endpoint when you need a fast, deterministic breakdown of text metrics (character, word, line, and sentence counts) without spinning up a heavier NLP pipeline. Ideal for content length validation, editorial checks, or preprocessing steps before further analysis.

## Known failure modes

- Text exceeds 64 KiB limit — request rejected or truncated
- Empty string input returns zeroes for all counts
- Malformed request body returns an error
- Network or payment failure results in no response

## How this service works

Counts the characters, words, lines and sentences of a text.

## Output

Returns counts of characters, words, lines, and sentences contained in the submitted text, enabling quick assessment of text length and structure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text, at most 64 KiB."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/centralcity-ai-text-statistics-counter-ba8c828c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from centralcity.ai](https://www.zero.xyz/host/centralcity.ai/llms.txt)
