# Delx Commerce CSV Escape

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

Escapes a text string for safe inclusion in a CSV field, quoting and doubling any internal double-quotes per RFC 4180.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/csv-escape?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-commerce-csv-escape-3b760489
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_38KJhnPDr0NB_bhRCh4rB

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-commerce-csv-escape-3b760489 -d '<json body>'
```

Example prompt: Escape this text so it's safe to put into a CSV cell: She said, "hello, world" — make sure the quotes are properly doubled.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call, no-signup utility to RFC 4180-compliant CSV-escape a single string — especially in agent pipelines where deterministic, verifiable microservice calls over x402/USDC are preferred over bundled SDKs or self-hosted logic.

## Known failure modes

- Missing 'text' field in request body returns an error
- Empty string input may return an unquoted result with quoted: false
- Non-string input types may cause a validation error
- Payment failure over x402 protocol blocks the request

## 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 the CSV-escaped version of the input text (with internal double-quotes doubled and the whole string wrapped in double-quotes if necessary), a boolean 'quoted' indicating whether quoting was applied, and a schema identifier 'delx/util-csv-escape/v1'.

## 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-commerce-csv-escape-3b760489/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)
