# Full-range LP Divergence Loss Magnitude — Before and After Comparison

> Full-range LP Divergence Loss Magnitude — 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-16).

Computes and compares the full-range LP (liquidity provider) divergence loss magnitude between two price scenarios (before and after), returning a deterministic report based on supplied token price observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-lp-divergence-compare?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/full-range-lp-divergence-loss-magnitude-before-and-after-comparison-294d1142
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SHjkX5jE1VedS8nGqxjOu

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 full-range-lp-divergence-loss-magnitude-before-and-after-comparison-294d1142 -d '<json body>'
```

Example prompt: Compare the full-range LP divergence loss magnitude for my liquidity position — before the move it had an initial price of 1 and current price of 2, and after the move the initial price was 1.1 and current price was 2.2.

## When to prefer this

Choose this endpoint when you need a deterministic, side-by-side LP divergence loss magnitude comparison for two specific price states (before and after) using full-range liquidity math, and you already have your own token price observations. Prefer it over single-calculation variants when you specifically need a delta or change analysis between two scenarios in one call, and over live-scan services when you want a reproducible, caller-supplied computation rather than a real-time market lookup.

## Known failure modes

- Missing required price fields (current_price or initial_price) in either 'before' or 'after' objects returns a validation error
- Supplying zero or negative prices (minimum is exclusive of 0) causes rejection
- Prices exceeding the maximum bound (1e16) are rejected
- Payment failure or insufficient USDC balance prevents the call from completing
- Malformed JSON body results in a 4xx error

## How this service works

Full-range LP divergence loss magnitude — Before and after comparison: Before and after comparison for Full-range LP divergence loss magnitude. 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

A bounded before-and-after comparison report containing the full-range LP divergence loss magnitude computed from the supplied initial and current price pairs for both the 'before' and 'after' scenarios. The result is deterministic and based solely on the provided token price observations — no live market scan or trade recommendation is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "current_price": 2.2,
    "initial_price": 1.1
   },
   "required": [
    "current_price",
    "initial_price"
   ],
   "properties": {
    "current_price": {
     "type": "number",
     "default": 2,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "initial_price": {
     "type": "number",
     "default": 1,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "current_price": 2,
    "initial_price": 1
   },
   "required": [
    "current_price",
    "initial_price"
   ],
   "properties": {
    "current_price": {
     "type": "number",
     "default": 2,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "initial_price": {
     "type": "number",
     "default": 1,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/full-range-lp-divergence-loss-magnitude-before-and-after-comparison-294d1142/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)
