# CSV Delimiter Detect

> CSV Delimiter Detect is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Detects and scores the most likely delimiter character(s) in a CSV text snippet, returning counts and normalized confidence values.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/csv-delimiter-detect
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/csv-delimiter-detect-450655d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_THOzfF0i4TbXgvScGrt4Y

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 csv-delimiter-detect-450655d0 -d '<json body>'
```

Example prompt: Can you detect what delimiter is being used in this CSV snippet: 'name;age;city\nAlice;30;New York\nBob;25;London'?

## When to prefer this

Use this endpoint when an agent needs to programmatically determine the delimiter of an unknown CSV or delimited text sample before passing it to a stricter downstream parser or ETL tool. Prefer it over manual heuristics or full CSV parsers when you need a lightweight, deterministic, auditable scoring result without retaining the input data. Ideal as a preflight check in agentic data pipelines where the delimiter contract must be explicit.

## Known failure modes

- Text exceeds 8192 character limit — request rejected
- Ambiguous or empty input returns low-confidence scores across all delimiters
- Non-delimited or free-form text may produce unreliable scores
- Payment failure via x402 prevents execution
- Malformed JSON request body returns validation error

## How this service works

CSV Delimiter Detect: CSV Delimiter Detect scores common delimiters from bounded CSV text from bounded caller-supplied values without an external provider. Call CSV Delimiter Detect before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for CSV Delimiter Detect as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base.…

## Output

A versioned deterministic JSON object containing scored and ranked delimiter candidates (e.g. comma, semicolon, tab, pipe), their occurrence counts, normalized confidence values per delimiter, and a versioned result contract envelope for downstream interoperability.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "scores": {
    "\t": 0,
    ",": 3,
    ";": 0,
    "|": 0
   },
   "delimiter": ","
  },
  "schema": "delx/util-csv-delimiter-detect/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "89ec737f11531d5880eec0c3dee61c2c87f5f10f6a85b3e8eeb4840103bd3627",
   "external_calls": 0
  },
  "operation": "data_batch:csv_delimiter_detect"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/csv-delimiter-detect-450655d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
