# Delx Commerce CSV Headers Extractor

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

Extracts and lists the column headers from a UTF-8 CSV text string, returning the header names and count.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/csv-headers?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-headers-extractor-8910650e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__fb8BSkjHSFsLtQYmxrCf

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-headers-extractor-8910650e -d '<json body>'
```

Example prompt: What are the column headers in this CSV text: 'name,score,date\nAlice,95,2024-01-01\nBob,87,2024-01-02'?

## When to prefer this

Use this endpoint when you need a lightweight, near-instant extraction of CSV column names without uploading data to third parties — ideal for agent workflows that need to inspect CSV structure before further processing, and where payment simplicity (no signup, pay-per-call via USDC) matters.

## Known failure modes

- Malformed or empty CSV text returns an error or empty headers array
- Non-UTF-8 encoded text may cause parsing failures
- CSV with no header row returns unexpected data column names
- Very large CSV payloads may hit size limits
- Missing or null csv_text field returns a validation error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the count of headers found (integer), the schema identifier string ('delx/csv-headers/v1'), and an array of header name strings extracted from the first row of the CSV.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv_text": {
   "type": "string",
   "description": "UTF-8 CSV text. Parsed locally; not uploaded to third parties."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "schema": "delx/csv-headers/v1",
  "headers": [
   "name",
   "score"
  ]
 }
}
```

## More

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