Convert an array of JSON objects to CSV (nested keys become dot-path columns) or CSV back
Convert an array of JSON objects to CSV (nested keys become dot-path columns) or CSV back to JSON. POST { direction: 'json-to-csv'|'csv-to-json', data }.
2000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-17
updated
Provider
coinslot.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x31f767855Ee8F03fe313ab6A3929eBbf16EB42aB",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"data": [
{
"price": 4.5,
"product": "widget",
"stock": {
"loc": "A",
"qty": 12
}
},
{
"price": 9.25,
"product": "sprocket",
"stock": {
"loc": "B",
"qty": 3
}
}
],
"direction": "json-to-csv"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"csv": "product,stock.qty,stock.loc,price\r\nwidget,12,A,4.5"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"data": {
"description": "Array of objects (json-to-csv) or CSV string (csv-to-json)"
},
"direction": {
"enum": [
"json-to-csv",
"csv-to-json"
],
"type": "string"
}
},
"required": [
"direction",
"data"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://coinslot.dev/api/convert" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://coinslot.dev/api/convert");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://coinslot.dev/api/convert")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3596.json, and this resource appears in /discovery/resources and /discovery/search.