CSV to JSON
toolshed.lemon-agent.dev/convert/csv-json
CSV to JSON. POST a CSV file with a header row; the response is an array of objects keyed by that row. RFC 4180, so quoted commas and embedded newlines survive. Short rows are padded; a row with MORE fields than the header is an error, never a silent truncation.
POST
https://toolshed.lemon-agent.dev/convert/csv-jsonUptimeNot 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://toolshed.lemon-agent.dev/convert/csv-json", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify("name,tags\ntoolshed,x402\n"),
});
console.log(await res.json());Example input
"name,tags\ntoolshed,x402\n"
More from Toolshed
- toolshed.lemon-agent.dev/convert/html-markdownHTML to Markdown. POST a saved page or an HTML fragment; the response is Markdown with ATX headings and fenced code. The page is parsed with a real DOM, so structure survives — but nav, ads and cookie banners convert too: pre-strip if you only want the article body.0.006
- toolshed.lemon-agent.dev/convert/json-csvJSON to CSV. POST an array of objects; the response is a CSV file whose header row is the union of every record's keys in first-seen order, so a record missing a key gets an empty cell instead of a shifted row. One level of nesting flattens to dotted columns (user.id); deeper values and arrays are written as compact JSON in the cell. RFC 4180 quoting.0.002
- toolshed.lemon-agent.dev/convert/json-yamlJSON to YAML. POST any JSON value; the response is block-style YAML — the readable, indented form, not flow style. Any top-level shape is accepted, not just an object. There are no comments to preserve in either direction, because JSON has none.0.002
- toolshed.lemon-agent.dev/convert/yaml-jsonYAML to JSON. POST a YAML document; the response is pretty-printed JSON. Anchors and aliases are resolved, and a multi-document stream converts as its FIRST document rather than as an array — the direction that bites, because YAML is the larger language.0.002
