# centralcity.ai Word Frequency Analyzer

> centralcity.ai Word Frequency Analyzer 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).

Extracts the most frequent words and two-word phrases from a text, returning counts and percentages with English stopwords filtered out by default.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_3tou4m3dzkblb7tz?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-word-frequency-analyzer-2ff40be3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aBGpxWc-zlracD_BGs3VS

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-word-frequency-analyzer-2ff40be3 -d '<json body>'
```

Example prompt: Analyze this article text and give me the top 15 most frequent words and phrases, skipping common English stopwords: 'Artificial intelligence is transforming how businesses operate. AI tools help companies automate tasks, improve efficiency, and reduce costs. Many businesses are adopting AI to stay competitive...'

## When to prefer this

Choose this endpoint when you need fast, lightweight keyword and bigram frequency extraction from plain text without spinning up a full NLP pipeline. It is ideal for content audits, SEO keyword density checks, quick topic identification, or summarizing dominant themes in a document. It is simpler and cheaper than full NLP services when you only need term frequency statistics, not sentiment, entities, or semantic embeddings.

## Known failure modes

- Text exceeds 64 KiB limit — request rejected
- Top parameter outside 1–100 range — validation error
- Empty or whitespace-only text — returns empty frequency lists
- Non-UTF-8 encoded content may cause parsing errors
- Text in non-English languages may produce unexpected stopword filtering behavior

## How this service works

The most frequent words and two-word phrases of a text, with counts and percentages; English stopwords left out by default.

## Output

Returns a ranked list of the top N most frequent single words and a ranked list of the top N most frequent two-word phrases (bigrams), each with their occurrence count and percentage of total word usage. English stopwords (the, and, of, etc.) are excluded by default unless the stopwords flag is set to false.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "top": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1,
   "description": "How many words and how many phrases to answer, 1 to 100 (default 20)."
  },
  "text": {
   "type": "string",
   "description": "The text, at most 64 KiB."
  },
  "stopwords": {
   "type": "boolean",
   "description": "Whether common English words (the, and, of ...) are left out (default true)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/centralcity-ai-word-frequency-analyzer-2ff40be3/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)
