Skip to content
Fourohtwo

fastx402.tools/html-table-to-json

Extracts all tables from HTML and returns them as structured JSON arrays. Use when you need to parse tabular data from scraped HTML or documentation.

BaseAnswering
GEThttps://fastx402.tools/html-table-to-json

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://fastx402.tools/html-table-to-json?html=%3Ctable%3E%3Cthead%3E%3Ctr%3E%3Cth%3EName%3C%2Fth%3E%3Cth%3EAge%3C%2Fth%3E%3C%2Ftr%3E%3C%2Fthead%3E%3Ctbody%3E%3Ctr%3E%3Ctd%3EAlice%3C%2Ftd%3E%3Ctd%3E30%3C%2Ftd%3E%3C%2Ftr%3E%3Ctr%3E%3Ctd%3EBob%3C%2Ftd%3E%3Ctd%3E25%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftbody%3E%3C%2Ftable%3E");
console.log(await res.json());

Example input

{
  "html": "<table><thead><tr><th>Name</th><th>Age</th></tr></thead><tbody><tr><td>Alice</td><td>30</td></tr><tr><td>Bob</td><td>25</td></tr></tbody></table>"
}

More from FastX402 LabProvider status