# Token Average Reported Trade Notional — Weighted Mean Calculator

> Token Average Reported Trade Notional — Weighted Mean Calculator 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-12).

Computes a weighted arithmetic mean of token average reported trade notional (volume_usd / trades) across multiple data rows using caller-supplied weights.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-mean-trade-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-average-reported-trade-notional-weighted-mean-calculator-eff13c42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__GUmu36-AGhuSL_6_vFPp

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-average-reported-trade-notional-weighted-mean-calculator-eff13c42 -d '<json body>'
```

Example prompt: Can you calculate the weighted mean of average trade notional for my token data? I have 4 periods: (200 trades, $100K volume), (220 trades, $110K volume), (200 trades, $100K volume), (220 trades, $110K volume) — weight them 1, 2, 1, 2 respectively.

## When to prefer this

Choose this endpoint when you need a deterministic, weighted aggregation of token trade notional across multiple discrete observations or time periods, and you want fine-grained control over how much each observation contributes to the final mean. It is ideal for recency-weighting, importance-weighting, or volume-tiered averaging of crypto trade data without building the computation yourself. Prefer it over raw averaging when observations have unequal significance.

## Known failure modes

- Missing required fields (volume_usd or trades) in any row returns a validation error
- Fewer than 2 rows or 2 weights provided triggers a minItems constraint failure
- trades or volume_usd value of exactly 0 is rejected due to exclusiveMinimum constraint
- Mismatched array lengths between rows and weights may cause a computation error
- Exceeding 200 rows or weights triggers a maxItems constraint failure
- Weights containing negative values are rejected by the minimum:0 constraint

## How this service works

Token average reported trade notional — Weighted result mean: Weighted result mean for Token average reported trade notional. 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 mean value representing the average reported trade notional (volume_usd divided by trades) across all input rows, blended according to the provided weights. The result is a deterministic scalar computed from the supplied observations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "volume_usd",
     "trades"
    ],
    "properties": {
     "trades": {
      "type": "number",
      "default": 200,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "volume_usd": {
      "type": "number",
      "default": 100000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "trades": 200,
     "volume_usd": 100000
    },
    {
     "trades": 220.00000000000003,
     "volume_usd": 110000.00000000001
    },
    {
     "trades": 200,
     "volume_usd": 100000
    },
    {
     "trades": 220.00000000000003,
     "volume_usd": 110000.00000000001
    }
   ],
   "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-average-reported-trade-notional-weighted-mean-calculator-eff13c42/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)
