# Token Sell Proceeds Shortfall — Weighted Result Mean

> Token Sell Proceeds Shortfall — Weighted Result Mean 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 weighted mean of token sell proceeds shortfall values (expected vs actual USD) across multiple trade observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-sell-receipt-weighted-mean?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-sell-proceeds-shortfall-weighted-result-mean-2887ad92
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_em0sRzD2A-rB52PEFQAVq

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-sell-proceeds-shortfall-weighted-result-mean-2887ad92 -d '<json body>'
```

Example prompt: Calculate the weighted mean proceeds shortfall for these four token sell trades: trade 1 got $94 of an expected $100 with weight 1, trade 2 got $103.40 of an expected $110 with weight 2, trade 3 got $94 of an expected $100 with weight 1, and trade 4 got $103.40 of an expected $110 with weight 2.

## When to prefer this

Choose this endpoint when you need a single aggregated weighted mean of sell proceeds shortfall across multiple token sell observations and you want to weight each trade differently (e.g. by trade size or importance). It is ideal for deterministic, reproducible shortfall summaries rather than live market scans or real-time price data.

## Known failure modes

- Fewer than 2 row observations supplied — minimum 2 rows required
- weights array length does not match rows array length
- expected_usd value of zero (exclusiveMinimum enforced)
- actual_usd or expected_usd exceeds maximum bound of 10^16
- more than 200 rows submitted — maxItems limit
- payment not processed or insufficient USDC balance

## How this service works

Token sell proceeds shortfall — Weighted result mean: Weighted result mean for Token sell proceeds 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 weighted result mean report.

## Output

Returns a single weighted result mean value representing the average token sell proceeds shortfall across the supplied observations, calculated deterministically from the provided expected_usd, actual_usd, and weights arrays. Output is a bounded report — not a live scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "expected_usd",
     "actual_usd"
    ],
    "properties": {
     "actual_usd": {
      "type": "number",
      "default": 94,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "expected_usd": {
      "type": "number",
      "default": 100,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "actual_usd": 94,
     "expected_usd": 100
    },
    {
     "actual_usd": 103.4,
     "expected_usd": 110.00000000000001
    },
    {
     "actual_usd": 94,
     "expected_usd": 100
    },
    {
     "actual_usd": 103.4,
     "expected_usd": 110.00000000000001
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-sell-proceeds-shortfall-weighted-result-mean-2887ad92/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)
