{"uid":"cap_zt7f2GOAGwQFAaaimAx-V","slug":"syntexa-table-to-json-extractor-5e40dadf","name":"Syntexa Table-to-JSON Extractor","description":"Call when an agent needs HTML tables from a public URL or HTML turned into headers + rows. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/table-to-json first.","url":"https://agentshelf.syntexa.ch/v1/table-to-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public http(s) URL to fetch. When html is also sent, this is only the base for relative links. Provide url or html."},"html":{"type":"string","examples":["<table><thead><tr><th>Name</th><th>Price</th></tr></thead><tbody><tr><td>Widget</td><td>9</td></tr></tbody></table>"],"maxLength":200000,"minLength":1,"description":"HTML to parse locally instead of fetching. When both html and url are set, html is used. Provide html or url."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_suJfc2qA7Y-URnK-w5GfH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts HTML tables from a public URL or raw HTML string and returns them as structured JSON with headers and rows","exampleAgentPrompt":"Can you pull all the HTML tables from https://en.wikipedia.org/wiki/List_of_countries_by_GDP and give me the headers and rows as structured JSON?","exampleUseCases":[{"title":"Wikipedia table data extraction","prompt":"Grab all the tables from https://en.wikipedia.org/wiki/List_of_countries_by_population and convert them into structured JSON with headers and rows so I can analyze the data."},{"title":"Financial data table scraping","prompt":"There's a table of stock prices at https://example-finance-site.com/stocks — can you extract it as JSON with proper column headers and all the rows?"},{"title":"Raw HTML table parsing","prompt":"I have this raw HTML snippet with a table in it — can you parse it and give me back the headers and rows as clean JSON? Here's the HTML: <table><tr><th>Name</th><th>Score</th></tr><tr><td>Alice</td><td>95</td></tr></table>"}],"resultDescription":"Returns structured JSON containing the extracted HTML tables found in the provided URL or HTML content, organized as arrays of headers and rows for each table on the page.","failureModes":["URL is not publicly accessible or returns a non-200 status","No HTML tables found in the provided content","HTML content exceeds 200,000 character limit","URL exceeds 2,048 character limit","Payment of $0.003 USDC not fulfilled via x402 protocol","SSRF-restricted URLs (private IP ranges, localhost) are blocked","Malformed HTML that cannot be parsed"],"whenToPreferThis":"Use this endpoint when you need to extract one or more HTML tables from a public webpage or raw HTML string and receive them as structured JSON with headers and rows. Prefer this over generic scraping endpoints when the target data is specifically in table format. Try the unpaid sandbox endpoint POST /v1/sandbox/table-to-json first to validate before paying $0.003 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:52:24.927Z","isFirstParty":false,"canonicalSlug":"syntexa-table-to-json-extractor-5e40dadf"}