# Token Quote vs Received Amount — Rolling Mean Report

> Token Quote vs Received Amount — 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-13).

Computes a rolling mean of token quote shortfall (quoted minus received token amounts) over a sliding window across a series of observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-quote-shortfall-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-quote-vs-received-amount-rolling-mean-report-c2230bf7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DVb9Vjdb_0844b7-9MO2P

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-quote-vs-received-amount-rolling-mean-report-c2230bf7 -d '<json body>'
```

Example prompt: Can you run a rolling mean report on these 4 token trade observations — quoted 1000 received 980, quoted 1100 received 1078, quoted 1000 received 980, quoted 1100 received 1078 — using a window of 2 to see the average shortfall trend?

## When to prefer this

Choose this endpoint when you have a time-series of token trade observations and need to smooth out noise using a rolling mean to identify systematic shortfall trends, rather than inspecting raw per-trade differences. It is ideal for auditing broker or DEX fill quality over a batch of trades rather than evaluating a single transaction.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- Window size exceeds number of rows — invalid window configuration
- quoted_tokens or received_tokens missing or zero — required fields absent
- Values exceed maximum threshold (1e16) — out-of-range inputs rejected
- Non-numeric values in numeric fields — type validation failure

## How this service works

Token quote versus received amount — Rolling mean report: Rolling mean report for Token quote versus received amount. 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 showing the average difference between quoted_tokens and received_tokens across a sliding window of the specified size. Each windowed segment yields a mean shortfall value, enabling trend analysis of token delivery accuracy across the supplied observations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "quoted_tokens",
     "received_tokens"
    ],
    "properties": {
     "quoted_tokens": {
      "type": "number",
      "default": 1000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "received_tokens": {
      "type": "number",
      "default": 980,
      "maximum": 10000000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "quoted_tokens": 1000,
     "received_tokens": 980
    },
    {
     "quoted_tokens": 1100,
     "received_tokens": 1078
    },
    {
     "quoted_tokens": 1000,
     "received_tokens": 980
    },
    {
     "quoted_tokens": 1100,
     "received_tokens": 1078
    }
   ],
   "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-quote-vs-received-amount-rolling-mean-report-c2230bf7/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)
