Skip to content
Fourohtwo

JSON -> CSV

mpp-utils.fmf-x402.workers.dev/data/json-to-csv

JSON -> CSV — Convert an array of objects (nested objects flattened to dot.keys) or arrays to CSV/TSV with proper quoting, column order you choose, up to 2 MB. Price $0.001 per call.

BaseUnchecked
POSThttps://mpp-utils.fmf-x402.workers.dev/data/json-to-csv

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://mpp-utils.fmf-x402.workers.dev/data/json-to-csv", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"data":[{"name":"Ada","stats":{"age":36}},{"name":"Lovelace, A","stats":{"age":37}}]}),
});
console.log(await res.json());

Example input

{
  "data": [
    {
      "name": "Ada",
      "stats": {
        "age": 36
      }
    },
    {
      "name": "Lovelace, A",
      "stats": {
        "age": 37
      }
    }
  ]
}