# 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_4uhlq7czlg36djpy?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-4d2e33a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IlhBIi6ZLut0JVuuHugDA

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-4d2e33a9 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need a quick, structured breakdown of text statistics (characters, words, lines, sentences) without setting up a local NLP library. Ideal for content validation, writing tools, or document pipelines where these four metrics are needed programmatically and cost per call is acceptable at $0.05 USDC.

## Known failure modes

- Text exceeds 64 KiB limit — request rejected or truncated
- Empty string input returns zero counts for all metrics
- Malformed request body missing 'text' field returns an error
- Very long single-line text with no newlines returns line count of 1

## How this service works

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

## Output

Returns an object containing integer counts for characters, words, lines, and sentences found in the submitted text (up to 64 KiB).

## 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-4d2e33a9/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)
