# OKX Perpetual Swaps Volume Ranker

> OKX Perpetual Swaps Volume Ranker is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-14).

Returns a ranked list of perpetual swap markets on OKX sorted by 24-hour USD trading volume, surfacing the most active derivatives contracts in real time.

## Facts

- Endpoint: GET https://api.x402node.dev/market/perp-volume
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/okx-perpetual-swaps-volume-ranker-26d2f216
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aHT8bSUIAuB2cSe3ec6D5

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 okx-perpetual-swaps-volume-ranker-26d2f216
```

Example prompt: Which perpetual swap markets on OKX have the highest 24-hour trading volume right now — show me the ranked list so I can see where derivatives liquidity is concentrated.

## When to prefer this

Use this endpoint when you need a real-time, pre-ranked leaderboard of the most actively traded perpetual swaps on OKX by 24h volume — something an LLM cannot synthesize on its own. Prefer it over general market data APIs when you specifically need derivatives volume concentration and liquidity signals across OKX perp markets in a single call.

## Known failure modes

- OKX market data temporarily unavailable — returns 5xx error
- No perpetual swap data available for the current window — empty result set
- Payment not confirmed — 402 payment required error
- Rate limit exceeded — 429 response

## How this service works

Ranks perpetual swaps by 24h USD volume across the OKX market in a single call, surfacing where derivatives liquidity and trader attention are concentrated right now. Live aggregated screener an LLM cannot produce. perp volume leaders, most active perpetuals, derivatives liquidity, hottest perps Accepts payment on Base or Solana — either network works.

## Output

An ordered list of OKX perpetual swap instruments ranked by 24-hour USD trading volume, including symbol identifiers and volume figures, showing where trader attention and derivatives liquidity are currently concentrated.

## 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": "string",
       "description": "how many to return, default 20"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/okx-perpetual-swaps-volume-ranker-26d2f216/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
