# claw402 Open Interest Rankings API

> claw402 Open Interest Rankings API is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns a ranked list of crypto perpetual futures by open interest (OI) from Binance, including net long/short positions and OI value in USD.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/nofx/oi-cap/ranking
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-open-interest-rankings-api-1315fc89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_znpURlnCNMKm85kmvuhFv

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 claw402-open-interest-rankings-api-1315fc89
```

Example prompt: What are the top 10 crypto perpetual futures ranked by open interest on Binance right now, including net long and short positions?

## When to prefer this

Use this endpoint when you need a real-time ranked snapshot of crypto perpetual futures by open interest from Binance, including net long/short breakdown. Prefer this over generic market data APIs when you specifically want OI-based rankings with directional positioning data, paid per-call with USDC via x402 with no registration required.

## Known failure modes

- Invalid or non-numeric limit parameter returns empty or error data
- Payment failure (insufficient USDC balance) results in 402 response and no data
- Binance data unavailable or stale may return empty rankings array
- Limit exceeding available symbols may return fewer results than requested

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

A JSON object containing a ranked list of crypto symbols with their open interest (in coin units), OI value in USD, price, net long, net short, and rank — sourced from Binance. The count and exchange name are also returned.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "limit": "10"
  }
 }
}
```

## 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"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/claw402-open-interest-rankings-api-1315fc89/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
