# Delx CSV Escape

> Delx CSV Escape 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-14).

CSV-escapes a single text field, wrapping it in quotes and escaping embedded quotes as needed for safe CSV row construction.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/csv-escape
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-csv-escape-80abb636
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OqTWtTpPnGXxWwewpgC9o

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-escape-80abb636 -d '<json body>'
```

Example prompt: Can you CSV-escape this field value for me — it's got commas and quotes in it: 'Smith, John "Johnny" Jr.'

## When to prefer this

Use this endpoint when you need a lightweight, local, no-retention utility to safely escape individual CSV field values during agent-driven CSV row construction — especially when you cannot use a full CSV library, need to pay-per-call with no API key setup, or require a guaranteed stateless operation with no data retention.

## Known failure modes

- Empty or missing 'text' field may return an error or trivially empty result
- Extremely long strings may hit payload size limits
- Non-string input types may cause a validation error
- Network timeout on payment processing via x402 may prevent the call from completing

## How this service works

CSV-escape a single field. Call when you build CSV rows from agent fields with commas/quotes. Returns escaped field and quoted flag for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns the escaped CSV field value with any embedded double-quotes doubled up and the whole field wrapped in quotes if necessary, plus a boolean flag indicating whether the field was quoted.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "\"hello, \"\"world\"\"\"",
  "quoted": true,
  "schema": "delx/util-csv-escape/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-csv-escape-80abb636/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)
