# Token Drawdown from Supplied Peak — Single Calculation

> Token Drawdown from Supplied Peak — Single Calculation 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).

Calculates the percentage drawdown of a token's current price from a supplied peak price in a single deterministic computation.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-drawdown-calculate?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-single-calculation-d8c0d98d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5EkH6ECr3UUia5Hmi7MZu

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-single-calculation-d8c0d98d -d '<json body>'
```

Example prompt: Calculate the drawdown for a token that peaked at $2.00 and is currently trading at $1.50 — give me a single drawdown report.

## When to prefer this

Use this endpoint when you have two specific price points — a known peak and a current price — and need a fast, deterministic single drawdown figure without running a live market scan or building a historical series. It is ideal for spot-checking decline magnitude in an agent workflow where you supply your own observations rather than pulling live data.

## Known failure modes

- Missing or zero peak_price or current_price returns a validation error
- current_price exceeding peak_price may return an unexpected or zero drawdown result
- Non-numeric or out-of-range price values rejected by schema validation
- Payment failure (non-payment of 0.01 USDC) results in 402 response blocking the calculation

## How this service works

Token drawdown from supplied peak — Single calculation: Single calculation 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 single calculation report.

## Output

Returns a single bounded drawdown calculation report showing the percentage decline of the current price from the supplied peak price. May include a caller-threshold verdict indicating whether the drawdown crosses a defined level. Output is deterministic and based solely on the two supplied price observations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "peak_price": 2,
    "current_price": 1.5
   },
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-drawdown-from-supplied-peak-single-calculation-d8c0d98d/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)
