# CoinAnk Aggregated Open Interest Chart Data

> CoinAnk Aggregated Open Interest Chart Data 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).

Fetches aggregated open interest chart data across crypto exchanges for a specified base coin, interval, and time range.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/oi/agg-chart
- 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-aggregated-open-interest-chart-data-e3331ca6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fb7uknVD0rlM-9xFxXxpl

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-aggregated-open-interest-chart-data-e3331ca6
```

Example prompt: Can you pull the aggregated open interest chart data for BTC from CoinAnk, using a 1-hour interval, ending now, for the last 100 data points across all exchanges?

## When to prefer this

Use this endpoint when you need aggregated open interest chart data for a specific cryptocurrency across one or more exchanges, especially when you want time-series OI data without setting up API keys or accounts — pay-per-call with USDC via x402.

## Known failure modes

- Invalid baseCoin returns empty data array
- Unsupported interval value returns error code
- Missing required method or type fields returns 4xx error
- Payment not included results in 402 Payment Required response
- Invalid endTime format causes query failure or empty result
- Exchange not found returns empty dataset

## 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 response containing a code field (0 for success) and a data array with aggregated open interest chart data points for the specified coin, exchange, interval, and time range.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "size": "100",
   "type": "openInterest",
   "baseCoin": "BTC",
   "exchange": "binance",
   "interval": "1h"
  }
 }
}
```

## 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": {
      "size": {
       "type": "string"
      },
      "type": {
       "type": "string"
      },
      "endTime": {
       "type": "string"
      },
      "baseCoin": {
       "type": "string"
      },
      "exchange": {
       "type": "string"
      },
      "interval": {
       "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-aggregated-open-interest-chart-data-e3331ca6/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)
