# 24K Labs Keyword Frequency Analyzer

> 24K Labs Keyword Frequency Analyzer is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Extracts the top-N single tokens and two-word phrases by frequency from text, with stopword removal and normalized weights.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/keyword-frequency
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-keyword-frequency-analyzer-819a9a7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mfGDAx91IUgvOn0sYY2ED

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 24k-labs-keyword-frequency-analyzer-819a9a7d -d '<json body>'
```

Example prompt: Pull the top 15 keywords and two-word phrases from this article text, remove stopwords, and give me their normalized frequency weights: 'Artificial intelligence is transforming healthcare by enabling faster diagnosis and personalized treatment plans. AI models trained on medical imaging data outperform traditional diagnostic methods...'

## When to prefer this

Choose this endpoint when you need fast, lightweight keyword frequency extraction from raw text with built-in stopword filtering and normalized scoring — ideal for SEO audits, content summarization, or thematic analysis without needing a full NLP pipeline. Prefer it over general-purpose LLM summarization when you need structured, ranked frequency data rather than prose summaries, and over full-text search engines when you don't have an index and just need term statistics from a single document.

## Known failure modes

- Empty or whitespace-only text input returns no results or an error
- Text too short to produce meaningful N results may return fewer items than requested
- Unsupported language stopword lists may cause common words to appear in results
- Very large text payloads may time out or exceed input size limits
- Non-text or binary content passed as input will cause a parsing error

## How this service works

Top-N single tokens and two-word phrases by frequency, with stopword removal and normalized weights.

## Output

A ranked list of the top-N single tokens and two-word phrases extracted from the input text, with stopwords removed, raw frequency counts, and normalized weights (0–1 scale) indicating relative prominence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "top_n": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "top_n": 5,
  "keywords": [
   {
    "term": "data",
    "count": 4,
    "weight": 1
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-keyword-frequency-analyzer-819a9a7d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
