# Delx Commerce — CSV Select Columns

> Delx Commerce — CSV Select Columns 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).

Filters a CSV text to retain only the specified columns, returning the trimmed CSV and a list of any missing columns.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/csv-select-columns?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-select-columns-8e101862
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xa82a5fWkxEBsrusfIR5H

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-select-columns-8e101862 -d '<json body>'
```

Example prompt: Take this CSV text and give me back only the 'id', 'name', and 'email' columns — drop everything else and let me know if any of those columns are missing from the data.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, no-signup CSV column filter with cryptographically verifiable processing evidence. Ideal for AI agents that handle untrusted or ad-hoc CSV data and need a guaranteed stateless operation (no retention) with a fixed $0.001 USDC cost settled on-chain.

## Known failure modes

- Input CSV exceeds 8192 character limit — request will be rejected
- Column name array exceeds 256 items — request will be rejected
- Malformed CSV text that cannot be parsed — may return empty or incorrect output
- All requested columns are missing — returns empty CSV with all columns listed in missing_columns
- Payment not fulfilled via x402 — 402 response returned before processing

## 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 a 'result' field containing the filtered CSV string (only the requested columns) and a 'missing_columns' array listing any requested column names not found in the input. Also includes an evidence block confirming no data was retained or sent to external services, plus an input SHA-256 hash for verifiability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8192,
   "description": "Text supplied to CSV Select Columns; used only for this bounded calculation and processed in memory without retention."
  },
  "columns": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Columns supplied to CSV Select Columns; 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",
   "missing_columns": []
  },
  "schema": "delx/util-csv-select-columns/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "d19e782e6b173d1489b6e605e278b382ef74b15f275dee76c0dc4c423a5764a3",
   "external_calls": 0
  },
  "operation": "data_batch:csv_select_columns"
 }
}
```

## More

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