Catalog/text-markdown-table-parse

Text

Parse markdown table API

Parses a markdown table string into headers, a rows matrix, and an array of row objects keyed by header. Answers 'how do I extract data from a markdown table?', 'how do I turn a markdown table into JSON objects?'.

Price$0.02per request
MethodPOST
Route/v1/text/markdown-table-parse
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
textmarkdowntableparseextractjsonrowstabular
API URLhttps://x402.hexl.dev/v1/text/markdown-table-parse
Integration docs
Example request
{
  "markdown": "| a | b |\n|---|---|\n| 1 | 2 |\n| 3 | 4 |"
}
Example response
{
  "headers": [
    "a",
    "b"
  ],
  "rows": [
    [
      "1",
      "2"
    ],
    [
      "3",
      "4"
    ]
  ],
  "objects": [
    {
      "a": "1",
      "b": "2"
    },
    {
      "a": "3",
      "b": "4"
    }
  ],
  "rowCount": 2
}
Input schema
{
  "type": "object",
  "required": [
    "markdown"
  ],
  "properties": {
    "markdown": {
      "type": "string",
      "examples": [
        "| a | b |\n|---|---|\n| 1 | 2 |\n| 3 | 4 |"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}