# extract-anchors-as-csv

> extract-anchors-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 and extracts all anchor elements, returning them as structured CSV rows with a total count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/anchors/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-anchors-as-csv-5a688374
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rvmCljbPKKHiiTWA3YOW7

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-anchors-as-csv-5a688374
```

Example prompt: Pull all the anchor links 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 structured, machine-readable CSV output of all anchor links from a page for use in automated pipelines, audits, or data ingestion workflows. Prefer it over text or JSON variants when downstream tooling expects CSV format. It requires no browser or JavaScript engine, making it fast and lightweight for static pages.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — endpoint may return an error or empty result
- Page has no anchor elements — returns CSV with zero rows and a count of 0
- URL parameter missing or malformed — request fails with a validation error
- Page requires JavaScript rendering — static fetch may miss dynamically injected anchors
- Rate limiting or payment failure — request rejected before processing

## How this service works

Extract the page's anchors as csv: fetches the URL, pulls every anchors 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 one anchor element found on the page, along with a total count of anchors extracted. The output is structured and machine-readable, suitable for direct ingestion by downstream pipelines or agents.

## 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-anchors-as-csv-5a688374/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)
