# extract-tables-as-text

> extract-tables-as-text 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 URL and extracts all HTML table elements, returning their content as plain text lines with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/tables/text?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-tables-as-text-c12bc11b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s976Yz8CJ1A0vjC1kc5IO

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-tables-as-text-c12bc11b
```

Example prompt: Can you pull all the tables from this page — https://example.com/data — and give me their contents as plain text?

## When to prefer this

Choose this endpoint when you need only the table elements from a page as plain text, without needing a full browser render, and when you want a lightweight, low-cost ($0.01) structured extraction suitable for agent pipelines. Prefer it over full-page scrapers when tables are the only target data type.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Page has no table elements — returns empty result with count of 0
- Tables are rendered via JavaScript and require a browser — headless fetching may miss dynamic content
- Invalid or malformed URL input — request fails with a validation error
- Payment not fulfilled — 402 response returned before content is delivered

## How this service works

Extract the page's tables as text: fetches the URL, pulls every tables element and returns them as plain lines, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.

## Output

Plain text lines representing the content of every HTML table element found on the fetched page, along with a count of how many tables were extracted.

## 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-tables-as-text-c12bc11b/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)
