Run one read-only DuckDB SELECT over a Parquet file (table `data`)
balogvn--aimart-parquet.us-east.modal.run/v1/query
Run one read-only DuckDB SELECT over a Parquet file (table `data`); join up to 7 more artifacts via `tables`.
POST
https://balogvn--aimart-parquet.us-east.modal.run/v1/queryUptime100% 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://balogvn--aimart-parquet.us-east.modal.run/v1/query", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"sql":"SELECT region, sum(units) AS units FROM data GROUP BY region ORDER BY region","url":"https://raw.githubusercontent.com/balogvn/aimart/main/docs/examples/sales.parquet"}),
});
console.log(await res.json());Example input
{
"sql": "SELECT region, sum(units) AS units FROM data GROUP BY region ORDER BY region",
"url": "https://raw.githubusercontent.com/balogvn/aimart/main/docs/examples/sales.parquet"
}More from AImart ParquetProvider status
- balogvn--aimart-parquet.us-east.modal.run/v1/convertConvert a messy CSV/JSON/Excel/SPSS/Stata/SAS file, or tables in a digital (not scanned) PDF, to clean Parquet (input by URL or base64).0.02
- balogvn--aimart-parquet.us-east.modal.run/v1/inspectDescribe a Parquet file's schema, null counts, ranges and labels without reading rows.0.002
- balogvn--aimart-parquet.us-east.modal.run/v1/previewReturn a slice of Parquet rows as JSON, Markdown or CSV.0.002
