# extract-h5-as-csv

> extract-h5-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 and extracts all H5 heading elements, returning them as CSV rows with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/h5/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-h5-as-csv-c96102e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gA6N_eEcX-KQKAWJET1UZ

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-h5-as-csv-c96102e2
```

Example prompt: Can you fetch https://example.com/blog and pull out all the H5 heading elements for me as a CSV?

## When to prefer this

Choose this endpoint when you need a structured, machine-readable CSV of H5 headings from a web page without spinning up a browser or running a full crawl. It is ideal for lightweight pipelines that only need H5-level subheadings and want a flat, countable output format. Prefer it over JSON or text variants when downstream tools expect CSV ingestion.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — endpoint may return an error or empty result
- Page has no H5 elements — returns CSV with zero rows and a count of 0
- URL is malformed or missing — likely returns a 400 bad request
- Page requires JavaScript rendering — since no browser is used, dynamically injected H5 elements will not be captured
- Rate limiting or payment failure — x402 payment issues could prevent the call from completing

## How this service works

Extract the page's h5 as csv: fetches the URL, pulls every h5 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 H5 element per row extracted from the target page, along with a total count of H5 elements found. Each row represents the text content of an individual H5 tag in document order.

## 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-h5-as-csv-c96102e2/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)
