{"uid":"cap_o6GrOx-Mb4Fn-BSwmm02q","slug":"sift-web-tools-table-extractor-v1-tables-dffca4f3","name":"Sift Web Tools – Table Extractor (/v1/tables)","description":"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.","url":"https://sift.srv1996466.hstgr.cloud/v1/tables?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"tables":[{"rows":[["India","1,463,865,525"]],"header":["Country","Population"]}],"table_count":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jwYbPZ-wMixugKhJBe4xg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all HTML tables from a web page URL and returns them as structured JSON with headers and rows","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Sports standings from live site","prompt":"Extract the current league standings table from https://www.espn.com/nba/standings so I can see the team rankings and win/loss records."},{"title":"Financial data from report page","prompt":"Grab all the tables from https://example.com/annual-report-2024 — I need the revenue breakdown and expense figures as structured data."},{"title":"Comparison table from product page","prompt":"Pull the feature comparison tables from https://www.somevendor.com/pricing so I can compare the plan tiers side by side."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:40:35.273Z","isFirstParty":false,"canonicalSlug":"sift-web-tools-table-extractor-v1-tables-dffca4f3"}