# Token Trade Depth Rank

> Token Trade Depth Rank 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-29).

Ranks multiple token trade observations by their trade size relative to quoted liquidity (trade/liquidity ratio), returning a deterministic record ranking report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-trade-depth-rank?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-trade-depth-rank-d52012c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gisY7oZb4JOrjsQlKZPQI

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-trade-depth-rank-d52012c1 -d '<json body>'
```

Example prompt: Rank these token trade observations by their trade size relative to liquidity: trade 1 is $1,000 USD against $100,000 liquidity, trade 2 is $5,000 USD against $80,000 liquidity, and trade 3 is $2,000 USD against $150,000 liquidity — give me the record ranking from highest to lowest depth impact.

## When to prefer this

Use this endpoint when you need a deterministic, reproducible ranking of multiple token trade records by their trade size relative to quoted liquidity, and you already have the trade and liquidity USD values on hand. It is purpose-built for this specific ratio-based ranking computation rather than general market data lookup or live scanning. Prefer this over manual sorting when you have 2–200 observations and need a structured rank report output at minimal cost ($0.01 per call).

## Known failure modes

- Fewer than 2 rows supplied — minimum of 2 observations required
- More than 200 rows supplied — exceeds maxItems limit
- trade_usd or liquidity_usd is zero or negative — exclusiveMinimum:0 enforced
- Missing required fields trade_usd or liquidity_usd in any row
- Malformed JSON body — returns 400 error
- Payment failure or insufficient USDC balance — x402 payment required at $0.01 per call

## How this service works

Token trade relative to quoted liquidity — Record ranking: Record ranking for Token trade relative to quoted liquidity. 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

A deterministic record ranking report listing the supplied token trade observations ordered by their trade_usd/liquidity_usd ratio, with rank positions assigned to each row. The output reflects a bounded calculation based solely on the provided input rows — it is not a live market scan, safety assessment, or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "trade_usd",
     "liquidity_usd"
    ],
    "properties": {
     "trade_usd": {
      "type": "number",
      "default": 1000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "liquidity_usd": {
      "type": "number",
      "default": 100000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "trade_usd": 1000,
     "liquidity_usd": 100000
    },
    {
     "trade_usd": 1100,
     "liquidity_usd": 110000.00000000001
    },
    {
     "trade_usd": 1000,
     "liquidity_usd": 100000
    },
    {
     "trade_usd": 1100,
     "liquidity_usd": 110000.00000000001
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-trade-depth-rank-d52012c1/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)
