# Sift Web Tools – Table Extractor (/v1/tables)

> Sift Web Tools – Table Extractor (/v1/tables) is a paid API for AI agents from sift.srv1996466.hstgr.cloud, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-23).

Extracts all HTML tables from a web page URL and returns them as structured JSON with headers and rows

## Facts

- Endpoint: GET https://sift.srv1996466.hstgr.cloud/v1/tables?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sift-web-tools-table-extractor-v1-tables-dffca4f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o6GrOx-Mb4Fn-BSwmm02q

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 sift-web-tools-table-extractor-v1-tables-dffca4f3
```

Example prompt: Can you pull all the tables from this Wikipedia page — https://en.wikipedia.org/wiki/List_of_countries_by_population — and give me the data as structured JSON?

## When to prefer this

Use this endpoint when you need to extract structured tabular data from a web page quickly without writing a custom scraper. It is ideal for pulling Wikipedia tables, financial data pages, sports standings, comparison grids, or any site that publishes data in HTML table format. Prefer this over a general fetch+parse approach when you specifically need row/column structure returned as clean JSON. If you need page text, images, or metadata instead of tables, use the sibling /v1/fetch or /v1/metadata endpoints.

## Known failure modes

- Page has no HTML tables — returns empty tables array with table_count 0
- URL is unreachable or returns a non-200 status — call is not charged
- Page requires JavaScript rendering and tables are dynamically injected — may return empty or incomplete results
- URL parameter missing — returns 400 validation error
- Tables use nested or merged cells — row data may be flattened or misaligned

## How this service works

Extract HTML tables from a page as JSON rows and records. All HTML tables on a page as JSON: header, rows, and records keyed by header when headers are unique.

## Output

A JSON object containing a 'tables' array where each entry has a 'header' array (column names) and a 'rows' array of arrays (cell values), plus a 'table_count' integer indicating how many tables were found on the page.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Page URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tables": [
   {
    "rows": [
     [
      "India",
      "1,463,865,525"
     ]
    ],
    "header": [
     "Country",
     "Population"
    ]
   }
  ],
  "table_count": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sift-web-tools-table-extractor-v1-tables-dffca4f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sift.srv1996466.hstgr.cloud](https://www.zero.xyz/host/sift.srv1996466.hstgr.cloud/llms.txt)
