# energybilltoolkit.co.uk Text Metrics Analyze

> energybilltoolkit.co.uk Text Metrics Analyze 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).

Analyzes a text block and returns aggregate counts, top word frequency, readability scores, and content warnings in a single combined payload.

## Facts

- Endpoint: POST https://energybilltoolkit.co.uk/text-metrics/api/tools/analyze-text
- 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-10b91117
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gvCaJO5gj2Hd2ja9Uw9tL

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-10b91117 -d '<json body>'
```

Example prompt: Can you run a full text analysis on this paragraph — I want to see word counts, top word frequencies, readability score, and any warnings, all in one go: 'Our quarterly energy bill showed a significant increase due to rising wholesale prices and infrastructure levies applied across all domestic tariffs.'

## When to prefer this

Choose this endpoint when you need a single combined analysis payload covering counts, word frequency, readability, and warnings together — rather than calling separate endpoints for each metric. Ideal for agents that need a quick, comprehensive text quality snapshot without multiple round-trips.

## Known failure modes

- Empty or missing text body returns a validation error
- Extremely long text may exceed payload size limits
- Non-UTF-8 encoded content may cause parsing errors
- Rate limiting or payment verification failure returns 402 or 429
- Malformed JSON request body returns 400

## How this service works

Aggregate counts, top word frequency, readability, and warnings in one payload.

## Output

A single JSON payload containing aggregate structural counts (characters, words, sentences, paragraphs), top word frequency rankings, a readability score, and any detected content warnings about the analyzed text.

## Example request

```json
{
 "text": "Our quarterly energy bill showed a significant increase due to rising wholesale prices and infrastructure levies applied across all domestic tariffs. The analysis revealed that consumption patterns remained stable, but external market factors contributed substantially to the overall cost increase."
}
```

## 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-10b91117/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)
