# Token Pool Observations — CSV Column Statistics

> Token Pool Observations — CSV Column Statistics 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-15).

Validates a CSV of token pool observations and returns per-column statistics such as min, max, nulls, and category distributions.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-token-pools-column-stats?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-pool-observations-csv-column-statistics-3c040730
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__Se8NLFPUk7XsIKAXVTQM

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-pool-observations-csv-column-statistics-3c040730 -d '<json body>'
```

Example prompt: Can you run column statistics on this token pool observations CSV — check that all numeric values are between -1000000000000 and 1000000000000, cells are under 1000 characters, and that the pool_address column only contains 'group-a' or 'group-b'?

## When to prefer this

Choose this endpoint when you need fast, cheap ($0.01 USDC) column-level statistical validation of a token pool observations CSV — especially when you want to enforce numeric bounds and categorical allowlists in a single call without external enrichment. Best suited for DeFi data pipelines validating pool snapshots before ingestion or downstream analysis.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows in CSV — only first 1000 processed or rejected
- Cell exceeds max_cell_length — validation error returned
- Numeric value outside declared minimum/maximum bounds — flagged in report
- Disallowed category value found — flagged per column
- Malformed CSV (unmatched quotes, wrong delimiter) — parse error returned
- Empty CSV string — rejected with minLength violation

## How this service works

Token pool observations — Column statistics: Column statistics for Token pool observations. 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 column statistics report.

## Output

A structured column statistics report covering each column in the submitted CSV: numeric columns get min, max, mean, null count, and range validation results; categorical columns get value frequency distributions and allowed-category violation flags. Up to 1000 rows are analyzed per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "observation_id,observed_on,pool_address,liquidity_usd,volume_usd\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-pool-observations-csv-column-statistics-3c040730/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)
