{"uid":"cap_oU-IXmOGkHRq81ssVsPla","slug":"vextorium-html-table-extractor-c48d04bb","name":"Vextorium HTML Table Extractor","description":"Extract the HTML tables of a web page as JSON (headers and rows, merged cells handled, layout tables skipped): Wikipedia lists, public statistics or reports, ready to analyze.","url":"https://api.vextorium.com/extraer-tablas-html-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["url"],"properties":{"url":{"type":"string"},"indice":{"type":"integer","description":"Only this table"},"max_filas":{"type":"integer"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"tablas":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"filas":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"Nominal":{"type":["string","null"]},"Country/Territory":{"type":["null","string"]},"IMF ( 2026 ) [ 1 ]":{"type":["null","string"]},"Regional groupings":{"type":["null","string"]},"World Bank (2024) [ 6 ]":{"type":["null","string"]},"World Bank (2025) [ 6 ]":{"type":["null","string"]},"United Nations (2024) [ 7 ]":{"type":["null","string"]},"v t e Lists of countries by GDP rankings":{"type":["null","string"]},"v t e Economic classification of countries":{"type":["null","string"]},"v t e Lists of countries by financial rankings":{"type":["null","string"]},"By country past and projected per capita per capita":{"type":["string","null"]}}}},"indice":{"type":["null","number"]},"titulo":{"type":["null","string"]},"columnas":{"type":["array","null"],"items":{"type":["null","string"]}},"num_filas":{"type":["null","number"]}}}},"url_final":{"type":["string","null"]},"tablas_en_pagina":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"tablas":[{"filas":[{"Country/Territory":"World","IMF ( 2026 ) [ 1 ]":"126,295,331","World Bank (2025) [ 6 ]":"118,350,166","United Nations (2024) [ 7 ]":"111,565,144"},{"Country/Territory":"United States","IMF ( 2026 ) [ 1 ]":"32,383,920","World Bank (2025) [ 6 ]":"30,769,700","United Nations (2024) [ 7 ]":"29,298,000"}],"indice":2,"titulo":"GDP forecast or estimate (million US$) by country","columnas":["Country/Territory","IMF ( 2026 ) [ 1 ]"],"num_filas":222},{"filas":[{"IMF ( 2026 ) [ 1 ]":"126,295,331","Regional groupings":"World","World Bank (2024) [ 6 ]":"110,983,000"},{"IMF ( 2026 ) [ 1 ]":"73,813,712","Regional groupings":"Advanced Economies/High Income [ r 1 ]","World Bank (2024) [ 6 ]":"71,321,000 [ r 2 ]"}],"indice":3,"titulo":"GDP forecast or estimate (million US$) by region or grouping","columnas":["Regional groupings","IMF ( 2026 ) [ 1 ]"],"num_filas":13}],"url_final":"https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)","tablas_en_pagina":8}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Yca5vgb98YKcOvgdVuv3a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page URL and extracts all HTML tables as structured JSON with headers, rows, and merged cell handling, skipping layout-only tables.","exampleAgentPrompt":"Can you extract all the tables from this Wikipedia page on country GDP rankings and give me the data as structured JSON? https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)","exampleUseCases":[{"title":"Wikipedia list to analyzable data","prompt":"Pull all the tables from the Wikipedia page https://en.wikipedia.org/wiki/List_of_countries_by_population and give me the country names and population figures as structured JSON I can analyze."},{"title":"Public report statistics extraction","prompt":"Extract the tables from this public government statistics page https://www.ine.es/infografias/infografias.htm and return the data as JSON rows with column headers."},{"title":"Single table from a multi-table page","prompt":"On this page https://en.wikipedia.org/wiki/List_of_largest_companies_by_revenue, just grab table number 2 and return it as JSON — I only need that one, and cap it at 50 rows."}],"resultDescription":"Returns a JSON object with an array of extracted tables, each containing: table index, title (if present), column headers, rows as arrays of key-value objects, and row count. Also returns the final resolved URL and total number of tables found on the page. Layout tables and navigation tables are automatically skipped. Merged cells are handled and normalized.","failureModes":["URL is unreachable or returns non-200 status — empty tables array or error response","Page has no HTML tables — returns empty tables array","Page uses JavaScript-rendered tables (client-side only) — tables may not be detected","Invalid or malformed URL input — request fails validation","Table index (indice) out of range — returns empty or null result","Rate limiting or timeout on very large pages with many tables"],"whenToPreferThis":"Choose this endpoint when you need to extract structured tabular data from any public web page — especially Wikipedia lists, government statistics pages, or public financial reports — without writing custom scraping code. It handles merged cells and skips layout tables automatically, making it ideal for data pipelines that need clean row/column JSON from HTML. Prefer this over generic web scrapers when the target content is specifically in HTML table format and you need it ready-to-analyze with minimal post-processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:24.742Z","isFirstParty":false,"canonicalSlug":"vextorium-html-table-extractor-c48d04bb"}