Skip to content
Fourohtwo

x402-web3-fin-gateway.vercel.app/api/v1/extract-tables

Extracts tables from multi-page PDF binaries (Base64), HTML (with 2D rowspan/colspan expansion), Markdown, JSON/JSONL, or messy CSVs; stitches repeating headers across page breaks, repairs CJK mojibake, neutralizes Excel formula/DDE injection on user cells while generating live =SUM() and =AVERAGE() summary rows, and outputs Base64 OpenXML .xlsx, Markdown, and UTF-8 BOM CSV.

BaseAnswering
POSThttps://x402-web3-fin-gateway.vercel.app/api/v1/extract-tables

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-web3-fin-gateway.vercel.app/api/v1/extract-tables", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"content":"<table><tr><th>Item</th><th>Amount</th></tr><tr><td>Cloud Compute</td><td>120.50</td></tr></table>","filename":"quarterly.html"}),
});
console.log(await res.json());

Example input

{
  "content": "<table><tr><th>Item</th><th>Amount</th></tr><tr><td>Cloud Compute</td><td>120.50</td></tr></table>",
  "filename": "quarterly.html"
}