# CSV Data Inspector

> CSV Data Inspector is a paid API for AI agents from autonomy-api-network.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Inspects CSV text for shape, column types, missing values, duplicates, and malformed rows.

## Facts

- Endpoint: POST https://autonomy-api-network.onrender.com/v1/csv-inspect
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/csv-data-inspector-7f57674c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Cjdl2ZYTVbdSpfIIdHM5S

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-data-inspector-7f57674c -d '<json body>'
```

Example prompt: Can you inspect this CSV data for me — check the shape, column types, missing values, and any duplicate or malformed rows? The delimiter is a comma.

## When to prefer this

Use this endpoint when you need a quick, structured data-quality profile of raw CSV text before importing or processing it — especially to catch missing values, type inconsistencies, duplicates, and bad rows without writing custom parsing logic.

## Known failure modes

- CSV text is empty or missing — likely returns a 400 error
- Delimiter is not exactly one character — rejected by schema validation
- CSV has no header row — may produce incorrect type inference or an error
- Extremely large CSV text may hit payload size limits
- Malformed binary or non-text content passed as CSV — parsing failure

## How this service works

Inspect CSV data for shape, types, missing values, duplicates, and malformed rows.

## Output

Returns a structured report covering: detected shape (rows x columns), inferred column data types, counts of missing values per column, duplicate row count, and a list of malformed or unparseable rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "description": "CSV text including a header row"
  },
  "delimiter": {
   "type": "string",
   "maxLength": 1,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "rowCount": 2,
   "delimiter": ",",
   "columnCount": 2,
   "duplicateRows": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/csv-data-inspector-7f57674c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from autonomy-api-network.onrender.com](https://www.zero.xyz/host/autonomy-api-network.onrender.com/llms.txt)
