{"uid":"cap_EqNwn0CdnIz_UmhKX0uoM","slug":"sitecheck-web-page-html-tables-extractor-ea3cb610","name":"SiteCheck – Web Page HTML Tables Extractor","description":"Every HTML table of a web page as JSON: caption, headers and rows, up to 10 tables with 200 rows each. Tables that a script draws are not included. robots.txt is respected; a page it disallows answers 403, not charged.","url":"https://api.sitecheck-api.workers.dev/api/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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Web page address, e.g. https://example.com/page"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://www.w3schools.com/html/html_tables.asp","note":"Tables are read from the HTML only: JavaScript-rendered tables are not included, and a nested table is read as part of its outer one. robots.txt respected.","source":"the page itself, fetched once","tables":[{"rows":[["Alfreds Futterkiste","Maria Anders"],["Centro comercial Moctezuma","Francisco Chang"]],"index":0,"caption":null,"headers":["Company","Contact"],"rowCount":6,"truncated":false},{"rows":[["<table>","Defines a table"],["<th>","Defines a header cell in a table"]],"index":1,"caption":null,"headers":["Tag","Description"],"rowCount":10,"truncated":false}],"checkedAt":"2026-10-14T04:49:25.427Z","tableCount":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-5YmJ7Vcb_1MySZzFAHKH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page and extracts all HTML tables as structured row/column data including headers, captions, and row counts.","exampleAgentPrompt":"Can you pull all the HTML tables from https://www.w3schools.com/html/html_tables.asp and give me the headers and rows for each one?","exampleUseCases":[{"title":"Competitive pricing table extraction","prompt":"Grab all the tables from https://competitor.com/pricing and tell me what columns and row values they have — I want to compare their pricing tiers."},{"title":"Wikipedia data table scraping","prompt":"Extract all the HTML tables from https://en.wikipedia.org/wiki/List_of_countries_by_GDP and return the headers and rows so I can analyze the data."},{"title":"Government statistics table pull","prompt":"Fetch the tables on https://www.bls.gov/news.release/empsit.t01.htm and show me every row and column — I need the employment figures in a structured format."}],"resultDescription":"Returns a JSON object containing the page URL, a list of all HTML tables found (each with index, headers array, rows as arrays of strings, caption, row count, and truncation flag), total table count, the fetch timestamp, and a note about JavaScript-rendered table limitations and robots.txt compliance.","failureModes":["URL is unreachable or returns non-200 status — endpoint may return an error or empty table list","Page uses JavaScript to render tables — JS-rendered tables are not captured, only static HTML tables are returned","robots.txt disallows crawling — endpoint respects robots.txt and may skip the page","Page has no HTML tables — returns tableCount of 0 with empty tables array","Malformed or missing URL parameter — returns validation error","Very large pages with many tables may have rows truncated (truncated flag set to true)"],"whenToPreferThis":"Use this endpoint when you need to extract structured tabular data directly from static HTML on a web page without needing a full browser rendering pipeline. It is ideal for pages where tables are present in the raw HTML (Wikipedia, government data portals, pricing pages, stats pages) rather than rendered dynamically by JavaScript. Prefer this over general web scrapers when the target data is specifically in HTML table tags and you want clean header/row structure returned without additional parsing work.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T00:31:19.887Z","isFirstParty":false,"canonicalSlug":"sitecheck-web-page-html-tables-extractor-ea3cb610"}