# CoinAnk Open Interest All Exchanges

> CoinAnk Open Interest All Exchanges 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).

Retrieves aggregated open interest data across all exchanges for a given cryptocurrency, including per-exchange breakdown with rate and change metrics over multiple timeframes.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/oi/all
- 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/coinank-open-interest-all-exchanges-82ea91e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ngjgvI4xyMxxrWvULwfZC

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 coinank-open-interest-all-exchanges-82ea91e1
```

Example prompt: Show me the current open interest for BTC across all exchanges, including the per-exchange breakdown and how much it's changed over the last hour and 24 hours.

## When to prefer this

Use this endpoint when you need a comprehensive, multi-exchange open interest snapshot for a single cryptocurrency at once, including granular change metrics across many timeframes. Prefer this over single-exchange OI endpoints when the goal is cross-exchange comparison or total market OI analysis.

## Known failure modes

- Invalid or unsupported baseCoin ticker returns empty data array with code 0
- Missing baseCoin parameter may return aggregate-only data or empty response
- Payment failure (402) if USDC wallet balance is insufficient
- Network timeout if CoinAnk upstream is unavailable
- Rate limiting if requests are made too frequently

## 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. The first element is an aggregated 'ALL' exchanges record containing total coin count, total USD value, 24h turnover, and open interest rate changes over 5m, 15m, 30m, 1h, 4h, 6h, 8h, 12h, 24h, 2d, 3d, and 7d timeframes. Subsequent elements are per-exchange records with the same fields plus the exchange name and its share (rate) of total open interest.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "baseCoin": "BTC"
  }
 }
}
```

## 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": {
      "baseCoin": {
       "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/coinank-open-interest-all-exchanges-82ea91e1/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)
