# URL Word Count & Reading Time

> URL Word Count & Reading Time 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-15).

Fetches a URL, strips boilerplate content, and returns word count, character count, and estimated reading time.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/url-word-count
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-word-count-reading-time-cbb3ca76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_278IthFowaRdvMkEKpTrK

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 url-word-count-reading-time-cbb3ca76 -d '<json body>'
```

Example prompt: How long would it take to read this article and how many words does it have? Here's the URL: https://example.com/blog/my-article

## When to prefer this

Choose this endpoint when you need quick, lightweight text-length metrics from a URL without needing full content extraction or NLP analysis. Ideal for content auditing, reading-time estimation, or benchmarking page length at low cost ($0.002/call). Prefer this over a full scraper when you only need counts, not the raw text itself.

## Known failure modes

- URL is unreachable or returns non-200 status — endpoint may return an error or empty metrics
- Page is JavaScript-rendered and content is not in static HTML — word count may be inaccurate or zero
- URL points to a PDF or binary file rather than an HTML page — may fail or return unexpected results
- Paywalled or login-gated content — only publicly visible text is counted
- Very large pages may time out or return partial counts

## How this service works

Fetch a page, strip boilerplate, and return word count, character count, and reading time.

## Output

Returns the word count (integer number of words), character count (total characters), and estimated reading time (typically in minutes) after fetching the URL and stripping boilerplate like navigation, ads, and footer content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "words": 28
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-word-count-reading-time-cbb3ca76/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)
