# CSV to Table Parser

> CSV to Table Parser is a paid API for AI agents from well-005-csv-to-table.rainmaker-wells.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Fetches a public HTTPS CSV URL and parses it into structured JSON with headers and rows

## Facts

- Endpoint: POST https://well-005-csv-to-table.rainmaker-wells.workers.dev/mcp?utm_source=zero.xyz#csv-to-table#csv-to-table
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/csv-to-table-parser-c8f10bf2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1zbAl0zQ7a8_UXAd69ScQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability csv-to-table-parser-c8f10bf2 -d '<json body>'
```

Example prompt: Can you fetch the CSV at https://example.com/data/sales-2024.csv and parse it into a table with headers and rows so I can work with the data?

## When to prefer this

Use this endpoint when you need to programmatically fetch a publicly accessible CSV file from an HTTPS URL and receive structured JSON (headers + rows) without writing your own parser. Ideal for one-off data ingestion, pipeline bootstrapping, or when the CSV is hosted externally and you need to avoid downloading and processing locally. Best for files under 1 MB with up to 5000 rows. Not suitable for private/authenticated CSV endpoints or very large datasets.

## Known failure modes

- Non-HTTPS URL (http, file, data, localhost, private IP) — rejected with error
- CSV body exceeds 1 MB — request aborted
- Timeout after ~10 seconds if remote server is slow
- More than 5 redirects — request aborted
- Remote server returns non-CSV content — may return error or empty parse
- Malformed CSV — partial parse with warnings
- Payment not provided or invalid — x402 payment required error

## How this service works

Fetch a public https CSV URL and parse it into headers + rows ($0.005 USDC via x402). https only — http, file, data, localhost, and private IPs are rejected. Caps: 1 MB body, ~10s timeout, max 5 redirects, max 5000 data rows (truncated with warning). Optional has_header (default true). Returns JSON { url, final_url, content_type, headers, rows, row_count, warnings }.

## Output

Returns a JSON object with: url (original), final_url (after redirects), content_type, headers (array of column names), rows (array of arrays, up to 5000), row_count (integer), and warnings (array of any truncation or parsing notices). If has_header is false, headers will be auto-generated.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/csv-to-table-parser-c8f10bf2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from well-005-csv-to-table.rainmaker-wells.workers.dev](https://www.zero.xyz/host/well-005-csv-to-table.rainmaker-wells.workers.dev/llms.txt)
