# Delx Commerce — CSV Join By Key

> Delx Commerce — CSV Join By Key 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).

Joins two CSV datasets on a shared key column and returns the merged CSV result with row count.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/csv-join-by-key?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-join-by-key-88e711bc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dqx12MfdE6BiW_v1TIye5

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-join-by-key-88e711bc -d '<json body>'
```

Example prompt: I have two CSV tables I need joined on the 'id' column — the left table has id,name and the right has id,score — can you merge them together and give me the combined CSV?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call CSV join operation without setting up a database or data pipeline. It is ideal for agents that need to merge two small-to-medium CSV datasets on a shared key in real time, with cryptographic proof of processing and no data retention. Prefer it over general-purpose data tools when you need verifiable, privacy-respecting tabular merges billed in USDC micro-payments.

## Known failure modes

- Missing or mismatched key column across left and right CSVs results in zero-row output
- Input exceeding 8192 character limit per field is rejected
- Malformed CSV (unbalanced quotes, inconsistent columns) may produce unexpected join results
- Payment failure (insufficient USDC) results in 402 response before processing
- Key field name not present in one or both CSVs produces empty or partial output

## 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 the merged CSV string, the row count of the result, the operation name, a status field ('pass'), and an evidence block confirming no data was retained and providing a SHA-256 hash of the input for verifiability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string",
   "maxLength": 8192,
   "description": "Key supplied to CSV Join By Key; used only for this bounded calculation and processed in memory without retention."
  },
  "left": {
   "type": "string",
   "maxLength": 8192,
   "description": "Left supplied to CSV Join By Key; used only for this bounded calculation and processed in memory without retention."
  },
  "right": {
   "type": "string",
   "maxLength": 8192,
   "description": "Right supplied to CSV Join By Key; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "csv": "id,name,score\n1,Ada,10",
   "row_count": 1
  },
  "schema": "delx/util-csv-join-by-key/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "57022525cee3a1a6a7c28356dba473bc310bef220434f10ff449553cbb91cf73",
   "external_calls": 0
  },
  "operation": "data_batch:csv_join_by_key"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-csv-join-by-key-88e711bc/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)
