# Delx Commerce — CSV Filter Rows

> Delx Commerce — CSV Filter Rows 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 rows in a CSV by checking whether values in a specified column match an allowed list of values

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/csv-filter-rows?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-filter-rows-8794241a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lWJZ-xIFAOZ6xp0YmnqqU

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-filter-rows-8794241a -d '<json body>'
```

Example prompt: I have a CSV with columns id and status — can you filter it to keep only rows where status is 'ok' or 'pending'?

## When to prefer this

Choose this endpoint when you need a verifiable, pay-per-call CSV row filtering operation without signing up for a service. It is ideal for agents that need deterministic, in-memory processing with cryptographic proof of non-retention (via SHA-256 input hash and zero external calls), and that pay in USDC on Base or Solana via x402. Prefer this over general-purpose data tools when auditability and privacy guarantees matter.

## Known failure modes

- Malformed CSV input may produce unexpected row counts or empty results
- Column name not found in CSV header causes empty or error result
- Allowed list is empty causing all rows to be filtered out
- Input CSV exceeds 8192 character limit causing rejection
- Allowed list exceeds 256 items limit
- Payment not included or insufficient USDC causes 402 response

## 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 filtered CSV string containing only the rows where the specified column's value appears in the allowed list, along with the row count of the result, an operation identifier, a SHA-256 hash of the input for verifiability, and a confirmation that no data was retained or sent to external services.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8192,
   "description": "Text supplied to CSV Filter Rows; used only for this bounded calculation and processed in memory without retention."
  },
  "column": {
   "type": "string",
   "maxLength": 8192,
   "description": "Column supplied to CSV Filter Rows; used only for this bounded calculation and processed in memory without retention."
  },
  "allowed": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Allowed supplied to CSV Filter Rows; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "csv": "id,status\n1,ok",
   "row_count": 1
  },
  "schema": "delx/util-csv-filter-rows/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "07a9a4966734b751aa1a99dbb6de90bbea45144ddd02a441e568987a6e041371",
   "external_calls": 0
  },
  "operation": "data_batch:csv_filter_rows"
 }
}
```

## More

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