Overview
Run one SQL query (DuckDB dialect) over up to five CSV tables you send and get typed columns and rows back as JSON. Loads the supplied CSV texts (auto-detected types, optional delimiter and header flag) into an in-memory DuckDB, then disables all file, network and extension access and locks the configuration before running exactly one statement. Limits: 5 MB CSV per table, 4.5 s execution, 512 MB memory, one thread, at most 1000 returned rows.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
code
Indexed
2026-11-20 14:09:44
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"query": "SELECT country, sum(amount) AS total FROM orders GROUP BY country ORDER BY total DESC",
"tables": [
{
"csv": "id,amount,country\n1,19.90,DE\n2,5.00,AT\n3,42.10,DE",
"name": "orders"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"result": {
"columns": [
{
"name": "country",
"type": "VARCHAR"
},
{
"name": "total",
"type": "DOUBLE"
}
],
"row_count": 2,
"rows": [
{
"country": "DE",
"total": 62
},
{
"country": "AT",
"total": 5
}
],
"truncated": false
},
"service": "sql-on-csv",
"status": "success"
},
"type": "json"
}