# Extract Tables as Markdown

> Extract Tables as Markdown 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 table elements, returning them as a Markdown-formatted list with a count of tables found.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/tables/markdown?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-markdown-459fc4d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qY5ak6tPcMBjptMZ6iPxv

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-markdown-459fc4d2
```

Example prompt: Can you grab all the tables from https://en.wikipedia.org/wiki/List_of_countries_by_GDP and give them to me as markdown?

## When to prefer this

Use this endpoint when you need to extract specifically table elements from a web page in Markdown format without spinning up a browser, and when you want clean, structured Markdown output ready for agent pipelines or document workflows. Prefer this over general-purpose scrapers when you only care about tables and want a predictable, count-annotated Markdown response at low cost.

## Known failure modes

- URL is unreachable or returns a non-200 status — likely returns an error message with no tables
- Page has no table elements — returns an empty list with a count of zero
- Page uses JavaScript-rendered tables that require a browser — tables may not be captured since no browser is used
- Malformed URL input — likely returns a validation or fetch error
- Page blocks scrapers or returns a CAPTCHA — content may be unavailable

## How this service works

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

## Output

A Markdown-formatted list of all table elements found on the requested page, along with a count of how many tables were extracted. Each table is rendered in standard Markdown table syntax.

## 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-markdown-459fc4d2/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)
