77trust / 100
Json To Csv
by JSON to CSV Converter in Documents & files
x402 APIPassing, checked 3 h ago
JSON to CSV converter — export JSON rows to deterministic RFC 4180 UTF-8 CSV for spreadsheets and data export, using explicit column order or a scalar matrix. Returns byte/row counts, default formula escaping and null-loss warnings; null becomes empty text and nested cells are rejected.
POST https://data-tools.use.x402atlas.com/json-to-csv
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 435 ms typical, 551 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://data-tools.use.x402atlas.com/json-to-csv' \
-H 'content-type: application/json' \
--data-raw '{"formula_policy":"escape","rows":[["aaa","b\r\nbb","ccc"],["zzz","yyy","xxx"]]}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdata-tools.use.x402atlas.com%2Fjson-to-csv
const res = await pay("https://data-tools.use.x402atlas.com/json-to-csv", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"formula_policy\":\"escape\",\"rows\":[[\"aaa\",\"b\\r\\nbb\",\"ccc\"],[\"zzz\",\"yyy\",\"xxx\"]]}",
});
console.log(await res.json());Example input
{
"formula_policy": "escape",
"rows": [
[
"aaa",
"b\r\nbb",
"ccc"
],
[
"zzz",
"yyy",
"xxx"
]
]
}Example output
{
"algorithm_version": "rfc4180-atlas-v1",
"column_count": 3,
"csv": "aaa,\"b\r\nbb\",ccc\r\nzzz,yyy,xxx\r\n",
"escaped_cells": 0,
"input": {
"columns": [],
"formula_policy": "escape"
},
"null_policy": "empty",
"operation": "json-to-csv",
"row_count": 2,
"utf8_bytes": 30,
"warnings": []
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 551 ms | $0.01 |
| 7 h ago | Passed | 402 | 497 ms | $0.01 |
| 11 h ago | Passed | 402 | 467 ms | $0.01 |
| 15 h ago | Passed | 402 | 441 ms | $0.01 |
| 19 h ago | Passed | 402 | 435 ms | $0.01 |
| 22 h ago | Passed | 402 | 461 ms | $0.01 |
| 26 h ago | Passed | 402 | 424 ms | $0.01 |
| 29 h ago | Passed | 402 | 474 ms | $0.01 |
| 33 h ago | Passed | 402 | 402 ms | $0.01 |
| 37 h ago | Passed | 402 | 437 ms | $0.01 |
| 40 h ago | Passed | 402 | 123 ms | $0.01 |
| 44 h ago | Passed | 402 | 777 ms | $0.01 |
| 2 days ago | Passed | 402 | 438 ms | $0.01 |
| 2 days ago | Passed | 402 | 391 ms | $0.01 |
| 2 days ago | Passed | 402 | 413 ms | $0.01 |