# 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-13).

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

## Facts

- Endpoint: POST https://api.24klabs.ai/api/url-word-count
- 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/url-word-count-reading-time-07ccb74c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C2-_8OwxZyxTZc1U1m-5n

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-07ccb74c -d '<json body>'
```

Example prompt: How many words and what's the estimated reading time for the article at https://example.com/blog/my-article?

## When to prefer this

Use this endpoint when you need quick, reliable word count and reading time metrics for a given URL without setting up a full scraper. It is ideal for content audits, editorial workflows, readability assessments, and any scenario where you need boilerplate-free text statistics from a public webpage.

## Known failure modes

- Invalid or unreachable URL returns an error
- Paywalled or login-required pages may return minimal or no content
- Pages with heavy JavaScript rendering may not yield full text
- Extremely large pages may time out
- Non-HTML content (PDFs, images) may not be processable

## How this service works

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

## Output

Returns the word count (number of words after stripping boilerplate), character count, and estimated reading time (typically in minutes) for the main content of the fetched page.

## 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-07ccb74c/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)
