# Delx CSV Row Preview

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

Splits a single CSV line into its constituent fields with basic quote-awareness, returning a deterministic JSON array of field values.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/csv-row-preview
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-csv-row-preview-5a1a2ef8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bDqCTHmOAHHJ9LNMVcA7Z

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

Example prompt: Can you split this CSV row into its fields for me: 'John,"Doe, Jr.",42,New York'? I need to see each field separately as a JSON array.

## When to prefer this

Choose this endpoint when you need a fast, cheap, stateless split of a single CSV row into fields with basic quote-awareness, especially as a preflight or validation step before bulk CSV processing. It is ideal for agent pipelines that need to confirm column structure, debug quoted fields, or map CSV values to a schema without spinning up a full CSV parsing library. Prefer it over general-purpose code execution when you want a deterministic, zero-side-effect micro-utility at minimal cost.

## Known failure modes

- Malformed or unclosed quotes may produce unexpected field splits
- Extremely long rows may hit payload size limits
- Non-standard CSV dialects (e.g. semicolon-delimited) may not parse correctly
- Empty input string returns an empty or single-element array
- Nested quotes or escaped quote characters may not be fully handled

## How this service works

Split a CSV line into fields with basic quote awareness — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already convert…

## Output

A deterministic JSON array of string field values extracted from the input CSV row, with basic quote-awareness so that commas inside quoted fields are not treated as delimiters. The response is stateless and machine-readable, suitable for downstream agent processing.

## 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-5a1a2ef8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
