# centralcity.ai Word & Phrase Frequency Counter

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

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

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_bha5v57724pqidlf?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-phrase-frequency-counter-8840093c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7sQLUDTD_2yNzMVCGxjoO

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-phrase-frequency-counter-8840093c -d '<json body>'
```

Example prompt: Can you find the top 15 most frequent words and phrases in this article text, leaving out common stopwords like 'the' and 'and'? Here's the text: [paste text here]

## When to prefer this

Use this endpoint when you need quick, structured word and bigram frequency statistics from plain text without spinning up a full NLP pipeline. Ideal for content audits, SEO keyword analysis, thematic summarization, and feedback mining. Prefer this over regex-based tools when you also want two-word phrase (bigram) counts alongside single-word frequencies in one call.

## Known failure modes

- Text exceeds 64 KiB limit — returns an error
- Top parameter out of range (must be 1–100) — returns validation error
- Empty or missing text field — returns error
- Non-English text 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

A ranked list of the top N most frequent single words and a ranked list of the top N most frequent two-word phrases, each with their occurrence count and percentage of total word occurrences. English stopwords (the, and, of, etc.) are excluded by default.

## 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-phrase-frequency-counter-8840093c/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)
