# Hyperliquid Market Gainers & Breadth Scanner

> Hyperliquid Market Gainers & Breadth Scanner 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 top 24h gainers, funding rates, open interest, and advance/decline breadth across the Hyperliquid perpetuals universe

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/crypto/gainers?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-gainers-breadth-scanner-4701de17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e7CXuCqYWoStkrF93KZNJ

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-gainers-breadth-scanner-4701de17
```

Example prompt: Show me the top 15 gainers on Hyperliquid right now, filtering to coins with at least $5 million in 24-hour volume, and include their funding rates and open interest.

## When to prefer this

Use this endpoint when an AI trading agent needs a real-time ranked view of the best-performing Hyperliquid perpetuals, especially for momentum strategies, market breadth assessment, or funding-rate-aware position selection. Prefer over generic price APIs when you need Hyperliquid-specific data like funding APR, premium bps, and vol/OI ratio together in one call. No API key required — pay $0.002 USDC per call via x402 on Base.

## Known failure modes

- Payment failure if USDC balance on Base is insufficient (x402 payment required)
- limit parameter out of range 1-25 returns validation error
- min_volume_usd below 0 returns validation error
- Hyperliquid upstream API unavailable causes stale or empty data
- Empty top_gainers array if all coins fail the volume filter

## 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: ranked list of top gaining perpetuals (coin, mark price, 24h change %, volume, open interest, funding APR, premium bps, max leverage, vol/OI ratio), market breadth stats (advancers, decliners, advance ratio, breadth label), total universe size, number of liquid markets, and timestamp. Also includes placeholder arrays for losers, highest/most-negative funding, unusual activity, and top open interest.

## 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-gainers-breadth-scanner-4701de17/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)
