code.halowerk.com/v1/sql-on-csv
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
POST
https://code.halowerk.com/v1/sql-on-csvUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://code.halowerk.com/v1/sql-on-csv", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"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"}]}),
});
console.log(await res.json());Example input
{
"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"
}
]
}