Skip to content
Fourohtwo

Clean a small CSV or JSON table

clean.ordstirr.com/v1/clean-data

Clean a small CSV or JSON table: headers, ISO dates, numbers, empties, duplicate rows, with a list of every issue Terms: https://ordstirr.com/agents/terms

BaseAnswering
POSThttps://clean.ordstirr.com/v1/clean-data

Uptime100% of 1 check in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://clean.ordstirr.com/v1/clean-data", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"csv":"Order #, Order Date ,Total,Paid?\n1001,03/14/2024,\"$1,234.50\",Yes\n1002,3/15/24,$99.00,no\n1002,3/15/24,$99.00,no\n1003,N/A,(12.00),yes"}),
});
console.log(await res.json());

Example input

{
  "csv": "Order #, Order Date ,Total,Paid?\n1001,03/14/2024,\"$1,234.50\",Yes\n1002,3/15/24,$99.00,no\n1002,3/15/24,$99.00,no\n1003,N/A,(12.00),yes"
}