# Delx Commerce CSV Trim Cells

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

Trims whitespace from all cells in a CSV-formatted text string, returning a cleaned CSV without storing the input data.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/csv-trim-cells?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-trim-cells-7fdfb871
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LfsxEPP-a58bXAXNl3Xoa

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-trim-cells-7fdfb871 -d '<json body>'
```

Example prompt: Can you trim all the whitespace from the cells in this CSV? Here it is: 'id, name , value 
1 , Ada , 42 '

## When to prefer this

Choose this endpoint when you need a lightweight, privacy-respecting, pay-per-use CSV cell whitespace trimmer with verifiable non-retention of data. Ideal for agents that handle sensitive tabular data and need cryptographic proof that input was not stored. Prefer over self-hosted solutions when no infrastructure setup is desired and cost predictability ($0.001 per call) matters.

## Known failure modes

- Input text exceeds 8192 character limit — request rejected
- Malformed JSON body — 400 error
- Non-CSV or unstructured text passed — output may be unpredictable but no error thrown
- Payment not provided or insufficient USDC — 402 Payment Required

## 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 containing a 'result' field with the trimmed CSV string, plus an 'evidence' block confirming no data was retained (retained: false), the SHA-256 hash of the input, and zero external calls made. Also includes the operation name and schema version.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8192,
   "description": "Text supplied to CSV Trim Cells; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "csv": "id,name\n1,Ada"
  },
  "schema": "delx/util-csv-trim-cells/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "2975a664dd731c637235b31a776ace9e587b75a46d372193dc67a9a52fea855f",
   "external_calls": 0
  },
  "operation": "data_batch:csv_trim_cells"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-csv-trim-cells-7fdfb871/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)
