# Token Buy-to-Sell Activity Ratio — Benchmark Correlation

> Token Buy-to-Sell Activity Ratio — Benchmark Correlation 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).

Computes the correlation between a token's buy-to-sell activity ratio time series and a supplied benchmark series, returning a deterministic bounded report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-sell-ratio-correlation?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-buy-to-sell-activity-ratio-benchmark-correlation-bc759dd6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yTxrYa46cac4X8OELunTD

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-benchmark-correlation-bc759dd6 -d '<json body>'
```

Example prompt: I have 4 periods of token trading data — buys of 120, 132, 120, 132 and sells of 80, 88, 80, 88 — and I want to know how closely the resulting buy-to-sell ratio correlates with benchmark values of 10, 20, 30, 40.

## When to prefer this

Choose this endpoint when you need a fast, deterministic correlation score between a token's buy-to-sell pressure ratio and a custom numeric benchmark series, especially when you already have structured buy/sell count observations and a reference signal. Prefer it over generic statistics APIs when the domain is specifically token trading activity ratios and you want a preset, bounded report at low cost ($0.01 USDC per call).

## Known failure modes

- Fewer than 2 rows or benchmark values supplied — minimum items constraint violated
- Mismatched array lengths between rows and benchmarks may produce undefined or degenerate correlation
- sell_count of exactly 0 rejected due to exclusiveMinimum constraint, causing validation error
- More than 200 rows or benchmark items supplied — maxItems constraint exceeded
- Non-numeric values in buy_count, sell_count, or benchmarks fields cause schema validation failure

## How this service works

Token buy-to-sell activity ratio — Benchmark correlation: Benchmark correlation 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 benchmark correlation report.

## Output

A bounded benchmark correlation report containing the computed correlation coefficient(s) between the derived buy-to-sell ratio series and the supplied benchmark values, produced via a deterministic calculation — not a live scan 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
  },
  "benchmarks": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000000000,
    "minimum": -1000000000000000000
   },
   "default": [
    10,
    20,
    30,
    40
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-buy-to-sell-activity-ratio-benchmark-correlation-bc759dd6/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)
