81trust / 100
Data Convert
by WebberSites x402 Data API in Documents & files
x402 APIPassing, checked 5 h ago
Deterministic data-format conversion — the shape work an LLM cannot do reliably token-by-token. POST {data, from, to}: JSON, NDJSON, CSV, TSV, or a SQL INSERT dump in; any of the same out. Handles RFC 4180 quoting (commas, quotes, newlines in values), flattens nested objects to dot-notation columns, unions ragged records into a stable column set, and parses SQL string literals with '' and \' escapes. No AI, no network — same input, same bytes, every time.
POST https://api.webbersites.com/api/data/convert
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 134 ms typical, 134 ms slowest 5%
- Last check
- 5 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.webbersites.com/api/data/convert" \
-H "content-type: application/json" \
-d '{"data":"[{\"id\":1,\"user\":{\"name\":\"Ann\"}},{\"id\":2,\"user\":{\"name\":\"Bo\"}}]","from":"json","to":"csv"}'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%2Fapi.webbersites.com%2Fapi%2Fdata%2Fconvert
const res = await pay("https://api.webbersites.com/api/data/convert", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"data":"[{\"id\":1,\"user\":{\"name\":\"Ann\"}},{\"id\":2,\"user\":{\"name\":\"Bo\"}}]","from":"json","to":"csv"}),
});
console.log(await res.json());Example input
{
"data": "[{\"id\":1,\"user\":{\"name\":\"Ann\"}},{\"id\":2,\"user\":{\"name\":\"Bo\"}}]",
"from": "json",
"to": "csv"
}Example output
{
"bytes": 26,
"columns": [
"id",
"user.name"
],
"from": "json",
"output": "id,user.name\n1,Ann\n2,Bo",
"rows": 2,
"to": "csv"
}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 |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 134 ms | $0.005 |