# webmd/tables – Web Page Table Extractor

> webmd/tables – Web Page Table Extractor is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Fetches a public web page and extracts its tabular data, returning structured content as Markdown

## Facts

- Endpoint: GET https://api.firstmention.uk/s/webmd/tables?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webmd-tables-web-page-table-extractor-143b14c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y_NDAmffr4HA0fabZSxJO

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 webmd-tables-web-page-table-extractor-143b14c6
```

Example prompt: Can you grab all the tables from this page and give them to me as markdown: https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)?

## When to prefer this

Choose this endpoint when you specifically need tabular data extracted from a public web page and want it returned as Markdown. It is ideal for scraping data tables from Wikipedia, financial pages, sports stats sites, or government data portals without requiring a full browser. Prefer this over general web extraction endpoints when the target content is structured as HTML tables and Markdown output is the desired format.

## Known failure modes

- URL is behind a paywall or login wall — returns ok:false or empty markdown
- Page has no tables — markdown may be empty or minimal
- URL is malformed or unreachable — returns error response
- Page uses JavaScript-rendered tables that cannot be parsed server-side — tables may be missing
- Rate limiting or bot-detection on target site — may return incomplete content

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with ok (boolean), the resolved URL, page title, full markdown representation of the page's tables (markdown field), word_count, and markdown_chars. The markdown field contains the extracted tabular content formatted as GitHub-flavored Markdown tables.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "max": {
       "type": "integer",
       "description": "For /sitemap: max pages, default 10, cap 25"
      },
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Public page URL"
      },
      "mode": {
       "enum": [
        "text",
        "article",
        "full"
       ],
       "type": "string",
       "description": "Extraction mode"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "url": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "markdown": {
       "type": "string"
      },
      "word_count": {
       "type": "number"
      },
      "markdown_chars": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "url": "https://example.com/article",
  "title": "Example",
  "markdown": "# Example Hello world.",
  "word_count": 2,
  "markdown_chars": 24
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webmd-tables-web-page-table-extractor-143b14c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
