77trust / 100
Csv To Json
by CSV to JSON Converter in Documents & files
x402 APIPassing, checked 3 h ago
CSV to JSON converter — parse RFC 4180 comma-separated UTF-8 tables for inventory and data import; return object rows with headers or a string matrix. Preserves quoted fields and line breaks, checks equal row widths and unique nonempty headers, and keeps numeric-looking cells as strings.
POST https://data-tools.use.x402atlas.com/csv-to-json
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 421 ms typical, 493 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/csv-to-json' \
-H 'content-type: application/json' \
--data-raw '{"csv":"\"aaa\",\"b\r\nbb\",\"ccc\"\r\nzzz,yyy,xxx\r\n","header":false}'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%2Fcsv-to-json
const res = await pay("https://data-tools.use.x402atlas.com/csv-to-json", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"csv\":\"\\\"aaa\\\",\\\"b\\r\\nbb\\\",\\\"ccc\\\"\\r\\nzzz,yyy,xxx\\r\\n\",\"header\":false}",
});
console.log(await res.json());Example input
{
"csv": "\"aaa\",\"b\r\nbb\",\"ccc\"\r\nzzz,yyy,xxx\r\n",
"header": false
}Example output
{
"algorithm_version": "rfc4180-atlas-v1",
"column_count": 3,
"columns": [],
"input": {
"header": false
},
"operation": "csv-to-json",
"row_count": 2,
"rows": [
[
"aaa",
"b\r\nbb",
"ccc"
],
[
"zzz",
"yyy",
"xxx"
]
],
"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 | 421 ms | $0.01 |
| 7 h ago | Passed | 402 | 514 ms | $0.01 |
| 11 h ago | Passed | 402 | 421 ms | $0.01 |
| 15 h ago | Passed | 402 | 462 ms | $0.01 |
| 19 h ago | Passed | 402 | 471 ms | $0.01 |
| 22 h ago | Passed | 402 | 398 ms | $0.01 |
| 26 h ago | Passed | 402 | 446 ms | $0.01 |
| 30 h ago | Passed | 402 | 436 ms | $0.01 |
| 33 h ago | Passed | 402 | 493 ms | $0.01 |
| 37 h ago | Passed | 402 | 456 ms | $0.01 |
| 40 h ago | Passed | 402 | 464 ms | $0.01 |
| 44 h ago | Passed | 402 | 409 ms | $0.01 |
| 2 days ago | Passed | 402 | 463 ms | $0.01 |
| 2 days ago | Passed | 402 | 108 ms | $0.01 |
| 2 days ago | Passed | 402 | 116 ms | $0.01 |