# Delx CSV Row Preview

> Delx CSV Row Preview is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Parses a single CSV row string and returns its field count, individual field values, and whether a quoted field is still open (unterminated quote).

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/csv-row-preview?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-csv-row-preview-ac3e703b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vTj4ni2UPijh_nHBobX6N

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 delx-csv-row-preview-ac3e703b -d '<json body>'
```

Example prompt: Can you parse this CSV row for me and tell me how many fields it has and what they are: 'Alice,"New York, NY",30,engineer'?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call CSV row parser without setting up a library or runtime — ideal for agents processing individual rows on-the-fly, validating row structure before pipeline ingestion, or debugging malformed CSV lines. At $0.001 USDC per call with no signup required, it is well-suited for sporadic or agent-driven use cases where spinning up a full CSV library is overkill.

## Known failure modes

- Empty or missing 'row' field returns an error or zero-count result
- Extremely long rows may hit size limits
- Binary or non-UTF-8 input may cause parsing errors
- Ambiguous delimiters (e.g. TSV data sent as CSV) will parse incorrectly without error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with: 'count' (integer number of fields found), 'fields' (array of string field values parsed from the row), 'quoted_open' (boolean indicating whether the row ends with an unclosed quoted field), and 'schema' (a version identifier string 'delx/util-csv-row-preview/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "row": {
   "type": "string",
   "description": "Input field: row."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "fields": [
   "a",
   "b,c",
   "d"
  ],
  "schema": "delx/util-csv-row-preview/v1",
  "quoted_open": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-csv-row-preview-ac3e703b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
