# extract-headings-as-json-watch

> extract-headings-as-json-watch is a paid API for AI agents from page.intel.rallylive.ca, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-20).

Monitors a webpage's headings (H1-H6) for changes by comparing the current extraction against a stored baseline and returning a diff with changed/unchanged status.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/watch/page/headings/json?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-headings-as-json-watch-0684b2ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2iXhUVnYijff6ifH3VcAg

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 extract-headings-as-json-watch-0684b2ce
```

Example prompt: Keep an eye on https://example.com for me and let me know if any of the headings change — compare what's there now with what you last saw and tell me exactly what's different.

## When to prefer this

Use this endpoint when you need to detect changes in a webpage's heading structure over time rather than just performing a one-time extraction. Ideal for SEO monitoring, competitive intelligence, content update tracking, or any workflow where you want to be alerted when H1-H6 tags are added, removed, or modified. Prefer this over a plain extraction endpoint when you need change detection logic (diff, before/after values) without building your own storage layer.

## Known failure modes

- URL is unreachable or returns non-200 response — extraction fails with an error
- No previous check exists for the URL — baseline not yet established, comparison unavailable
- Page blocks scraping (bot detection, CAPTCHA) — headings cannot be extracted
- Malformed or non-HTML response — no headings found
- 90-day retention window exceeded — baseline expired and comparison unavailable

## How this service works

Change watch for extract headings as json: runs the check, compares it with the result from your previous call for the same url (kept 90 days) and returns the current answer, changed true/false, the fields that changed with before/after values, and when it was last seen. Schedule it to be alerted when this changes. $0.02 per check.

## Output

Returns the current headings extracted from the page as JSON, a boolean 'changed' flag indicating whether the headings differ from the previous check, a list of fields that changed with before/after values, and the timestamp of when the page was last seen. Previous results are retained for 90 days for comparison.

## 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/extract-headings-as-json-watch-0684b2ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from page.intel.rallylive.ca](https://www.zero.xyz/host/page.intel.rallylive.ca/llms.txt)
