# Token Buy-to-Sell Activity Ratio — IQR Outlier Flags

> Token Buy-to-Sell Activity Ratio — IQR Outlier Flags 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-19).

Calculates interquartile range (IQR) outlier flags for a series of token buy-to-sell activity ratios from supplied buy and sell count observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-sell-ratio-outliers?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-buy-to-sell-activity-ratio-iqr-outlier-flags-0bf14185
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dWvQhshK0KqBGr_5EY46Y

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-buy-to-sell-activity-ratio-iqr-outlier-flags-0bf14185 -d '<json body>'
```

Example prompt: I have a list of token trading observations — can you flag which ones are IQR outliers based on their buy-to-sell ratio? Here are the rows: [{buy_count: 120, sell_count: 80}, {buy_count: 132, sell_count: 88}, {buy_count: 500, sell_count: 10}, {buy_count: 119, sell_count: 81}].

## When to prefer this

Choose this endpoint when you need a fast, deterministic, statistically grounded IQR-based outlier detection specifically on token buy-to-sell activity ratios from your own supplied data. It is not a live market scanner or safety oracle — prefer it when you already have a batch of token observations and need to programmatically flag statistical anomalies for further review. It is ideal for pipelines doing pre-processing, data quality checks, or anomaly screening on crypto trading datasets.

## Known failure modes

- Fewer than 2 rows provided — minItems violation returns validation error
- sell_count of 0 violates exclusiveMinimum constraint and is rejected
- buy_count or sell_count exceeds maximum value of 1e16 and is rejected
- More than 200 rows submitted — maxItems exceeded returns error
- Missing required buy_count or sell_count fields in any row causes schema validation failure
- Non-numeric values in buy_count or sell_count fields cause type errors

## How this service works

Token buy-to-sell activity ratio — IQR outlier flags: IQR outlier flags for Token buy-to-sell activity ratio. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded iqr outlier flags report.

## Output

A bounded report containing IQR outlier flags for each supplied token observation row, indicating which rows have buy-to-sell ratios that fall outside the interquartile range threshold. Each flag reflects a deterministic statistical calculation based solely on the provided data — not a live scan, safety proof, or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "buy_count",
     "sell_count"
    ],
    "properties": {
     "buy_count": {
      "type": "number",
      "default": 120,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "sell_count": {
      "type": "number",
      "default": 80,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "buy_count": 120,
     "sell_count": 80
    },
    {
     "buy_count": 132,
     "sell_count": 88
    },
    {
     "buy_count": 120,
     "sell_count": 80
    },
    {
     "buy_count": 132,
     "sell_count": 88
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-buy-to-sell-activity-ratio-iqr-outlier-flags-0bf14185/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)
