# content-stats

> content-stats is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns detailed text statistics for a web page including word count, sentence count, paragraphs, headings, links, images, code blocks, lexical diversity, and longest paragraph.

## Facts

- Endpoint: GET https://intel.rallylive.ca/page/summary-stats
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/content-stats-bbb54953
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kTmXbiRBf9pgkazE2SG9K

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 content-stats-bbb54953
```

Example prompt: Before I dive into reading it, can you give me the content stats for https://example.com/article — how many words, sentences, paragraphs, headings, links, and images it has, plus the lexical diversity and longest paragraph?

## When to prefer this

Use this endpoint when you need to quantify or audit a web page's textual content before reading or processing it — especially useful for deciding whether to invest time reading a page, comparing content density across URLs, or checking readability and structure metrics. Prefer this over full-page scrapers when you only need statistics, not the raw content itself.

## Known failure modes

- Page URL is unreachable or returns a non-200 status — endpoint may return an error or empty stats
- Dynamic JavaScript-rendered content may not be fully captured if the page requires client-side rendering
- Very large pages may time out or return partial statistics
- Missing or malformed URL input causes a validation error
- Pages with paywalls or bot-blocking may return minimal or no content stats

## How this service works

Content statistics for a page: words, characters, sentences, paragraphs, headings, links, images, code blocks, average sentence and paragraph length, lexical diversity and the longest paragraph. Quantify a page before you read it. $0.01 per page.

## Output

A structured breakdown of the page's text content including total words, characters, sentences, paragraphs, headings, links, images, code blocks, average sentence length, average paragraph length, lexical diversity score, and the text of the longest paragraph.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/content-stats-bbb54953/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
