# Page Text Diff

> Page Text Diff 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 line-level added and removed text between the current and previous fetch of a webpage, plus similarity ratio and word delta, with a 90-day baseline store.

## Facts

- Endpoint: GET https://intel.rallylive.ca/page/text-diff
- 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/page-text-diff-bf0b3db7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XIVEfxIjUrlzQI-LJwl6b

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 page-text-diff-bf0b3db7
```

Example prompt: What changed on https://example.com/news/latest since the last time you checked it — show me which lines were added or removed and how similar the page still is to before.

## When to prefer this

Choose this endpoint when you need to know exactly what text content changed on a specific webpage between two points in time — not just whether it changed, but which lines were added or removed. It is ideal for monitoring editorial updates, competitor page changes, documentation drift, or any scenario where line-level diff visibility matters. Prefer this over generic uptime monitors or checksum-only tools when the semantic content of the change is important.

## Known failure modes

- URL is not reachable or returns non-200 HTTP status — diff cannot be computed
- No baseline exists yet for this URL (first call) — returns empty diff with initial snapshot stored
- Page returns non-text content (binary, PDF, etc.) — extraction may fail or return empty lines
- Baseline expired after 90 days — treated as a first call, new baseline stored
- Rate limiting or payment failure — endpoint returns 402 or 429 error

## How this service works

Page text diff against your previous call: line-level added and removed text (up to 100 lines each), similarity ratio and word delta, with the baseline stored for 90 days. See exactly what changed on a page, not just that it changed. $0.01 per check.

## Output

Returns line-level lists of added lines (up to 100) and removed lines (up to 100) between the current page text and the previously stored baseline, along with a similarity ratio (0–1 float) and a word delta count. The baseline is stored for 90 days per URL.

## 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/page-text-diff-bf0b3db7/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)
