# LP-Token Lock Fraction Distribution Histogram

> LP-Token Lock Fraction Distribution Histogram 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 a distribution histogram of locked LP-token fractions across a batch of token observations, bucketed into configurable bins.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-lp-lock-share-histogram?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-token-lock-fraction-distribution-histogram-13198314
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ECqbupJywCbt3UTllDtj3

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-token-lock-fraction-distribution-histogram-13198314 -d '<json body>'
```

Example prompt: I have 8 LP token pools — their locked_lp values are 800, 880, 600, 950, 300, 1100, 750, 400 and total_lp values are 1000, 1100, 1000, 1000, 1000, 1200, 1000, 800 — can you compute a distribution histogram of the locked LP fractions using 6 bins?

## When to prefer this

Use this endpoint when you need a quick, deterministic frequency distribution of LP lock fractions across a batch of up to 200 token observations, without needing a live on-chain scan. Ideal for offline analytics, pre-listing audits, or risk dashboards where raw locked_lp and total_lp figures are already known.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 observations required
- locked_lp exceeds total_lp for a row — may produce fractions above 1.0
- total_lp set to 0 — excluded due to exclusiveMinimum constraint
- bins set outside 1–30 range — rejected by schema validation
- More than 200 rows submitted — exceeds maxItems limit
- Payment of 0.01 USDC not included — x402 payment required before response

## How this service works

Reported locked LP-token fraction — Distribution histogram: Distribution histogram for Reported locked LP-token fraction. 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 distribution histogram report.

## Output

Returns a distribution histogram report showing how locked LP-token fractions (locked_lp / total_lp) are spread across the requested number of bins, including bin boundaries and observation counts per bucket, computed deterministically from the supplied rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "locked_lp",
     "total_lp"
    ],
    "properties": {
     "total_lp": {
      "type": "number",
      "default": 1000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "locked_lp": {
      "type": "number",
      "default": 800,
      "maximum": 10000000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "total_lp": 1000,
     "locked_lp": 800
    },
    {
     "total_lp": 1100,
     "locked_lp": 880.0000000000001
    },
    {
     "total_lp": 1000,
     "locked_lp": 800
    },
    {
     "total_lp": 1100,
     "locked_lp": 880.0000000000001
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lp-token-lock-fraction-distribution-histogram-13198314/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)
