# Token Swap CSV Cell Length Audit

> Token Swap CSV Cell Length Audit is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Validates cell length constraints in a CSV table of token swap records, auditing up to 1000 rows for compliance with declared length limits.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-token-swaps-length?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-swap-csv-cell-length-audit-d7eb02b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sh4rNvvkcjDz8l5DNWn9G

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 token-swap-csv-cell-length-audit-d7eb02b8 -d '<json body>'
```

Example prompt: Can you audit this token swap CSV for cell length issues — max cell length should be 50 characters, delimiter is a comma, and only pool categories 'group-a' and 'group-b' are allowed? Here's the CSV: swap_id,executed_on,pool_address,input_tokens,output_tokens\nrecord-a,2026-01-01,group-a,10,2

## When to prefer this

Use this endpoint when you need a lightweight, contract-based cell length validation pass on a token swap CSV before ingestion or import — particularly when you have a declared schema with known max cell lengths, numeric bounds, and a finite set of allowed categorical values. Prefer this over general-purpose CSV validators when working specifically with token swap data structures and need a prebuilt validation profile for that domain.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- Invalid delimiter value provided (must be comma, semicolon, or tab)
- max_cell_length exceeds allowed maximum of 5000
- Empty or malformed CSV string
- minimum value exceeds maximum value — invalid range
- More than 100 allowed_categories provided

## How this service works

Token swap imports — Cell length audit: Cell length audit for Token swap imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV cell length audit report.

## Output

A structured cell length audit report indicating which cells or rows violate the declared maximum cell length, whether numeric values fall within the specified range, and whether categorical fields match the allowed categories list. The report covers up to 1000 rows of the input CSV.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "swap_id,executed_on,pool_address,input_tokens,output_tokens\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3",
   "maxLength": 100000,
   "minLength": 1
  },
  "maximum": {
   "type": "number",
   "default": 1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": -1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\t"
   ],
   "type": "string",
   "default": ","
  },
  "max_cell_length": {
   "type": "integer",
   "default": 1000,
   "maximum": 5000,
   "minimum": 1
  },
  "allowed_categories": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [
    "group-a",
    "group-b"
   ],
   "maxItems": 100,
   "minItems": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-swap-csv-cell-length-audit-d7eb02b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
