# Hyperliquid Market Breadth & Price Ranking

> Hyperliquid Market Breadth & Price Ranking is a paid API for AI agents from kr-x402-mvp.kgy5612.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Returns a ranked snapshot of Hyperliquid perpetuals including market breadth (advancers/decliners), top gainers/losers, highest funding rates, top volume, and open interest.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/api/v1/nofx/price/ranking?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-market-breadth-price-ranking-60fe31e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lqiB-w99pKua7l847glwk

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 hyperliquid-market-breadth-price-ranking-60fe31e9
```

Example prompt: Give me a market breadth snapshot for Hyperliquid perps — show me the top 15 gainers and filter to coins with at least $5 million in 24h volume.

## When to prefer this

Use this endpoint when you need a broad market-wide ranked view of Hyperliquid perpetuals — especially for screening top movers, funding rate opportunities, or market sentiment signals. Prefer this over single-coin price lookups when you want cross-market breadth or ranked comparisons. Ideal for agents running daily briefings, momentum strategies, or funding arbitrage screens. Does not require API keys — payment is micro-billed per call via x402 USDC on Base.

## Known failure modes

- Payment failure: x402 USDC payment on Base rejected or insufficient balance — endpoint returns 402 with payment details
- Invalid query params: limit outside 1–25 or min_volume_usd below 0 returns 400 validation error
- Upstream Hyperliquid API unavailable: stale or missing data returned with degraded freshness
- No coins pass the min_volume_usd filter: empty ranked lists returned with universe/liquid counts still populated
- Rate limiting or worker timeout on Cloudflare edge: 5xx response

## How this service works

Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.

## Output

Returns a JSON object with the venue name, total universe size, liquid coin count, breadth metrics (advancers, decliners, advance ratio, label like 'broad_rally'), and ranked lists for top gainers, top losers, top volume, highest funding APR, most negative funding, top open interest, and unusual activity — each coin entry includes mark price, 24h change %, 24h volume USD, funding APR %, open interest USD, max leverage, premium bps, and vol/OI ratio. Also includes data sources and timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 25,
       "minimum": 1,
       "description": "Rows per ranking (default 10)"
      },
      "min_volume_usd": {
       "type": "number",
       "minimum": 0,
       "description": "Liquidity filter on 24h notional volume (default 1000000)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "venue": "hyperliquid",
  "liquid": 140,
  "breadth": {
   "label": "broad_rally",
   "advancers": 96,
   "decliners": 44,
   "advance_ratio": 0.686
  },
  "sources": [
   "https://api.hyperliquid.xyz/info"
  ],
  "universe": 230,
  "top_losers": [],
  "top_volume": [],
  "updated_at": "2026-10-29T16:00:00Z",
  "top_gainers": [
   {
    "coin": "HYPE",
    "mark_px": 41.2,
    "premium_bps": -1.1,
    "max_leverage": 10,
    "vol_oi_ratio": 0.34,
    "change_24h_pct": 8.4,
    "volume_24h_usd": 410000000,
    "funding_apr_pct": 14.2,
    "open_interest_usd": 1200000000
   }
  ],
  "highest_funding": [],
  "unusual_activity": [],
  "top_open_interest": [],
  "most_negative_funding": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-market-breadth-price-ranking-60fe31e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kr-x402-mvp.kgy5612.workers.dev](https://www.zero.xyz/host/kr-x402-mvp.kgy5612.workers.dev/llms.txt)
