# LP Share Named Scenario Comparison

> LP Share Named Scenario 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 liquidity-pool ownership share percentages across multiple named scenarios against a baseline, returning deterministic results for each labeled scenario.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-lp-share-scenario?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/lp-share-named-scenario-comparison-68aff692
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CxoTQZAalIXNzIwRpoXzc

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 lp-share-named-scenario-comparison-68aff692 -d '<json body>'
```

Example prompt: Compare my LP share across two scenarios: baseline is 100 owned LP units out of 1000 total, scenario 'After buying 50 more' has 150 owned units, and scenario 'Supply doubles' keeps my 100 units but total goes to 2000 — show me the ownership percentage for each.

## When to prefer this

Choose this endpoint when you need a deterministic, side-effect-free comparison of LP ownership share across multiple explicitly named hypothetical scenarios (up to 20) against a baseline, and you already have the token unit figures on hand. Prefer it over live-scan or portfolio tools when you want pure arithmetic scenario modeling without any on-chain queries, safety assessments, or trade recommendations.

## Known failure modes

- total_lp_units of zero or below causes validation error (exclusiveMinimum enforced)
- scenarios array empty or missing returns error (minItems:1 enforced)
- owned_lp_units exceeding maximum (10^16) rejected
- scenario label exceeding 80 characters rejected
- overrides object with no properties fails (minProperties:1)
- payment not included or insufficient USDC results in 402 response

## How this service works

Reported liquidity-token ownership — Named scenario comparison: Named scenario comparison for Reported liquidity-token ownership. 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 named scenario comparison report.

## Output

A structured report containing the computed LP ownership share percentage for the baseline and each named scenario, allowing direct comparison of how different assumptions about owned or total LP units affect the caller's proportional stake in the liquidity pool. Results are deterministic and based solely on the supplied token observations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baseline": {
   "type": "object",
   "default": {
    "owned_lp_units": 100,
    "total_lp_units": 1000
   },
   "required": [
    "owned_lp_units",
    "total_lp_units"
   ],
   "properties": {
    "owned_lp_units": {
     "type": "number",
     "default": 100,
     "maximum": 10000000000000000,
     "minimum": 0
    },
    "total_lp_units": {
     "type": "number",
     "default": 1000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  },
  "scenarios": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "label",
     "overrides"
    ],
    "properties": {
     "label": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "overrides": {
      "type": "object",
      "properties": {
       "owned_lp_units": {
        "type": "number",
        "default": 100,
        "maximum": 10000000000000000,
        "minimum": 0
       },
       "total_lp_units": {
        "type": "number",
        "default": 1000,
        "maximum": 10000000000000000,
        "minimum": 0,
        "exclusiveMinimum": 0
       }
      },
      "minProperties": 1,
      "additionalProperties": false
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "label": "Supplied alternative",
     "overrides": {
      "owned_lp_units": 110.00000000000001
     }
    }
   ],
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lp-share-named-scenario-comparison-68aff692/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)
