Skip to content
Fourohtwo

CSV Repair API

api.aiskills402.com/v1/run/csv-repair

CSV Repair API: turns CSV a parser rejects into valid CSV without changing any cell - fixes quotes, pads short rows, unwraps Markdown tables, chat text and fences; 1,250 and 007 stay as written. $0.004 USDC per call, no account, no language model: a too-long row, an ambiguous row or prose with no table gets a paid CANNOT REPAIR verdict. POST JSON {input} up to 60 000 chars; free example at https:/

BaseUnchecked
POSThttps://api.aiskills402.com/v1/run/csv-repair

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.aiskills402.com/v1/run/csv-repair", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":"Here is the export:\n\n```csv\nid,amount,note\n7,\"1,250\",ok\n8,40,Bolt 5\" long\n9,12\n```\n\nHope this helps!","line_endings":"lf"}),
});
console.log(await res.json());

Example input

{
  "input": "Here is the export:\n\n```csv\nid,amount,note\n7,\"1,250\",ok\n8,40,Bolt 5\" long\n9,12\n```\n\nHope this helps!",
  "line_endings": "lf"
}