# Token Drawdown Before-and-After Comparison

> Token Drawdown Before-and-After Comparison 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 and compares token drawdown percentages from supplied peak prices across two time snapshots (before and after), returning a side-by-side report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-drawdown-compare?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-before-and-after-comparison-76853d4e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TMONS_GPXfKOBR2878ASW

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-before-and-after-comparison-76853d4e -d '<json body>'
```

Example prompt: Compare the token drawdown before and after a price move: before, the peak was $2.00 and current was $1.50; after, the peak was $2.20 and the current price dropped to $1.65 — give me the side-by-side drawdown comparison report.

## When to prefer this

Choose this endpoint when you already have two sets of peak-and-current price observations (a 'before' snapshot and an 'after' snapshot) and need a deterministic, side-by-side drawdown comparison computed instantly without live market data. Prefer it over single-snapshot drawdown calculators when you need to measure change in drawdown over time. It is not a live scanner or trade recommendation engine — use it only for caller-supplied historical or observed price pairs.

## Known failure modes

- Missing required peak_price or current_price in either 'before' or 'after' objects returns a validation error
- current_price equal to or above peak_price may yield zero or unexpected drawdown values
- Non-positive price values (zero or negative) are rejected by the schema's exclusiveMinimum constraint
- Extremely large price values near the schema maximum may cause precision issues
- Payment failure via x402 protocol results in request rejection before computation

## How this service works

Token drawdown from supplied peak — Before and after comparison: Before and after comparison 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 before and after comparison report.

## Output

Returns a structured before-and-after comparison report containing the drawdown percentage for each snapshot (before: peak vs current price; after: peak vs current price), the delta between the two drawdown values, and a deterministic verdict on whether drawdown improved or worsened — all computed from caller-supplied price observations with no live market data fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "peak_price": 2.2,
    "current_price": 1.6500000000000001
   },
   "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
  },
  "before": {
   "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-before-and-after-comparison-76853d4e/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)
