# Liquidity Token Ownership Share — Single Calculation

> Liquidity Token Ownership Share — Single Calculation 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 a wallet's proportional ownership share of a liquidity pool given its LP token holdings versus total LP token supply.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-lp-share-calculate?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/liquidity-token-ownership-share-single-calculation-7890ec67
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iAY_Fwn1LOVt0nvdmOmU2

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 liquidity-token-ownership-share-single-calculation-7890ec67 -d '<json body>'
```

Example prompt: Calculate the liquidity pool ownership share for someone holding 100 LP tokens out of a total supply of 1000 LP tokens — I just need the ownership percentage.

## When to prefer this

Use this endpoint when you need a quick, deterministic calculation of LP token ownership share from two numeric inputs (owned units and total units) without needing live blockchain data, price feeds, or safety analysis. Ideal for reporting, auditing, or agent workflows that already have LP token counts and need to derive the proportional share in a single, cheap ($0.01 USDC) API call.

## Known failure modes

- total_lp_units is zero or missing (violates exclusiveMinimum constraint, returns validation error)
- owned_lp_units exceeds total_lp_units (logically inconsistent input, may return error or unexpected ratio)
- Values exceed the maximum bound of 1e16 (out-of-range rejection)
- Missing required fields in the values object (schema validation failure)
- Payment not completed via x402 protocol (402 response, calculation not performed)

## How this service works

Reported liquidity-token ownership — Single calculation: Single calculation 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 single calculation report.

## Output

A deterministic numeric report of the caller's proportional LP token ownership share (owned_lp_units divided by total_lp_units), expressed as a ratio or percentage. The result reflects a single bounded calculation based on supplied token observations only — not a live on-chain scan or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/liquidity-token-ownership-share-single-calculation-7890ec67/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)
