# extract-comments-as-json-bulk

> extract-comments-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 extracts HTML comments from up to 20 URLs concurrently and returns structured JSON results in input order with per-item errors and a failure count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/bulk/page/comments/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-comments-as-json-bulk-960a51c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_15G-c85Y9RBYDg7dbxvij

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-comments-as-json-bulk-960a51c3
```

Example prompt: I have a list of 15 URLs and I need you to extract all the HTML comments from each page at once — return the results as JSON with any errors flagged per item.

## When to prefer this

Use this endpoint when you have a list of 2–20 URLs and need HTML comment extraction from all of them in a single call with concurrent processing. It is more efficient than calling the single-URL endpoint repeatedly and provides ordered results with per-item error handling, making it ideal for pipeline enrichment, auditing workflows, or agent loops that accumulate a batch of pages before processing.

## Known failure modes

- Individual URL fetch failure returns a per-item error field rather than crashing the whole batch
- URLs exceeding 20 per batch are rejected
- Invalid or malformed URLs produce per-item errors
- Pages with no HTML comments return an empty result for that item
- Network timeouts on individual URLs increment the failure count

## How this service works

Bulk extract comments 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

Returns a JSON array with one entry per input URL, each containing the extracted HTML comments in the same format as the single-URL endpoint, plus a per-item error field indicating any failures and an overall failure count for the batch.

## 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-comments-as-json-bulk-960a51c3/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)
