# AgentsToolsHub CSV Validator

> AgentsToolsHub CSV Validator is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Validates CSV text for structural issues including ragged rows, duplicate headers, stray quotes, column-count mismatches, and empty cells, with exact row-number citations for every issue found.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/dev/csv-validator?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentstoolshub-csv-validator-0430e939
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fgzQjyZ2RqZgpS34NDegE

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 agentstoolshub-csv-validator-0430e939
```

Example prompt: Can you check this CSV for structural problems — ragged rows, duplicate headers, stray quotes, or column-count mismatches? The delimiter is a comma and I'm expecting columns: id, name, email, created_at.

## When to prefer this

Use this endpoint when an agent needs to structurally lint a CSV before ingesting, transforming, or storing it. It is ideal for pre-flight checks in ETL pipelines, validating user-uploaded files, or confirming that a CSV export matches an expected schema. Prefer this over general-purpose parsers when you need exact row-number citations for every structural issue and RFC 4180-aware parsing including ragged row and duplicate header detection.

## Known failure modes

- Missing required 'csv' query parameter returns an error
- Extremely large CSV payloads may exceed size limits
- Invalid delimiter value (not comma, semicolon, or tab) returns a bad request error
- Malformed expectedColumns parameter may cause schema comparison to fail
- Network timeout if CSV text is very long

## How this service works

Validate CSV structure before ingesting it: RFC 4180-aware parse, ragged rows, column-count consistency against the header or an expected schema, duplicate headers, stray quotes and empty-cell counts. Deterministic — every issue cites its exact row number. Use this when an agent needs to structural lint: ragged rows, dupes, quoting issues.

## Output

A structured list of validation issues found in the CSV, each citing the exact row number and describing the problem (e.g. ragged row, duplicate header, stray quote, empty cell, column count mismatch). Returns a clean result if no issues are found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "csv"
     ],
     "properties": {
      "csv": {
       "type": "string",
       "description": "CSV text"
      },
      "delimiter": {
       "enum": [
        ",",
        ";",
        "tab"
       ],
       "type": "string",
       "description": "Delimiter"
      },
      "expectedColumns": {
       "type": "string",
       "description": "Expected columns"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentstoolshub-csv-validator-0430e939/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
