# Token Buy Volume Fraction — Rolling Mean Report

> Token Buy Volume Fraction — Rolling Mean Report 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).

Computes the rolling mean of buy volume fraction (buy volume as a share of total volume) over a configurable window across a series of token trade observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-volume-share-rolling?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-volume-fraction-rolling-mean-report-d62d5687
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7KM5rI5Eg0O1QzcFh5HU_

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-volume-fraction-rolling-mean-report-d62d5687 -d '<json body>'
```

Example prompt: Calculate the rolling mean of the buy volume fraction for these 4 token trade observations using a window of 2: rows with buy_volume 60000/sell_volume 40000, 66000/44000, 60000/40000, 66000/44000.

## When to prefer this

Choose this endpoint when you need a deterministic, smoothed rolling mean of the buy volume fraction from a fixed set of token trade observations and do not need a live market scan or real-time feed. It is ideal for post-hoc analysis of buy/sell volume series, backtesting signals, or smoothing noisy volume share data over a defined window. Prefer it over raw ratio calculations when you want windowed averaging rather than point-in-time values, and over live scanning tools when you already have the observations in hand.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- Window size larger than number of rows — insufficient data for any complete window
- buy_volume or sell_volume equal to zero or negative — exclusiveMinimum constraint violated
- More than 200 rows supplied — exceeds maxItems limit
- Window integer outside 2–200 range — schema validation error
- Malformed row objects missing required buy_volume or sell_volume fields — validation failure
- Payment not attached or insufficient — x402 payment required error

## How this service works

Token buy volume fraction — Rolling mean report: Rolling mean report for Token buy volume fraction. 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 rolling mean report report.

## Output

Returns a rolling mean report of the buy volume fraction (buy_volume / (buy_volume + sell_volume)) computed across successive windows of the supplied observation rows. Each output value represents the smoothed average buy share for its corresponding window, using only the supplied token trade data with deterministic calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "buy_volume",
     "sell_volume"
    ],
    "properties": {
     "buy_volume": {
      "type": "number",
      "default": 60000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "sell_volume": {
      "type": "number",
      "default": 40000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "buy_volume": 60000,
     "sell_volume": 40000
    },
    {
     "buy_volume": 66000,
     "sell_volume": 44000
    },
    {
     "buy_volume": 60000,
     "sell_volume": 40000
    },
    {
     "buy_volume": 66000,
     "sell_volume": 44000
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-buy-volume-fraction-rolling-mean-report-d62d5687/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)
