HTML table to JSON
agent-data-tools.revmesh2074.workers.dev/html/table-to-json
HTML table to JSON. Extract every table from an HTML fragment into JSON: header cells become keys and each body row an object (or raw arrays when there is no header row), with captions, colspans repeated and entities decoded. Give the HTML itself (up to 500 KB). Use to turn web or email tables into data an agent can sort and compute on; to fetch a page first use extract.
GET
https://agent-data-tools.revmesh2074.workers.dev/html/table-to-jsonUptime100% 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://agent-data-tools.revmesh2074.workers.dev/html/table-to-json?html=%3Ctable%3E%3Ctr%3E%3Cth%3ECity%3C%2Fth%3E%3Cth%3EPop.%3C%2Fth%3E%3C%2Ftr%3E%3Ctr%3E%3Ctd%3EStockholm%3C%2Ftd%3E%3Ctd%3E984%2C748%3C%2Ftd%3E%3C%2Ftr%3E%3Ctr%3E%3Ctd%3EOslo%3C%2Ftd%3E%3Ctd%3E717%2C710%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftable%3E");
console.log(await res.json());Example input
{
"html": "<table><tr><th>City</th><th>Pop.</th></tr><tr><td>Stockholm</td><td>984,748</td></tr><tr><td>Oslo</td><td>717,710</td></tr></table>"
}