# Token Swap CSV Numeric Type Validator

> Token Swap CSV Numeric Type Validator 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 numeric columns in a token swap CSV dataset, checking that values fall within allowed types, ranges, and category constraints — up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-token-swaps-types?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-numeric-type-validator-a643a7e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AJU7jqtMHinnr3r-a-BNd

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-numeric-type-validator-a643a7e8 -d '<json body>'
```

Example prompt: Can you run a numeric type check on this token swap CSV — it has columns like swap_id, executed_on, pool_address, input_tokens, and output_tokens — and flag any rows where the numeric values look wrong or out of range?

## When to prefer this

Choose this endpoint when you need a lightweight, per-call numeric type validation of a token swap CSV before importing it into a database or analytics pipeline — especially when you want to enforce a declared column contract (numeric ranges, allowed categories) without spinning up a full ETL stack. It is purpose-built for DeFi/swap datasets and costs only $0.01 USDC per check.

## Known failure modes

- CSV exceeds 1000 rows — only first 1000 rows validated
- CSV string empty or malformed — returns parse error
- Delimiter mismatch causes all rows to fail parsing
- Values exceed max_cell_length — cell flagged or truncated
- min > max configuration yields vacuous range — all numeric values fail
- Non-UTF-8 or binary content causes ingestion failure

## How this service works

Token swap imports — Numeric type check: Numeric type check 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 numeric type check report.

## Output

A numeric type check report identifying which rows and cells in the token swap CSV fail to meet numeric type requirements, range constraints (min/max), and allowed category checks — returned as a structured validation result for up to 1000 rows.

## 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-numeric-type-validator-a643a7e8/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)
