# Token Holder-Address Density Weighted Mean Calculator

> Token Holder-Address Density Weighted Mean Calculator 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-15).

Computes a weighted mean of token holder-address density (holders per million USD market cap) across multiple token observations supplied by the caller.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-holders-per-million-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-holder-address-density-weighted-mean-calculator-e919de94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wUdP6jBeGslgi_HItTxE1

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-holder-address-density-weighted-mean-calculator-e919de94 -d '<json body>'
```

Example prompt: Can you compute the weighted mean holder-address density for these token snapshots: [{holders: 1000, market_cap_usd: 2000000}, {holders: 1100, market_cap_usd: 2200000}] with weights [1, 2]?

## When to prefer this

Choose this endpoint when you need a single aggregated weighted statistical summary of token holder-address density across multiple observations, and you already have the holder count and market cap data locally. It is a deterministic computation on caller-supplied data, not a live blockchain query — prefer it for backtesting, portfolio analytics, or report generation where you control the input observations and want to weight them by recency or confidence.

## Known failure modes

- Fewer than 2 rows supplied — validation error
- Weights array length does not match rows array length — schema mismatch error
- Zero or negative holder count or market cap — excluded by exclusiveMinimum constraint
- More than 200 rows supplied — exceeds maxItems limit
- Non-numeric values in holders or market_cap_usd fields — type validation failure
- Payment not processed — x402 payment required error

## How this service works

Token holder-address density — Weighted result mean: Weighted result mean for Token holder-address density. 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 weighted result mean report.

## Output

Returns a single weighted mean value representing the average number of token holder addresses per million USD of market cap, computed from the caller-supplied observation rows and weights. The result is a deterministic statistical calculation, not a live scan or safety recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "holders",
     "market_cap_usd"
    ],
    "properties": {
     "holders": {
      "type": "number",
      "default": 1000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "market_cap_usd": {
      "type": "number",
      "default": 2000000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "holders": 1000,
     "market_cap_usd": 2000000
    },
    {
     "holders": 1100,
     "market_cap_usd": 2200000
    },
    {
     "holders": 1000,
     "market_cap_usd": 2000000
    },
    {
     "holders": 1100,
     "market_cap_usd": 2200000
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-holder-address-density-weighted-mean-calculator-e919de94/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)
