# extract-stylesheets-as-csv

> extract-stylesheets-as-csv 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-13).

Fetches a web page URL, extracts all stylesheet references, and returns them as CSV rows with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/stylesheets/csv?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-stylesheets-as-csv-c655d9e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qeymMkuoAZGGAwQ22A4Jl

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-csv-c655d9e4
```

Example prompt: Can you extract all the stylesheets from https://example.com and give me the results as a CSV with a count of how many there are?

## When to prefer this

Choose this endpoint when you need a lightweight, structured CSV extraction of stylesheet references from a single web page without spinning up a browser. Ideal for agent pipelines and data workflows that need CSS asset inventories in a machine-readable format at very low cost ($0.01/page). Prefer this over full-page scrape APIs when you only need stylesheet elements specifically.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — extraction returns empty or error
- Page uses JavaScript to dynamically inject stylesheets — server-side fetch may miss dynamically loaded CSS
- URL parameter missing or malformed — request fails with validation error
- Page blocks crawlers via robots.txt or WAF — may return empty results or access-denied error
- Page has no stylesheets — returns CSV with count of zero

## How this service works

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

## Output

A CSV-formatted response where each row represents a stylesheet element found on the page (e.g. href, rel, type attributes), plus a total count of stylesheets discovered.

## 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-csv-c655d9e4/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)
