# LP Share Stress Grid — Two-Input Scenario Analysis

> LP Share Stress Grid — Two-Input Scenario Analysis 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-13).

Computes a two-dimensional scenario grid of reported liquidity-token ownership share across user-defined ranges of owned and total LP units.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-lp-share-stress-grid?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lp-share-stress-grid-two-input-scenario-analysis-1bfd2b1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v0z8v1f8-3I42uwE1mkc1

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-stress-grid-two-input-scenario-analysis-1bfd2b1d -d '<json body>'
```

Example prompt: Run a two-input LP share scenario grid with a baseline of 100 owned LP units and 1000 total LP units, sweeping owned_lp_units across [80, 90, 100, 110, 120] and total_lp_units across [800, 1000, 1200] — I want to see how my ownership share changes across all those combinations.

## When to prefer this

Choose this endpoint when you need a deterministic, offline two-dimensional sensitivity analysis of LP ownership share without requiring live blockchain data. It is ideal for pre-trade modeling, dilution analysis, and threshold checking across a bounded grid of scenarios. Prefer alternatives if you need real-time on-chain LP data, more than two input dimensions, or more than 10 values per axis.

## Known failure modes

- total_lp_units of 0 rejected (exclusiveMinimum enforced)
- values_x or values_y arrays exceeding 10 items rejected
- numeric values outside ±10^16 range rejected
- missing required baseline fields returns validation error
- field_x and field_y set to the same variable may produce degenerate grid
- payment failure or insufficient USDC balance blocks the request

## How this service works

Reported liquidity-token ownership — Two-input scenario grid: Two-input scenario grid 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 two-input scenario grid report.

## Output

Returns a two-dimensional grid of computed liquidity-token ownership share values (owned_lp_units / total_lp_units) for every combination of the supplied x-axis and y-axis values, plus optional caller-threshold verdicts. The calculation is deterministic, based solely on the supplied token observations — not live on-chain data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "field_x": {
   "enum": [
    "owned_lp_units",
    "total_lp_units"
   ],
   "type": "string",
   "default": "owned_lp_units"
  },
  "field_y": {
   "enum": [
    "owned_lp_units",
    "total_lp_units"
   ],
   "type": "string",
   "default": "total_lp_units"
  },
  "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
  },
  "values_x": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    100,
    110.00000000000001
   ],
   "maxItems": 10,
   "minItems": 1
  },
  "values_y": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    1000,
    1100
   ],
   "maxItems": 10,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lp-share-stress-grid-two-input-scenario-analysis-1bfd2b1d/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)
