Web Content Enrichment & Table Extractor (x402)

v2.7.1
io.github.brunopompeo1/web-enrichment-x402 Checked 1 hour ago Published 6 days ago

Convert noisy HTML into clean Markdown, JSON tables & JSON-LD with token metrics via x402 USDC.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fetch_page_as_markdown Fetch a web page and return clean Markdown

Fetches one public web page at the Cloudflare edge and returns its readable content as Markdown, stripping 90 to 95 percent of the HTML noise, plus the page title, description and token accounting. Use it as the cheap first step before summarising, answering questions about or embedding a page, instead of pasting raw HTML into a prompt; read the 'markdown' field. Do not use it for a page that needs a login, a captcha or client-side JavaScript to render, for a PDF or image (HTTP 415), or when you already hold the HTML, since this API always fetches the URL itself. Read-only and idempotent: noth…

ParameterTypeDescription
url *stringAbsolute HTTP or HTTPS URL of the page to fetch and parse, for example 'https://example.com/pricing'. Must be publicly reachable without a login, a cookie or a captcha, since the edge fetches it anony…

extract_page_tables Extract every HTML table from a page as JSON rows

Fetches one public web page and returns every HTML <table> on it already normalised into headers and rows, up to 10 tables and 50 rows each, so the data can be loaded into a dataframe or a spreadsheet without writing a parser. Use it for price lists, specification sheets, fee schedules, rankings and statistical tables; read the 'tables' field. Do not use it when the figures are laid out with CSS grids or drawn by JavaScript rather than in a real <table>, in which case 'tables' comes back empty and the text still sits in 'markdown', and do not use it for a CSV or XLSX download, which is not HTM…

ParameterTypeDescription
url *stringAbsolute HTTP or HTTPS URL of the page to fetch and parse, for example 'https://example.com/pricing'. Must be publicly reachable without a login, a cookie or a captcha, since the edge fetches it anony…

extract_page_structured_data Extract Schema.org JSON-LD, metadata and links from a page

Fetches one public web page and returns the machine-readable layer publishers embed in it: up to 5 Schema.org JSON-LD objects such as Product with price and availability, Organization, Article, BreadcrumbList or FAQPage, together with the page metadata and up to 25 de-duplicated absolute links. Use it when you want facts a publisher asserts about itself rather than prose, for price and stock monitoring, catalogue enrichment, author and date extraction, or picking the next URL to crawl; read 'jsonLd', 'metadata' and 'links'. Do not use it as a general scraper for pages with no JSON-LD, where th…

ParameterTypeDescription
url *stringAbsolute HTTP or HTTPS URL of the page to fetch and parse, for example 'https://example.com/pricing'. Must be publicly reachable without a login, a cookie or a captcha, since the edge fetches it anony…