# Token Buy Receipt Shortfall — Rolling Mean Report

> Token Buy Receipt Shortfall — 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-15).

Computes a rolling mean of token buy receipt shortfall (expected minus actual tokens received) across a sliding window over supplied transaction rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-receipt-rolling?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-receipt-shortfall-rolling-mean-report-b3b3cbe2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n148uw1v-TjHKvdXZOSkN

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-receipt-shortfall-rolling-mean-report-b3b3cbe2 -d '<json body>'
```

Example prompt: Can you calculate the rolling mean token buy receipt shortfall for these 4 trades — expected 1000/got 950, expected 1100/got 1045, expected 1000/got 950, expected 1100/got 1045 — using a window size of 2?

## When to prefer this

Choose this endpoint when you have a sequence of token buy observations (expected vs actual tokens received) and need a statistically smoothed rolling mean of the shortfall rather than a raw per-trade comparison. It is best suited for trend analysis, threshold alerting, or quality monitoring over repeated token purchases. Use it when you need a deterministic, reproducible calculation — not a live market scan or real-time price feed.

## Known failure modes

- Fewer than 2 rows provided — minimum row count not met
- Window size exceeds number of rows — calculation cannot proceed
- actual_tokens or expected_tokens values out of allowed range (0 to 1e16)
- expected_tokens must be greater than 0 (exclusiveMinimum)
- More than 200 rows supplied — exceeds maxItems limit
- Payment not included or insufficient — x402 payment required
- Malformed row objects with extra properties — additionalProperties not allowed

## How this service works

Token buy receipt shortfall — Rolling mean report: Rolling mean report for Token buy receipt shortfall. 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 token buy receipt shortfall computed over the supplied rows of expected_tokens and actual_tokens pairs, using the specified sliding window size. The result represents smoothed average shortfall values (expected minus actual) across each window position, enabling trend analysis of token fulfillment gaps.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "expected_tokens",
     "actual_tokens"
    ],
    "properties": {
     "actual_tokens": {
      "type": "number",
      "default": 950,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "expected_tokens": {
      "type": "number",
      "default": 1000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "actual_tokens": 950,
     "expected_tokens": 1000
    },
    {
     "actual_tokens": 1045,
     "expected_tokens": 1100
    },
    {
     "actual_tokens": 950,
     "expected_tokens": 1000
    },
    {
     "actual_tokens": 1045,
     "expected_tokens": 1100
    }
   ],
   "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-receipt-shortfall-rolling-mean-report-b3b3cbe2/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)
