{"uid":"cap_XyZbvz4nR39OuQ5SBZm3V","slug":"html-table-extractor-dd28d8e4","name":"HTML Table Extractor","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/html-table-extract?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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"tables":[{"rows":[["1","2"]],"headers":["A","B"]}]}},"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_RCyFXjXEVB7Z0hKzlpI4Y","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":"Extracts all HTML tables from a given URL and returns them as structured JSON with headers and rows","exampleAgentPrompt":"Can you extract all the tables from this webpage — https://en.wikipedia.org/wiki/List_of_countries_by_GDP — and give me the data as structured rows and headers?","exampleUseCases":[{"title":"Wikipedia table data extraction","prompt":"Pull all the tables from https://en.wikipedia.org/wiki/List_of_countries_by_population and give me the data in a structured format with headers and rows."},{"title":"Financial report table parsing","prompt":"I need the tabular data from this investor relations page: https://example.com/annual-report — can you extract any HTML tables on that page for me?"},{"title":"Sports stats table scraping","prompt":"Grab all the stats tables from https://www.basketball-reference.com/leagues/NBA_2024_per_game.html so I can analyze the player performance numbers."}],"resultDescription":"A JSON object containing an array of tables, each with a 'headers' array of column names and a 'rows' array of arrays containing the cell values from the HTML table.","failureModes":["URL is unreachable or returns a non-200 HTTP status — empty tables array or error response","Target page has no HTML tables — returns empty tables array","Tables are dynamically rendered via JavaScript and not present in static HTML — will not be captured","Malformed or deeply nested HTML tables may parse incorrectly or incompletely","Payment failure via x402 protocol — 402 response if USDC payment is not completed"],"whenToPreferThis":"Use this endpoint when you need to quickly extract structured tabular data from a public webpage without writing a custom scraper. Ideal for one-off data pulls from Wikipedia, financial reports, sports statistics, government data portals, or any site with static HTML tables. Prefer this over generic web scraping when the target data is clearly table-structured. The pay-per-call model at $0.002 USDC with no API key setup makes it ideal for low-friction, ad-hoc use by AI agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:36.355Z","isFirstParty":false,"canonicalSlug":"html-table-extractor-dd28d8e4"}