extract_tables
Extract every HTML table on a page as structured JSON — headers, row arrays, and (when headers exist and are unique) row objects keyed by header name, plus a best-effort caption for each table. Saves hand-parsing pricing tables, spec sheets, and schedules out of raw HTML. Paid: $0.01 per call in USDC on Base via x402 — call once without x_payment to receive the payment challenge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http/https URL to extract tables from | |
| selector | No | Optional CSS selector to scope the search for tables to | |
| maxTables | No | ||
| x_payment | No | Optional X-PAYMENT header value from a completed x402 payment. Omit on first call to receive the payment challenge; complete the payment with your x402 wallet tooling, then retry with this set. | |
| maxRowsPerTable | No |