# extract-h2-as-json-watch

> extract-h2-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 H2 headings for changes and returns current H2 data, a changed flag, before/after diffs, and last-seen timestamp.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/watch/page/h2/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-h2-as-json-watch-8899ebd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yVnUU9vwmjb-s7e9ornZ7

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-h2-as-json-watch-8899ebd1
```

Example prompt: Keep an eye on https://example.com for me — check if any of the H2 headings have changed since the last time you looked, and tell me what's different along with the current headings as JSON.

## When to prefer this

Use this endpoint when you need to detect changes specifically in H2 headings of a webpage over time, rather than a one-off extraction. It is ideal for scheduling recurring checks, as it maintains a 90-day history per URL and returns structured diffs showing exactly what changed and when. Prefer it over a plain H2 extraction endpoint when your goal is change alerting or audit trails.

## Known failure modes

- URL is unreachable or returns non-200 status — check may fail or return empty H2 data
- No prior snapshot exists for the URL — first call establishes baseline, 'changed' will be false
- Page has no H2 headings — returns empty array with changed false
- Prior snapshot expired after 90 days — treated as a new baseline
- Rate limiting or payment failure for the $0.02 USDC per-call fee

## How this service works

Change watch for extract h2 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 a JSON object containing the current H2 headings extracted from the page, a boolean 'changed' field indicating whether they differ from the previous call for the same URL, a list of fields that changed with before and after values, and a timestamp of when the state was last seen. The previous state is retained for 90 days.

## 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-h2-as-json-watch-8899ebd1/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)
