# 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).

Analyzes a text and returns the most frequent single words and two-word phrases with their counts and percentages, excluding common English stopwords by default.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_rja7oggvq67ctuyb?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-8f098250
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MxrusPQcF0MCJWsqWhdzq

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-8f098250 -d '<json body>'
```

Example prompt: Analyze this article and give me the top 15 most frequent words and two-word phrases, with counts and percentages, skipping common stopwords: 'Artificial intelligence is transforming industries at an unprecedented pace. AI-driven automation is reshaping how companies operate and compete in the modern economy...'

## When to prefer this

Choose this endpoint when you need fast, lightweight keyword frequency extraction from raw text without spinning up a full NLP pipeline. It is ideal for quick content audits, SEO keyword density checks, or summarizing dominant themes in a document. Prefer it over heavy ML-based topic modeling when interpretable word counts with stopword filtering are sufficient and cost-efficiency matters.

## Known failure modes

- Text exceeds 64 KiB limit — request rejected
- Invalid 'top' value outside 1–100 range — validation error
- Empty text input — may return empty lists
- Non-English text may produce poor results since stopwords list is English-only
- Network timeout for near-limit text sizes

## 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 JSON object with two ranked lists: one for single words and one for two-word phrases (bigrams), each entry containing the word or phrase, its occurrence count, and its percentage of total word occurrences. Stopwords are excluded by default. The number of entries in each list is controlled by the 'top' parameter (default 20, max 100).

## 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-8f098250/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)
