Run one SQL query (DuckDB dialect) over up to five CSV tables you send and get t
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://code.halowerk.com/v1/sql-on-csv
| Category | Code and developer |
|---|---|
| Provider host | code.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"max_rows": {
"default": 200,
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"query": {
"maxLength": 20000,
"minLength": 1,
"type": "string"
},
"tables": {
"items": {
"additionalProperties": false,
"properties": {
"csv": {
"maxLength": 5000000,
"minLength": 1,
"type": "string"
},
"delimiter": {
"enum": [
",",
";",
"\t",
"|"
],
"type": "string"
},
"header": {
"default": true,
"type": "boolean"
},
"name": {
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,62}$",
"type": "string"
}
},
"required": [
"name",
"csv"
],
"type": "object"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"tables",
"query"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"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"
}