# CSV to Table Parser

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

Fetches a public HTTPS CSV URL and parses it into structured JSON with headers and rows, with safety caps and optional header detection

## Facts

- Endpoint: POST https://well-005-csv-to-table.mmelnyk2000.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-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/csv-to-table-parser-af40d7cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ScWswafRGnEplsfIy1GBp

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-af40d7cd -d '<json body>'
```

Example prompt: Can you fetch the CSV at https://example.com/data.csv and parse it into a table with headers and rows for me?

## When to prefer this

Use this endpoint when you need to fetch and parse a publicly accessible CSV file from an HTTPS URL into structured JSON headers and rows. It handles redirect chains, enforces safety caps, and returns row count and warnings — ideal for data pipeline ingestion steps, quick dataset inspection, or when you need tabular data in JSON form without setting up local parsing. Prefer it over general web scrapers when the target is a known CSV file.

## Known failure modes

- Non-HTTPS URLs (http, file, data, localhost, private IPs) are rejected with an error
- CSV body exceeding 1 MB is rejected or truncated
- Request timeout after ~10 seconds if the remote server is slow
- More than 5 redirects causes failure
- Malformed or non-CSV content types may result in parse errors or garbled data
- More than 5000 data rows causes truncation with a warning in the warnings field

## 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 containing: the original URL, the final URL after redirects, the detected content type, an array of header strings, a 2D array of data rows, total row count, and a warnings array (e.g. if rows were truncated at the 5000-row cap). The response fully describes the parsed table structure.

## More

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