# Token Treasury Share Record Ranking

> Token Treasury Share Record Ranking 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).

Ranks a list of token observations by their treasury share (treasury_tokens / total_tokens) using a deterministic calculation.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-treasury-share-rank?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/token-treasury-share-record-ranking-25a6e6d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OBbPEAHhuZFe4cxSV6DtH

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-treasury-share-record-ranking-25a6e6d3 -d '<json body>'
```

Example prompt: Rank these four token observations by treasury share: token A has 200,000 treasury tokens out of 2,000,000 total, token B has 220,000 out of 2,200,000, token C has 500,000 out of 1,800,000, and token D has 100,000 out of 3,000,000.

## When to prefer this

Use this endpoint when you need a deterministic, ranked comparison of multiple token records by their treasury share ratio and do not need a live market feed, safety audit, or trade signal. Ideal for batch analysis of 2–200 token observations where the goal is relative ranking rather than absolute valuation. Not suitable for real-time monitoring or compliance verification.

## Known failure modes

- Fewer than 2 rows submitted — minimum 2 records required
- total_tokens set to 0 or missing — division by zero risk, excluded by exclusiveMinimum constraint
- treasury_tokens exceeds total_tokens — may produce ratio > 1, logically inconsistent input
- More than 200 rows submitted — exceeds maxItems limit
- Non-numeric values passed for treasury_tokens or total_tokens — schema validation failure

## How this service works

Reported token treasury share — Record ranking: Record ranking for Reported token treasury share. 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 record ranking report.

## Output

Returns a ranked list of the submitted token observations ordered by treasury share ratio (treasury_tokens / total_tokens), computed deterministically. Each record receives a rank position based on its calculated share. The result is a bounded report, not a live market scan or safety recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "treasury_tokens",
     "total_tokens"
    ],
    "properties": {
     "total_tokens": {
      "type": "number",
      "default": 2000000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "treasury_tokens": {
      "type": "number",
      "default": 200000,
      "maximum": 10000000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "total_tokens": 2000000,
     "treasury_tokens": 200000
    },
    {
     "total_tokens": 2200000,
     "treasury_tokens": 220000.00000000003
    },
    {
     "total_tokens": 2000000,
     "treasury_tokens": 200000
    },
    {
     "total_tokens": 2200000,
     "treasury_tokens": 220000.00000000003
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-treasury-share-record-ranking-25a6e6d3/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)
