# Token Liquidity Relative Change — Distribution Histogram

> Token Liquidity Relative Change — 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 relative liquidity changes across a batch of token observations, bucketed into a configurable number of bins.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-liquidity-change-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/token-liquidity-relative-change-distribution-histogram-dae30670
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xnTlaPdnkUuvADaw31Xk4

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 token-liquidity-relative-change-distribution-histogram-dae30670 -d '<json body>'
```

Example prompt: Can you build a distribution histogram for these token liquidity observations — group the relative changes into 10 bins and tell me how the changes are distributed across the dataset?

## When to prefer this

Choose this endpoint when you need to understand the statistical distribution of liquidity changes across a batch of token observations — specifically when you want to see how relative changes cluster across configurable bins. Prefer this over single-value or ranking endpoints when the goal is to understand spread, skew, or concentration of liquidity shifts rather than individual token values.

## Known failure modes

- fewer than 2 row observations provided — minimum rows not met
- current_liquidity or previous_liquidity is zero or negative — exclusiveMinimum violation
- bins value exceeds 30 or is less than 1 — out of range
- rows array exceeds 200 items — maxItems exceeded
- missing required fields current_liquidity or previous_liquidity in any row — schema validation failure
- payment not settled — x402 payment required before response

## How this service works

Token liquidity relative change — Distribution histogram: Distribution histogram for Token liquidity relative change. 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

A bounded distribution histogram report showing how relative liquidity changes (computed from current vs previous liquidity pairs) are distributed across the specified number of bins. Each bin represents a range of relative change values and its associated frequency count from the supplied observations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "current_liquidity",
     "previous_liquidity"
    ],
    "properties": {
     "current_liquidity": {
      "type": "number",
      "default": 120000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "previous_liquidity": {
      "type": "number",
      "default": 100000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "current_liquidity": 120000,
     "previous_liquidity": 100000
    },
    {
     "current_liquidity": 132000,
     "previous_liquidity": 110000.00000000001
    },
    {
     "current_liquidity": 120000,
     "previous_liquidity": 100000
    },
    {
     "current_liquidity": 132000,
     "previous_liquidity": 110000.00000000001
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-liquidity-relative-change-distribution-histogram-dae30670/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)
