# extract-stylesheets-as-json-bulk

> extract-stylesheets-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 all stylesheet references from up to 20 URLs concurrently, returning structured JSON results in input order with per-item error fields and a failure count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/bulk/page/stylesheets/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-stylesheets-as-json-bulk-15cc1e82
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VUx3krLxVkLLic890oMFA

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-stylesheets-as-json-bulk-15cc1e82
```

Example prompt: Can you pull all the stylesheets from these 15 pages for me and give me the results as JSON: [list of URLs]? I need them all in one shot with any errors flagged per page.

## When to prefer this

Choose this endpoint when you have a list of 2–20 URLs and need stylesheet data from all of them in a single call, rather than making individual requests sequentially. It processes concurrently so total latency is roughly equivalent to a single fetch, and results are returned in input order with per-item error handling — ideal for batch enrichment pipelines, CSS audits, or dependency inventories where reliability across partial failures matters.

## Known failure modes

- Individual URL fetch failure — item returns an error field with HTTP status or network reason, counted in failure total
- Invalid or unreachable URLs in the input list — per-item error populated, rest of batch still processed
- Batch exceeds 20 URL limit — likely rejected or truncated
- Page has no stylesheets — item returns an empty array, no error
- Payment not settled via x402 — request rejected before processing

## How this service works

Bulk extract stylesheets 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 stylesheet references (href, media, type attributes) matching what the single-URL endpoint returns, plus a per-item error field indicating any fetch or parse failures, and a top-level failure count summarizing how many items failed.

## 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-stylesheets-as-json-bulk-15cc1e82/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)
