16trust / 100

Html Tables

by Vextorium in Search & web

x402 APIFailing, checked 3 h ago

Extract the HTML tables of a web page as JSON (headers and rows, merged cells handled, layout tables skipped): Wikipedia lists, public statistics or reports, ready to analyze.

POST https://api.vextorium.com/v1/html-tables

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
3 h ago: Amount "0.004" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/html-tables" \
  -H "content-type: application/json" \
  -d '{"max_rows":3,"url":"https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fhtml-tables
const res = await pay("https://api.vextorium.com/v1/html-tables", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"max_rows":3,"url":"https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)"}),
});
console.log(await res.json());

Example input

{
  "max_rows": 3,
  "url": "https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)"
}

Example output

{
  "tables": [
    {
      "columns": [
        "Country/Territory",
        "IMF ( 2026 ) [ 1 ]"
      ],
      "index": 2,
      "num_rows": 222,
      "rows": [
        {
          "Country/Territory": "World",
          "IMF ( 2026 ) [ 1 ]": "126,295,331",
          "United Nations (2024) [ 7 ]": "111,565,144",
          "World Bank (2025) [ 6 ]": "118,350,166"
        },
        {
          "Country/Territory": "United States",
          "IMF ( 2026 ) [ 1 ]": "32,383,920",
          "United Nations (2024) [ 7 ]": "29,298,000",
          "World Bank (2025) [ 6 ]": "30,769,700"
        }
      ],
      "title": "GDP forecast or estimate (million US$) by country"
    },
    {
      "columns": [
        "Regional groupings",
        "IMF ( 2026 ) [ 1 ]"
      ],
      "index": 3,
      "num_rows": 13,
      "rows": [
        {
          "IMF ( 2026 ) [ 1 ]": "126,295,331",
          "Regional groupings": "World",
          "World Bank (2024) [ 6 ]": "110,983,000"
        },
        {
          "IMF ( 2026 ) [ 1 ]": "73,813,712",
          "Regional groupings": "Advanced Economies/High Income [ r 1 ]",
          "World Bank (2024) [ 6 ]": "71,321,000 [ r 2 ]"
        }
      ],
      "title": "GDP forecast or estimate (million US$) by region or grouping"
    }
  ],
  "tables_on_page": 8,
  "url_final": "https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoAmount "0.004" is not in atomic token units40280 ms$0.004
7 h agoAmount "0.004" is not in atomic token units402126 ms$0.004
12 h agoAmount "0.004" is not in atomic token units402136 ms$0.004
16 h agoAmount "0.004" is not in atomic token units402129 ms$0.004
20 h agoAmount "0.004" is not in atomic token units402161 ms$0.004
24 h agoAmount "0.004" is not in atomic token units402154 ms$0.004
28 h agoAmount "0.004" is not in atomic token units40275 ms$0.004
32 h agoAmount "0.004" is not in atomic token units402127 ms$0.004
36 h agoAmount "0.004" is not in atomic token units40275 ms$0.004
40 h agoAmount "0.004" is not in atomic token units40278 ms$0.004
44 h agoAmount "0.004" is not in atomic token units40279 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40276 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40282 ms$0.004
2 days agoAmount "0.004" is not in atomic token units402103 ms$0.004
3 days agoAmount "0.004" is not in atomic token units402101 ms$0.004