# extract-data-attributes-as-csv

> extract-data-attributes-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-20).

Fetches a web page URL and extracts all HTML data-* attributes, returning them as CSV rows with a count.

## Facts

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

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-data-attributes-as-csv-74444f71
```

Example prompt: Can you fetch https://example.com and pull out all the HTML data attributes as a CSV file, with a count of how many were found?

## When to prefer this

Use this endpoint when you need a lightweight, structured CSV extraction of HTML data-* attributes from a static or server-rendered web page, without spinning up a browser. Prefer it over general scraping tools when you specifically want data attributes in a tabular, pipeline-ready format at low per-page cost.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Page has no data-* attributes — returns empty CSV with zero count
- URL is behind authentication or a JavaScript-rendered SPA — server-side fetch may return incomplete HTML
- Malformed URL input — request fails with a validation error
- Payment not fulfilled — 402 response blocking access

## How this service works

Extract the page's data attributes as csv: fetches the URL, pulls every data attributes 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 containing one row per data attribute element found on the page, including the attribute name and value, along with a total count of matched elements.

## 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-data-attributes-as-csv-74444f71/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)
