# extract-h6-as-json

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

Fetches a web page and extracts all H6 heading elements, returning them as a JSON array with a count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/h6/json?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-h6-as-json-72108cf3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zq_zD3-WyctWaESJ5Z4U1

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-h6-as-json-72108cf3
```

Example prompt: Can you extract all the H6 headings from https://example.com/docs and give them back to me as a JSON array with a count?

## When to prefer this

Choose this endpoint when you need a clean, structured JSON extraction of H6 headings specifically, without needing to parse full HTML yourself or spin up a browser. It is ideal for automated pipelines and agent workflows that need a single heading-level extracted cheaply ($0.01/page) and reliably.

## Known failure modes

- Invalid or unreachable URL returns an error response
- Page has no H6 elements, resulting in an empty array with count 0
- Payment not included or insufficient, resulting in 402 Payment Required
- Timeout if the target page is slow to respond
- Pages requiring JavaScript rendering may return incomplete results since no browser is used

## How this service works

Extract the page's h6 as json: fetches the URL, pulls every h6 element and returns them as a JSON array, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.

## Output

A JSON array containing the text content of every H6 element found on the fetched page, along with a numeric count of how many H6 elements were found.

## 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-h6-as-json-72108cf3/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)
