# Token Drawdown from Supplied Peak — Weighted Result Mean

> Token Drawdown from Supplied Peak — 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 token drawdown percentages across multiple peak/current price observation pairs.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-drawdown-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-drawdown-from-supplied-peak-weighted-result-mean-9d5ce6e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V6fDknc_kGNvK_phisyc8

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-drawdown-from-supplied-peak-weighted-result-mean-9d5ce6e4 -d '<json body>'
```

Example prompt: Calculate the weighted mean drawdown for a token given these peak/current price pairs: [{peak: 2.00, current: 1.50}, {peak: 2.20, current: 1.65}, {peak: 3.00, current: 2.10}] with weights [1, 2, 3].

## When to prefer this

Choose this endpoint when you need a deterministic, weighted aggregate drawdown metric across multiple token price observations and want a single weighted mean result rather than individual per-row drawdowns. Prefer this over a batch/single calculation endpoint when observations have different importance or recency and must be blended into one representative figure. Not suitable for live price scanning, safety analysis, or trade recommendations.

## Known failure modes

- Fewer than 2 rows provided — minItems:2 constraint violation
- Mismatch between number of rows and number of weights
- peak_price or current_price set to zero or negative — exclusiveMinimum:0 constraint
- More than 200 rows supplied — maxItems:200 constraint violation
- Weight values are negative — minimum:0 constraint violation
- Payment not included or insufficient — x402 payment required at $0.01 USDC

## How this service works

Token drawdown from supplied peak — Weighted result mean: Weighted result mean for Token drawdown from supplied peak. 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

A single bounded weighted mean drawdown report calculated from the supplied peak/current price row observations and their corresponding weights. The result represents the weighted average percentage decline from peak across all supplied observations. No live market data is used — the calculation is deterministic and based solely on the caller-supplied inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "peak_price",
     "current_price"
    ],
    "properties": {
     "peak_price": {
      "type": "number",
      "default": 2,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "current_price": {
      "type": "number",
      "default": 1.5,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "peak_price": 2,
     "current_price": 1.5
    },
    {
     "peak_price": 2.2,
     "current_price": 1.6500000000000001
    },
    {
     "peak_price": 2,
     "current_price": 1.5
    },
    {
     "peak_price": 2.2,
     "current_price": 1.6500000000000001
    }
   ],
   "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-drawdown-from-supplied-peak-weighted-result-mean-9d5ce6e4/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)
