# Token Drawdown Target Gap Calculator

> Token Drawdown Target Gap 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-16).

Calculates the target gap for token drawdown from a supplied peak price, given current and peak token prices.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-drawdown-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-drawdown-target-gap-calculator-504a97d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wWAc_G2QH6ai1tNyj6hdc

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-target-gap-calculator-504a97d6 -d '<json body>'
```

Example prompt: Can you calculate the target gap for a token drawdown where the peak price was $2.00 and the current price is $1.50, with a target of 100?

## When to prefer this

Use this endpoint when you need a fast, deterministic calculation of the drawdown gap between a token's peak and current price relative to a specific numeric target. Best suited for single-observation, caller-supplied data scenarios where you want a bounded verdict without live market data or trading signals. Prefer this over manual calculation when integrating drawdown checks into automated agent workflows at low per-call cost.

## Known failure modes

- peak_price or current_price set to zero or negative — rejected by schema (exclusiveMinimum: 0)
- target value exceeds allowed range (±1e18) — validation error
- Missing required values (peak_price or current_price) — request rejected
- Non-numeric inputs for price fields — schema validation failure
- Payment not fulfilled — x402 payment required error

## How this service works

Token drawdown from supplied peak — Target gap calculation: Target gap 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 target gap calculation report.

## Output

Returns a bounded target gap calculation report showing the computed drawdown gap between the supplied peak and current token prices relative to the specified target, along with a caller-threshold verdict. Output is deterministic based on supplied values only — not a live market scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "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-target-gap-calculator-504a97d6/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)
