{"uid":"cap_0rYewRiYmDtTGysqfv1ZJ","slug":"extract-tables-as-json-585a8414","name":"extract-tables-as-json","description":"Extract the page's tables as json: fetches the URL, pulls every tables element and returns them as a JSON array, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/tables/json?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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qDMkmJxvctNRj2P5CInEZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 URL and extracts all HTML table elements, returning them as a structured JSON array with a count.","exampleAgentPrompt":"Can you extract all the tables from this page as JSON — https://en.wikipedia.org/wiki/List_of_countries_by_GDP — and tell me how many tables there are?","exampleUseCases":[{"title":"Financial data from earnings pages","prompt":"Pull all the tables from Apple's latest quarterly earnings press release at https://www.apple.com/newsroom/pdfs/fy2024-q4/FY24_Q4_Consolidated_Financial_Statements.pdf as JSON so I can analyze the revenue figures."},{"title":"Sports stats table extraction","prompt":"Grab all the tables on https://www.basketball-reference.com/teams/GSW/2024.html and give them to me as structured JSON — I want to work with the player stats."},{"title":"Government data table parsing","prompt":"Extract every table from https://www.census.gov/data/tables/2023/demo/age-and-sex/2023-age-sex-composition.html as JSON so I can compare population breakdowns across age groups."}],"resultDescription":"A JSON array where each element represents one HTML table found on the page, preserving rows and columns as structured data, plus a count of total tables found.","failureModes":["URL is unreachable or returns a non-200 status — fetch fails with an error","Page has no table elements — returns empty array with count 0","Page uses JavaScript-rendered tables (dynamic DOM) — not rendered since no browser is used, so tables may not be found","Malformed or deeply nested HTML tables may be partially or incorrectly parsed","Rate limits or payment failures result in 402 or rejection"],"whenToPreferThis":"Choose this endpoint when you need to extract all HTML table elements from a static or server-rendered web page without spinning up a browser. It is ideal for pipelines that need structured tabular data in JSON format cheaply ($0.01/call) and quickly. Prefer it over full-page scraping when only tables are needed, and over browser-based tools when the page renders tables server-side.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:50.849Z","isFirstParty":false,"canonicalSlug":"extract-tables-as-json-585a8414"}