# claw402 Open Interest Rank API (CoinAnk)

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

Returns a ranked list of cryptocurrency open interest data, sortable by various metrics, via x402 USDC micropayment.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/rank/oi
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-open-interest-rank-api-coinank-96411408
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D_0uDyxs6EfuJCAz2fhDQ

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-rank-api-coinank-96411408
```

Example prompt: Show me the top 20 crypto assets ranked by open interest, sorted by OI descending — page 1.

## When to prefer this

Use this endpoint when you need ranked open interest data for crypto derivatives markets and want to pay per-call with USDC without API key registration. Ideal for agents with a crypto wallet needing ad-hoc OI leaderboard data.

## Known failure modes

- Empty data array if no results match or upstream CoinAnk data is unavailable
- Non-zero code in response indicating upstream error
- Payment failure if wallet balance is insufficient for $0.002 USDC fee
- Invalid sortBy or sortType values may return unordered or error results
- Invalid page/size values may return empty or unexpected results

## 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 with code 0 and a data array containing ranked open interest entries for cryptocurrencies, ordered by the specified sort field and direction. Supports pagination via page and size parameters.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "page": "1",
   "size": "10",
   "sortBy": "oi",
   "sortType": "desc"
  }
 }
}
```

## 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": {
      "page": {
       "type": "string"
      },
      "size": {
       "type": "string"
      },
      "sortBy": {
       "type": "string"
      },
      "sortType": {
       "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-rank-api-coinank-96411408/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)
