TidyData APIsAll APIsPricing

HTML Table to JSON & CSV API

Turn the HTML tables of any web page into clean JSON (rows or objects with headers) or download a table as CSV.

Authentication & base URL

Subscribe through one of our marketplace listings; your marketplace API key and base URL are shown there. All endpoints return JSON over HTTPS, served from a global edge network (typically 20–150 ms).

Subscribe on RapidAPI

Endpoints

GET /v1/tables

Extract tables

ParameterInDescriptionExample
url *queryPage URLhttps://en.wikipedia.org/wiki/Euro
indexqueryTable number (0 = first)0
objectsquerytrue = rows as objects keyed by headertrue
formatqueryjson or csvjson

Example

GET /v1/tables?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FEuro&index=0&objects=true&format=json

{
  "url": "https://en.wikipedia.org/wiki/Euro",
  "finalUrl": "https://en.wikipedia.org/wiki/Euro",
  "count": 28,
  "tables": [
    {
      "index": 0,
      "caption": "Euro",
      "header": [
        ".mw-parser-output .nobold{font-weight:normal}see also euro in various languages"
      ],
      "rows": [
        [
          "Euro banknotes (obverse)"
        ],
        [
          "ISO 4217"
        ],
        [
          "Code",
          "EUR (numeric: .mw-parser-output .monospaced{font-family:monospace,monospace}978)"
        ],
        [
          "Subunit",
          "0.01"
        ],
        [
          "Units of account"
        ],
        [
          "Base unit",
          "euro"
        ],
        [
          "Plural",
          "Varies, see language and the euro"
        ],
        [
          "Symbol",
          "€‎"
        ],
        [
          "Subunit",
          ""
        ],
        [
          ".mw-parser-output .frac{white-space:nowrap}.mw-parser-output .frac .num,.mw-parser-output .frac .den{font-size:80%;line-height:0;vertical-align:super}.mw-parser-output .frac .den{vertical-align:sub}.mw-parser-output .sr-only{border:0;clip:rect(0,0,0,0);clip-path:polygon(0px 0px,0px 0px,0px 0px);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}1⁄100",
          "cent (Name varies by language)"
        ],
        [
          "Plural",
          ""
        ],
        [
          "cent",
          "(Varies by language)"
        ],
        [
          "Symbol",
          ""
        ],
        [
          "cent",
          "c"
        ],
        [
          "Denominations"
        ],
        [
          "Banknotes",
  …

Turn the HTML tables of any web page into clean JSON (rows or objects with headers) or download a table as CSV.

Use cases

Turn tables on Wikipedia, docs and reports into data for spreadsheets, dashboards and analysis.

Why this API

Pricing

Free plan with 500 calls per month, then Pro (25,000 calls for $4.99/month) and Ultra (150,000 calls for $14.99/month). See all plans.