Skip to content
Fourohtwo

format.halowerk.com/v1/csv-parquet-convert

Convert CSV to Apache Parquet (base64, with column type overrides and compression) or Parquet back to CSV, and get the Parquet schema, row count and row groups. Runs DuckDB 2.0 in memory with one thread and 384 MB: the input is written to a private temporary folder, DuckDB may only read and write inside that folder (allowed_directories), external access is disabled and the configuration is locked

BaseAnswering
POSThttps://format.halowerk.com/v1/csv-parquet-convert

Uptime100% 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://format.halowerk.com/v1/csv-parquet-convert", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"column_types":{"amount":"DECIMAL(10,2)"},"csv":"id,amount,name\n1,19.90,Ada\n2,5.00,Grace\n","direction":"csv_to_parquet"}),
});
console.log(await res.json());

Example input

{
  "column_types": {
    "amount": "DECIMAL(10,2)"
  },
  "csv": "id,amount,name\n1,19.90,Ada\n2,5.00,Grace\n",
  "direction": "csv_to_parquet"
}