# extract-headings-as-json-bulk

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

Bulk extract HTML headings (H1–H6) as JSON from up to 20 URLs in one concurrent call, with per-item errors and a failure count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/bulk/page/headings/json?utm_source=zero.xyz
- Price: $0.1/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-bulk-0acd9c0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kRZsFzQ0XsuyVLe5yfD4E

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-bulk-0acd9c0e
```

Example prompt: I have a list of 15 product pages — can you pull all the headings from each one as JSON in a single batch call and flag any pages that fail?

## When to prefer this

Choose this endpoint when you have a list of 2–20 URLs and need headings from all of them efficiently in a single API call. It is superior to calling the single-URL endpoint repeatedly because requests are processed concurrently, results are returned in input order, and per-item errors allow partial success without failing the entire batch. Prefer it for content audits, SEO pipelines, and any workflow that accumulates a list of pages to analyze.

## Known failure modes

- Individual URL unreachable or returns non-200 status — reflected in per-item error field
- More than 20 URLs submitted — likely rejected or truncated
- URL returns page with no heading elements — empty headings array returned
- Network timeout on one or more URLs — per-item error populated, failure count incremented
- Malformed or non-HTTP URL in the list — per-item error returned for that item

## How this service works

Bulk extract headings as json: up to 20 urls in one call, processed concurrently, results in input order with a per-item error field and a failure count. Same answer per item as the single endpoint. Batch enrichment for agents that hold a list. $0.10 per batch.

## Output

A JSON array with one entry per input URL, each containing the extracted heading elements (H1–H6 tags and their text) in the same format as the single-URL endpoint. Each item includes a per-item error field if that URL failed, plus an overall failure count summarizing how many URLs could not be processed.

## 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-bulk-0acd9c0e/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)
