Skip to content
Fourohtwo

Convert between the shapes data actually arrives in

402.com.tr/api/x402/file-convert

Convert between the shapes data actually arrives in: CSV or TSV to JSON, JSON to CSV or TSV, CSV to a Markdown table, Markdown to HTML. Proper RFC 4180 parsing — quoted fields, embedded commas and newlines, doubled quotes — so a spreadsheet exported by a human does not silently come apart. Numbers and booleans get real types (turn it off with typed=false). No model call and no upstream: local pars

BaseSolanaAnswering
GEThttps://402.com.tr/api/x402/file-convert

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://402.com.tr/api/x402/file-convert?from=csv&text=name%2Cqty%0AWidget%2C3%0AGadget%2C7&to=json&typed=true");
console.log(await res.json());

Example input

{
  "from": "csv",
  "text": "name,qty\nWidget,3\nGadget,7",
  "to": "json",
  "typed": "true"
}