# Token Observed Price Change — Weighted Result Mean

> Token Observed Price Change — 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-15).

Computes a weighted mean of observed price-change ratios across multiple token price observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-price-change-weighted-mean?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-observed-price-change-weighted-result-mean-e8618b79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QC9VUxIpeHWF-D-lt9gMq

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-observed-price-change-weighted-result-mean-e8618b79 -d '<json body>'
```

Example prompt: Calculate the weighted mean price change for these 4 token observations: prices went from 1.00 to 1.20, 1.10 to 1.32, 1.00 to 1.20, and 1.10 to 1.32, using weights of 1, 2, 1, and 2 respectively.

## When to prefer this

Choose this endpoint when you have a fixed batch of token price observations (current and previous prices) and need a single weighted-average price change metric. Ideal for portfolio aggregation, index summarization, or backtesting rollups where you supply your own data and want a deterministic, reproducible result rather than a live market feed or raw price lookup.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 observations required
- More than 200 rows or weights provided — maxItems limit exceeded
- current_price or previous_price is zero or negative — exclusiveMinimum constraint violated
- Weights array length does not match rows array length
- Non-numeric values in prices or weights fields
- Payment failure — 0.01 USDC x402 charge not processed

## How this service works

Token observed price change — Weighted result mean: Weighted result mean for Token observed price change. 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 bounded weighted result mean report summarizing the aggregated price change across all supplied token observations, incorporating the specified weights. The output is a deterministic calculation — not a live market scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "current_price",
     "previous_price"
    ],
    "properties": {
     "current_price": {
      "type": "number",
      "default": 1.2,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "previous_price": {
      "type": "number",
      "default": 1,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "current_price": 1.2,
     "previous_price": 1
    },
    {
     "current_price": 1.32,
     "previous_price": 1.1
    },
    {
     "current_price": 1.2,
     "previous_price": 1
    },
    {
     "current_price": 1.32,
     "previous_price": 1.1
    }
   ],
   "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-observed-price-change-weighted-result-mean-e8618b79/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)
