# link-rel-stylesheet

> link-rel-stylesheet is a paid API for AI agents from site.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Extracts all rel='stylesheet' link elements from a webpage and returns their resolved absolute URLs with a total count

## Facts

- Endpoint: GET https://site.intel.rallylive.ca/site/link-rel/stylesheet?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/link-rel-stylesheet-a1c485ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v22Gx-kOGdZdc5vXrXZHq

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 link-rel-stylesheet-a1c485ea
```

Example prompt: Can you pull all the stylesheet links from example.com's homepage and give me the full list of resolved CSS URLs along with how many there are?

## When to prefer this

Use this endpoint when you need a quick, structured extraction of all CSS stylesheet URLs referenced in a page's HTML source. It is ideal for dependency auditing, technology fingerprinting, and site intelligence tasks where you want resolved absolute URLs rather than raw href values. Prefer this over a generic scraper when you specifically need stylesheet link discovery with a count.

## Known failure modes

- Page returns non-200 status — no links extracted
- Page uses JavaScript-injected stylesheets not present in raw HTML — those are missed
- Network timeout fetching the target URL
- Target URL requires authentication — returns empty or error
- Malformed HTML may cause parsing errors or incomplete link extraction

## How this service works

The rel="stylesheet" links of a page: every matching <link>/<a> with href, resolved to absolute URLs, with a count. Link-relationship discovery. $0.01 per page.

## Output

A list of all resolved absolute URLs for every <link rel='stylesheet'> and matching <a> element with an href found on the page, along with a total count of matched stylesheet links.

## 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/link-rel-stylesheet-a1c485ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from site.intel.rallylive.ca](https://www.zero.xyz/host/site.intel.rallylive.ca/llms.txt)
