# CoinAnk Aggregated Open Interest Kline (OHLC) via claw402

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

Returns aggregated open interest candlestick (kline/OHLC) data for a given crypto base coin, interval, and time range across exchanges.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/oi/agg-kline
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinank-aggregated-open-interest-kline-ohlc-via-claw402-a0705ac6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sF0Bm3WeZeIs3BMF3-kGq

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-kline-ohlc-via-claw402-a0705ac6
```

Example prompt: Can you pull the aggregated open interest kline data for BTC at a 1-hour interval, showing the last 50 candles ending now?

## When to prefer this

Choose this endpoint when you need aggregated (cross-exchange) open interest in candlestick/OHLC format for a specific cryptocurrency. Ideal for charting OI trends, identifying OI spikes, or doing technical analysis on derivatives market positioning. Prefer over single-exchange OI feeds when you want a holistic market view. Pay-per-call with USDC via x402 — no API key needed.

## Known failure modes

- Missing required query parameters (baseCoin, interval) returns an error or empty data array
- Invalid interval or baseCoin symbol returns empty data or error code
- Payment failure via x402 returns HTTP 402 and no data
- Requesting too large a size or unsupported time range may return empty results
- Endpoint unavailable or upstream CoinAnk data outage returns error code

## How this service works

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

## Output

Returns a JSON object with a status code and a data array containing aggregated open interest candlestick (kline) records for the specified base coin, interval, size, and end time — covering all major exchanges combined.

## 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"
      },
      "endTime": {
       "type": "string"
      },
      "baseCoin": {
       "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-kline-ohlc-via-claw402-a0705ac6/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)
