# extract-article-as-csv

> extract-article-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, extracts all article elements, and returns them as structured CSV rows with an element count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/article/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-article-as-csv-7ad469ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XgbwzBQ4zAb-Xn9_HdrNP

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-article-as-csv-7ad469ab
```

Example prompt: Can you extract all the article elements from this page — https://example.com/some-article — and give me the results as a CSV with row counts?

## When to prefer this

Choose this endpoint when you need article content from a web page in a structured, tabular CSV format for direct ingestion into data pipelines, spreadsheets, or databases. Prefer this over JSON or text variants when downstream tooling expects CSV. Use when no browser is available and the article content is server-rendered HTML.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Page has no identifiable article elements — returns empty CSV with zero count
- JavaScript-rendered content may not be captured since no browser is used
- Invalid or malformed URL input causes request failure
- Payment not provided or insufficient — returns HTTP 402 requiring $0.01 USDC payment

## How this service works

Extract the page's article as csv: fetches the URL, pulls every article 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

Returns a CSV-formatted response where each row represents one extracted article element found on the fetched page, along with a total count of elements extracted. No browser or JavaScript rendering is required.

## 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-article-as-csv-7ad469ab/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)
