{"slug":"tables-fetchkiosk-com-v1-tables-6178d6","title":"Extract tables from a public web page or PDF URL, or from pasted HTML, markdown,","host":"tables.fetchkiosk.com","method":"POST","resource":"https://tables.fetchkiosk.com/v1/tables","category":"search","description":"Extract tables from a public web page or PDF URL, or from pasted HTML, markdown, CSV/TSV, or fixed-width text, into typed JSON: headers, rows, column types (number/date/text), and header-keyed records. Use when an agent needs rows and columns, not prose. Handles colspan/rowspan, multi-row headers, n","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":5,"answered_7d":5,"latency_ms_median":884,"reported_calls_30d":7,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"html":"<h2>Q3 results</h2><table><caption>Revenue by region</caption><thead><tr><th rowspan=\"2\">Region</th><th colspan=\"2\">Revenue (USD m)</th><th rowspan=\"2\">Reported</th></tr><tr><th>2024</th><th>2025</th></tr></thead><tbody><tr><td>North America</td><td>1,204.5</td><td>1,350.2</td><td>2025-10-28</td></tr><tr><td>Europe</td><td>(12.0)</td><td>48.75</td><td>Oct 30, 2025</td></tr></tbody></table>"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"oneOf":[{"required":["html"]},{"required":["text"]},{"required":["url"]}],"properties":{"format":{"description":"Parser hint: auto, html, markdown, csv, tsv, fixed-width (default auto: HTML for pages, else markdown, CSV/TSV, then fixed-width text).","enum":["auto","html","markdown","csv","tsv","fixed-width"],"type":"string"},"header":{"description":"Header handling: auto (markup or inferred), first-row (force first row as header), none (headers are col1..colN). Default auto.","enum":["auto","first-row","none"],"type":"string"},"html":{"description":"HTML containing one or more <table> elements (fragment or full page, max 2 MB).","maxLength":2000000,"minLength":1,"type":"string"},"maxRows":{"description":"Maximum body rows per table (1 to 5000, default 500). rowCount always reports the full count.","maximum":5000,"minimum":1,"type":"integer"},"records":{"description":"Include records[]: one object per row keyed by header, numbers parsed and dates ISO-normalized. Default true.","type":"boolean"},"tableIndex":{"description":"Return only this table (0-based index among detected tables, 0 to 499). Default: all tables, up to 50.","maximum":499,"minimum":0,"type":"integer"},"text":{"description":"Plain text containing markdown pipe tables, CSV/TSV/semicolon-delimited data, or space-aligned fixed-width tables (max 2 MB).","maxLength":2000000,"minLength":1,"type":"string"},"url":{"description":"Public http(s) URL of an HTML page, PDF, CSV, or plain-text file (max 5 MB, 5 s, 3 redirects). Private, loopback, link-local, and metadata addresses are refused.","maxLength":2048,"pattern":"^https?://","type":"string"}},"required":[],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"options":{"additionalProperties":false,"description":"Parser options that were applied.","properties":{"format":{"description":"Parser hint that was applied (auto, html, markdown, csv, tsv, fixed-width).","enum":["auto","html","markdown","csv","tsv","fixed-width"]},"header":{"description":"Header mode that was applied (auto, first-row, or none).","enum":["auto","first-row","none"]},"maxRows":{"description":"Max body rows requested per table.","maximum":5000,"minimum":1,"type":"integer"},"records":{"description":"Whether records[] was requested.","type":"boolean"},"tableIndex":{"description":"Requested table index, or null for all tables.","minimum":0,"type":["integer","null"]}},"required":["format","tableIndex","maxRows","header","records"],"type":"object"},"returned":{"description":"Number of tables in this response (after tableIndex).","minimum":0,"type":"integer"},"service":{"const":"table-extract","description":"Service identifier (table-extract)."},"source":{"additionalProperties":false,"description":"How the document was obtained and identified.","properties":{"bytes":{"description":"Bytes read from the URL or pasted body.","minimum":0,"type":"integer"},"contentType":{"description":"HTTP Content-Type, or null for pasted input.","type":["string","null"]},"detected":{"description":"Detected document kind: html, pdf, or text.","enum":["html","pdf","text"]},"finalUrl":{"description":"URL after redirects.","type":["string","null"]},"pages":{"description":"PDF page count, or null.","minimum":0,"type":["integer","null"]},"title":{"description":"Document or page title, or null.","type":["string","null"]},"type":{"description":"Input source kind (url, html, text).","enum":["url","html","text"]},"url":{"description":"Requested URL, or null for pasted input.","type":["string","null"]}},"required":["type","url","finalUrl","contentType","detected","bytes","title","pages"],"type":"object"},"tableCount":{"description":"Data tables detected in the document.","minimum":1,"type":"integer"},"tables":{"description":"Extracted tables in document order (after tableIndex).","items":{"additionalProperties":false,"properties":{"caption":{"description":"HTML <caption> text.","type":["string","null"]},"colCount":{"description":"Number of columns after header normalization.","minimum":0,"type":"integer"},"columnTypes":{"description":"Inferred type per column: number, date, or text.","items":{"enum":["number","date","text"]},"type":"array"},"format":{"description":"Format this table was parsed as (html, markdown, csv, tsv, delimited, fixed-width, or pdf).","enum":["html","markdown","csv","tsv","delimited","fixed-width","pdf"]},"headerSource":{"description":"How headers were obtained: markup, inferred, first-row, or none.","enum":["markup","inferred","first-row","none"]},"headers":{"description":"Unique column names; multi-row headers joined with \" / \".","items":{"type":"string"},"type":"array"},"heading":{"description":"Nearest preceding section heading (or title line in text).","type":["string","null"]},"index":{"description":"0-based position among detected tables, in document order.","minimum":0,"type":"integer"},"page":{"description":"PDF page number (1-based); null otherwise.","minimum":0,"type":["integer","null"]},"parentIndex":{"description":"Index of the enclosing table for nested HTML tables.","minimum":0,"type":["integer","null"]},"records":{"description":"Rows keyed by header with typed values (present unless records=false).","items":{"additionalProperties":{"type":["string","number","null"]},"type":"object"},"type":"array"},"returnedRows":{"description":"Body rows actually returned (after maxRows).","minimum":0,"type":"integer"},"rowCount":{"description":"Body rows in the source table (before maxRows).","minimum":0,"type":"integer"},"rows":{"description":"Body cells as cleaned text; spanned cells repeat their value.","items":{"items":{"type":"string"},"type":"array"},"type":"array"},"truncated":{"description":"True if rowCount exceeded maxRows.","type":"boolean"}},"required":["index","format","caption","heading","page","parentIndex","headerSource","headers","columnTypes","rowCount","colCount","returnedRows","truncated","rows"],"type":"object"},"type":"array"},"timestamp":{"description":"ISO 8601 time of extraction.","type":"string"},"warnings":{"description":"Non-fatal parse notes, if any.","items":{"type":"string"},"type":"array"}},"required":["service","timestamp","source","options","tableCount","returned","tables","warnings"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":884,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":618,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":872,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1138,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1036,"error":null}],"description_full":"Extract tables from a public web page or PDF URL, or from pasted HTML, markdown, CSV/TSV, or fixed-width text, into typed JSON: headers, rows, column types (number/date/text), and header-keyed records. Use when an agent needs rows and columns, not prose. Handles colspan/rowspan, multi-row headers, nested tables, captions, and section headings. GET ?url= or POST {html|text|url}. Deterministic parser, no LLM. No charge when no table is found. No account, no API key.","last_updated":"2026-11-24T01:29:12.788Z","schemes":["exact"]}