# claw402 Open Interest Kline (OI Kline) via vergex.trade

> claw402 Open Interest Kline (OI Kline) via vergex.trade 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 historical open interest kline (candlestick) data for a specified crypto symbol, exchange, and time interval via the CoinAnk data source.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/coinank/oi/kline
- 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-kline-oi-kline-via-vergex-trade-3ff64fe7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N41iRtLkNLn1434VvtGmQ

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-kline-oi-kline-via-vergex-trade-3ff64fe7
```

Example prompt: Can you pull the hourly open interest kline data for BTCUSDT on Binance for the last 50 candles ending now? I want to see how OI has been trending.

## When to prefer this

Use this endpoint when you need historical open interest kline/candlestick data for crypto futures markets, especially when you want to analyze OI trends across specific exchanges and intervals without setting up API keys. Ideal for agents doing derivatives market analysis with USDC micropayments via x402.

## Known failure modes

- Invalid or unsupported symbol returns empty data array
- Unsupported exchange name returns empty or error response
- Invalid interval string causes bad request or empty result
- Missing required query parameters may return an error or empty dataset
- Upstream CoinAnk data unavailable causes downstream failure
- Payment not fulfilled results in HTTP 402 before data is returned

## 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 an array of open interest kline (candlestick) data points for the requested symbol, exchange, and interval. Each data point represents OI values over the specified time period.

## 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"
      },
      "symbol": {
       "type": "string"
      },
      "endTime": {
       "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/claw402-open-interest-kline-oi-kline-via-vergex-trade-3ff64fe7/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)
