# extract-classes-as-json-bulk

> extract-classes-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-fetches up to 20 URLs concurrently and extracts CSS class names from each page, returning results in input order as JSON with per-item error fields and a failure count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/bulk/page/classes/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-classes-as-json-bulk-e3801626
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ybh3h4ur_s2-Z1GbmZOUy

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-classes-as-json-bulk-e3801626
```

Example prompt: I have a list of 15 product page URLs — can you extract all the CSS class names from each of them and give me the results back as JSON, with any errors flagged per page?

## When to prefer this

Choose this endpoint when you have a list of 2–20 URLs and need CSS class data from all of them in a single API call rather than making individual requests. It processes concurrently and preserves input order, making it ideal for batch enrichment pipelines, bulk audits, or agent workflows that accumulate a set of URLs before processing. Prefer the single-URL endpoint if you only have one page to process.

## Known failure modes

- One or more URLs are unreachable or return non-200 status — those items have a populated error field in the result, failure count incremented
- Malformed or missing URL inputs cause validation errors
- Pages with no CSS classes return an empty array for that item
- Rate limiting or timeout on individual concurrent fetches results in per-item errors rather than total failure
- Exceeding the 20-URL limit per call causes request rejection

## How this service works

Bulk extract classes 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 CSS class names found on that page plus a per-item error field if the fetch failed; also includes an overall failure count across the batch. Results are returned in the same order as the input URLs.

## 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-classes-as-json-bulk-e3801626/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)
