Read a Parquet file from a public link or a public S3 object and get CSV or JSON back. Formatting matches the tool page.
POST /api/v1/tools/parquet-to-csv
Daily allowance: 10 successful requests, shared by every token on your account. Resets at midnight UTC.
The file must be readable without credentials: a public https URL, or s3://bucket/key for a public object. The file is limited to 25 MB. Uncompressed and Snappy files are supported. Only the first limit rows are returned (default 10,000, maximum 100,000), and truncated says whether rows were left out. Private, loopback, and link-local addresses are blocked, including after redirects.
Request body
| Field | Description |
|---|---|
url | Required. A public http(s) URL or an s3://bucket/key address. |
region | AWS region for an s3:// address, such as eu-west-1. Defaults to us-east-1. |
format | csv or json. Default csv. |
delimiter | CSV only. One of , ; tab or |. Default comma. |
limit | Rows to return, 1 to 100,000. Default 10,000. |
Example
curl https://wapgee.com/api/v1/tools/parquet-to-csv \
-H "Authorization: Bearer wpg_your_token" \
-H "Content-Type: application/json" \
-d '{"url":"s3://my-public-bucket/data/orders.parquet","region":"eu-west-1","limit":100}'A successful call returns:
{
"success": true,
"output": "id,name\n1,Ada\n2,Lin\n",
"format": "csv",
"columns": ["id", "name"],
"rowCount": 2,
"totalRows": 2,
"truncated": false
}