# Keyword Frequency Analyzer

> 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 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/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/keyword-frequency-analyzer-920bc679
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8t_Ahg4OrT8NSLxueC2Sl

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 keyword-frequency-analyzer-920bc679 -d '<json body>'
```

Example prompt: Can you extract the top 15 keywords and two-word phrases from this article text, removing stopwords and giving me normalized frequency weights? Here's the text: 'Artificial intelligence is transforming software development...'

## When to prefer this

Use this endpoint when you need fast, lightweight keyword and keyphrase frequency extraction with built-in stopword filtering and normalized weights — ideal for SEO analysis, content audits, topic modeling prep, or any workflow that needs to identify dominant terms in a text without standing up a full NLP pipeline.

## Known failure modes

- Empty or very short text may yield fewer results than requested N
- Text in unsupported languages may not have proper stopwords removed
- Extremely long texts may time out or exceed payload limits
- Invalid N value (e.g. zero or negative) may return an error
- Non-text binary payloads will return a parsing error

## How this service works

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

## Output

Returns a ranked list of top-N single tokens and two-word phrases (bigrams) found in the input text, with stopwords removed. Each entry includes the term, its raw frequency count, and a normalized weight (0–1) 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/keyword-frequency-analyzer-920bc679/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)
