{"uid":"cap_DE81kzl1M7R9HNRqwpNPp","slug":"aiskills402-markdown-table-repair-8bda8db1","name":"AISkills402 Markdown Table Repair","description":"Markdown Table Repair API: turns a broken table, tab-separated text or an HTML table into a GFM table without changing any cell - adds the alignment row and pipes, escapes a pipe in a cell, pads short rows; 007 and 1.10 stay as written. $0.003 USDC per call, no account, no language model: a too-long row or an ambiguous pipe gets a paid CANNOT REPAIR verdict. POST JSON {input} up to 60 000 chars; free example at https://api.aiskills402.com/v1/run/markdown-table-repair/example","url":"https://api.aiskills402.com/v1/run/markdown-table-repair?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":60000,"minLength":1,"description":"A table that was meant to render as Markdown and does not (no alignment row, missing pipes, a literal pipe in a cell), or tab-separated or HTML table data."}}},"responseSchema":{"type":"json","example":{"ok":true,"skill":"markdown-table-repair","engine":"1.0.0","replay":false,"result":{"rows":3,"columns":3,"markdown":"| Name | Score | Note |\n| --- | --- | --- |\n| Ann | 007 | `a\\|b` |\n| Bob | 1.10 |  |"},"receipt":{"tx":"0x<settlement transaction>","settled":true},"refusal":null,"input_sha256":"<sha256 of the request>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XZL1A7Xb5Ib3txX8Z6Oew","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts broken Markdown tables, tab-separated text, or HTML tables into valid GitHub Flavored Markdown (GFM) tables without altering cell content","exampleAgentPrompt":"My markdown table isn't rendering — it's missing the alignment row and some cells have literal pipe characters in them. Can you fix this table and give me back valid GFM markdown: 'Name | Score | Note\\nAnn | 007 | a|b\\nBob | 1.10 | '?","exampleUseCases":[{"title":"Fix broken GitHub wiki table","prompt":"I pasted a table into my GitHub wiki and it's not rendering at all — the alignment row is missing and some cells have pipe characters in them. Here's the raw text: 'Name | Score | Note\\nAnn | 007 | a|b\\nBob | 1.10 | ' — can you repair it into a valid GFM table?"},{"title":"Convert TSV export to Markdown","prompt":"I exported a spreadsheet as tab-separated values and need it formatted as a proper Markdown table for my README. Here's the TSV: 'Name\\tScore\\tNote\\nAnn\\t007\\ta|b\\nBob\\t1.10\\t' — convert it to GFM without changing any of the cell values."},{"title":"Transform HTML table to Markdown","prompt":"I have an HTML table from a web page that I need turned into a Markdown table for my documentation: '<table><tr><th>Name</th><th>Score</th></tr><tr><td>Ann</td><td>007</td></tr></table>' — can you convert this to GFM format?"}],"resultDescription":"A JSON object containing: the repaired GFM Markdown table string (markdown field), the number of rows and columns detected, the engine version, a SHA-256 hash of the input, and a payment receipt with settlement transaction. If the table is too ambiguous or a row is too long to repair cleanly, the result includes a 'CANNOT REPAIR' refusal verdict instead of a table.","failureModes":["Row is too long or ambiguous pipe placement makes repair impossible — returns a paid CANNOT REPAIR verdict in the refusal field","Input exceeds 60,000 character limit — rejected before payment","Input is not recognizable as any table format — may return CANNOT REPAIR","Payment settlement fails via x402 — call does not complete","Malformed JSON request body — HTTP 400 error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, rules-based table repair that guarantees zero cell-content mutation — no language model is involved so numeric literals like '007' or '1.10' are preserved exactly as written. Prefer it over LLM-based formatting when cell fidelity is critical, when you're processing tab-separated exports or HTML tables programmatically, or when you need a cheap ($0.003 USDC), accountless, single-call fix for GFM rendering issues.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:45:06.875Z","isFirstParty":false,"canonicalSlug":"aiskills402-markdown-table-repair-8bda8db1"}