# x402 Agent Toolkit – CSV Parse

> x402 Agent Toolkit – CSV Parse is a paid API for AI agents from x402-agent-toolkit.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Parses a raw CSV string into structured data (rows and fields) for $0.01 USDC per call, with no LLM dependency.

## Facts

- Endpoint: POST https://x402-agent-toolkit.vercel.app/api/csv-parse
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-toolkit-csv-parse-b7b4bd8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2v0yCNM4q4hka9ZNwlEsb

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 x402-agent-toolkit-csv-parse-b7b4bd8b -d '<json body>'
```

Example prompt: Parse this CSV string for me: 'name,age,city\nAlice,30,New York\nBob,25,Chicago' — I need the rows and fields broken out into structured data.

## When to prefer this

Use this endpoint when you need deterministic, pure-computation CSV parsing without any LLM involvement, especially in automated agent pipelines where cost predictability ($0.01/call) and on-chain micropayment (USDC on Base or Solana) are required. Prefer this over LLM-based parsing for structured tabular data where accuracy and reproducibility matter.

## Known failure modes

- Missing 'csv' field in request body returns a validation error
- Malformed or non-CSV string may result in empty or unexpected parsed output
- Payment failure (insufficient USDC balance or unsupported chain) blocks the request
- Very large CSV strings may hit payload size limits
- Empty CSV string returns an empty result object

## How this service works

Paid utility endpoints for AI agents. Pay with USDC on Base or Solana. Pure computation, no LLM dependency.

## Output

Returns a structured JSON object representing the parsed CSV, including rows, columns, and field values extracted from the input CSV string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "csv"
 ],
 "properties": {
  "csv": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-toolkit-csv-parse-b7b4bd8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-toolkit.vercel.app](https://www.zero.xyz/host/x402-agent-toolkit.vercel.app/llms.txt)
