CoinAnk-api
  1. Open Interest
CoinAnk-api
  • Error Code
    • errcode
      GET
  • WebHook
    • WebHook APP PUSH(Plan1)
      POST
  • Coin & Symbol
    • Supported Coins(Plan1)
      GET
    • Supported Trading Pairs(Plan1)
      GET
    • Last Price(Plan1)
      GET
    • Coin MarketCap(Plan1)
      GET
  • Open Interest
    • Exchange List(Plan1)
      GET
    • Exchange History Chart(Plan1)
      GET
    • Trading Pair Open Interest(Plan1)
      GET
    • Trading Pair Open Interest K Line(Plan1)
      GET
    • Aggregation Open Interest K Line(Plan1)
      GET
    • Real-Time Open Interest(Plan1)
      GET
  • Liquidation
    • Exchange Liquidation Statistics(Plan1)
      GET
    • Aggregation Liquidation Statistics(Plan1)
      GET
    • Trading Pair Liquidation Statistics(Plan1)
      GET
    • Liquidation order(Plan3)
      GET
    • Liquidation Map (Plan4)
      GET
    • Aggregation Liquidation Map (Plan4)
      GET
    • Liquidation Heatmap (Plan4)
      GET
    • Liquidation Heatmap Symbol (Plan1)
      GET
  • Market Order Statistics
    • Market Order Statistical Indicators (Plan3)
      GET
    • Aggregate Market Order Statistical Indicators (Plan3)
      GET
    • CVD Data (Plan3)
      GET
    • Taker Buy/Sell Count (Plan3)
      GET
    • Taker Buy/Sell Value (Plan3)
      GET
    • Taker Buy/Sell Volume (Plan3)
      GET
    • Aggregate CVD Data (Plan3)
      GET
    • Aggregate Taker Buy/Sell Count (Plan3)
      GET
    • Aggregate Taker Buy/Sell Value (Plan3)
      GET
    • Aggregate Taker Buy/Sell Volume (Plan3)
      GET
  • Fundflow
    • Real-time Funds Flow (Plan3)
    • Fund flow historical data (Plan3)
  • FundingRate
    • Historical Settlement Funding Rate (Plan1)
    • Real-time FundingRate (Plan1)
    • Accumulated FundingRate (Plan1)
    • Trading Pair Funding Rate History (Plan1)
    • Trading Pair Funding Rate Kline (Plan1)
    • Weighted FundingRate (Plan1)
    • FundingRate Heatmap (Plan3)
  • Longshort
    • Coin bue/sell (Plan1)
    • Exchange Real-time long-short ratio (Plan1)
    • Global Account Ratio(Plan1)
    • Top Trader Long/Short Ratio(Position) (Plan1)
    • Top Trader Long/Short Ratio (Accounts) (Plan1)
    • Long short ratio k line (Plan1)
  • Net Long & Net Short
    • Net long & Net short (Plan1)
  • OrderBook
    • Trading Pair Order Book Difference (Plan3)
    • Exchange Order Book Difference (Plan3)
    • OrderBook Heatmap (Plan4)
  • OrderFlow
    • OrderFlow List (Plan3)
  • RsiMap
    • RsiMap (Plan2)
  • BigOrder
    • Large Limit Order (Plan3)
    • Large Maker Order (Plan3)
  • Popular Ranking
    • Open Interest Ranking (Plan2)
    • Transactions Ranking (Plan2)
    • Liquidation Ranking(Plan2)
    • PriceChg Ranking(Plan2)
    • VolumeChg Ranking (Plan2)
    • Visual Screener(Plan 2)
  • KLine
    • Kline (Plan1)
  • Indicator Data
    • 2-Year MA Multiplier(Plan1)
    • Pi Cycle Top Indicator(Plan1)
    • Fear & Greed (Plan1)
    • BTC Ahr999 Index(Plan1)
    • BTC Market Cap(Plan1)
    • The Puell Multiple(Plan1)
    • 200 Week Moving Average Heatmap(Plan1)
    • Grayscale BTC Holdings(Plan1)
    • AltCoinSeation(Plan1)
    • Special Indicator Data(Plan1)
  • hyperLiquid Whale
    • Hyperliquid Whale Position(plan2)
    • Hyperliquid Whale Action(plan2)
  1. Open Interest

Exchange History Chart(Plan1)

GET
https://open-api.coinank.com/api/openInterest/v2/chart
This API retrieves historical open interest data for a cryptocurrency from exchanges

Request

Query Params
baseCoin
string 
required
Example:
BTC
exchange
string 
optional
Binance,OKX,Bybit,Gate,Huobi,Bitget,Bitmex,dYdX,Bitfinex,CME,Kraken,Deribit
interval
string 
required
Example:
1h
size
string 
optional
default 100 max 500
Example:
10
type
string 
optional
USD OR COIN name eg:BTC
Example:
USD
Header Params
apikey
string 
required
Register and activate to obtain apikey

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open-api.coinank.com/api/openInterest/v2/chart?baseCoin=BTC&exchange=&interval=1h&size=10&type=USD' \
--header 'apikey;'

Responses

🟢200OK
application/json
Body
success
boolean 
required
code
string 
required
data
object 
required
tss
array[integer]
required
time array
prices
array [oneOf] 
required
price array
dataValues
object 
required
array
Example
{"success":true,"code":"1","data":{"tss":[1725983155339,1725980400000,1725976800000,1725973200000,1725969600000,1725966000000,1725962400000,1725958800000,1725955200000,1725951600000,1725948000000],"prices":[56912.90,56706.00,57169.10,57190.10,57140.00,57054.90,57024.50,57183.20,56797.50,56910.80],"dataValues":{"Binance":[120064.604,119987.073,120637.148,119831.719,119756.309,119966.931,120298.030,120208.275,119984.354,119790.445,119769.907],"Bitfinex":[6553.24445106,6563.50838433,6564.30373245,6565.44079997,6564.57050874,6564.78958296,6563.30326223,6564.35177527,6562.49401847,6563.60862149,6563.62747918],"Bitget":[91176.017,91156.989,91694.265,91001.263,90716.941,90761.874,90114.833,90169.876,90580.466,90875.465,90786.742],"Bitmex":[5862.262528,5892.339614,5903.806408,5831.606786,5853.634247,5869.668110,5906.566160,5911.467407,5905.314446,5913.112091,5901.991381],"Bybit":[75497.183,75654.840,75663.685,75607.541,75791.950,75548.608,75462.941,75313.028,74976.065,74649.104,74391.153],"CME":[142718.6,142718.6,142308.5,142308.5,142308.5,142308.5,142308.5,142308.5,142308.5,142308.5,142308.5],"Deribit":[25497.8641,25517.147315,25625.450156,25406.305523,25370.527753,25355.198763,25387.177116,25422.254835,25336.893361,25368.869826,25339.073729],"Gate":[25963.9028,26036.881695,26267.314378,26586.410453,26484.299734,26507.897198,26418.056439,26438.646628,26280.266389,25812.400218,25842.611021],"Huobi":[23205.545781461908804960,23191.245891185079993258,23193.854247420235548849,23181.897913209968976608,23168.844541643857776501,23169.815173308109461906,23172.436555349594257031,23173.028205728029576526,23169.529430016366785187,23174.277004447769574278,23163.948073831260938543],"Kraken":[2479.6463,2463.674159000000000,2474.417779000000000,2471.998527000000000,2460.555688000000000,2469.771801000000000,2482.111262000000000,2509.844415000000000,2523.956590000000000,2479.971858000000000,2479.019931000000000],"Okex":[41228.8501630655819288,41385.8702473910729666,41833.4473324799160479,41795.0543607575663673,41769.5229904353691177,41815.7335825963092398,41828.3504235768125560,41739.8535028257935236,41925.6988627607139758,41930.2277623852142424,41917.0970729847356630],"dYdX":[829.4755,832.3095,843.9636,862.0358,866.5939,866.7901,868.0943,870.2486,870.8660,877.1698,881.3488]}}}
Previous
Exchange List(Plan1)
Next
Trading Pair Open Interest(Plan1)
Built with