# fastapi.online Word Frequency Analyzer

> fastapi.online Word Frequency Analyzer is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.0005/call, status unknown (last checked 2026-09-15).

Counts and ranks word frequencies in a text, returning the top N most common words and their counts.

## Facts

- Endpoint: POST https://api.fastapi.online/word-frequency
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-word-frequency-analyzer-fa4bdfc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zws-LDfcG7o0Mnx4NwMb8

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 fastapi-online-word-frequency-analyzer-fa4bdfc9 -d '<json body>'
```

Example prompt: Can you analyze this article and tell me the top 20 most frequently used words? Here's the text: [paste text here]

## When to prefer this

Choose this endpoint when you need a simple, fast, per-call word frequency count without setting up a local NLP pipeline. It's ideal for one-off text analysis tasks, content audits, or vocabulary checks where you want a ranked frequency table quickly and cheaply at $0.0005 per call with no signup required.

## Known failure modes

- Empty or missing text field returns a validation error
- top_n exceeding 200 or below 1 returns a schema validation error
- Text exceeding 100,000 characters is rejected
- Payment not provided or insufficient USDC triggers a 402 response
- Network timeout on very large texts near the character limit

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

A ranked list of the top N words by frequency, each paired with its occurrence count, ordered from most to least frequent. The number of results is capped by the top_n parameter (max 200).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 100000,
   "minLength": 1
  },
  "top_n": {
   "type": "integer",
   "maximum": 200,
   "minimum": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-word-frequency-analyzer-fa4bdfc9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
