# Word Frequency Analyzer with Stopword Filtering

> Word Frequency Analyzer with Stopword Filtering is a paid API for AI agents from energybilltoolkit.co.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns normalized top-N token frequency counts with optional stopword filtering for a given text input.

## Facts

- Endpoint: POST https://energybilltoolkit.co.uk/text-metrics/api/tools/word-frequency
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/energybilltoolkit-co-uk-5052e9cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0Wz3c7Sj1__V4em7ioC6E

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 energybilltoolkit-co-uk-5052e9cd -d '<json body>'
```

Example prompt: What are the top 10 most frequent meaningful words in this customer review, ignoring stopwords: 'The battery life on this phone is outstanding. The screen is bright and the performance is smooth, but the camera quality is average at best.'?

## When to prefer this

Use this endpoint when you need deterministic, normalized word frequency analysis on arbitrary text with optional stopword removal — especially useful for content analysis, keyword extraction, review mining, or any task requiring a quantitative breakdown of token distribution without relying on ML models.

## Known failure modes

- Empty or missing text field returns an error
- n value of 0 or negative may return empty results or an error
- Very short texts may return fewer tokens than requested N
- Non-UTF8 or malformed text encoding may cause parsing errors
- Network timeout for very large text payloads

## How this service works

Return normalized top-N token frequency with optional stopword filtering.

## Output

A ranked list of up to N tokens, each with an integer count and a normalized frequency share (proportion of total meaningful tokens), sorted by frequency descending.

## Example request

```json
{
 "n": 10,
 "text": "The battery life on this phone is outstanding. The screen is bright and the performance is smooth, but the camera quality is average at best. The design feels premium and the user interface is intuitive.",
 "stopwords": true
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to measure."
  },
  "top_n": {
   "type": "integer",
   "default": 20
  },
  "include_stopwords": {
   "type": "boolean",
   "default": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/energybilltoolkit-co-uk-5052e9cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from energybilltoolkit.co.uk](https://www.zero.xyz/host/energybilltoolkit.co.uk/llms.txt)
