- Error Code
- WebHook
- Coin & Symbol
- Open Interest
- Liquidation
- 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
- FundingRate
- Longshort
- Net Long & Net Short
- OrderBook
- OrderFlow
- RsiMap
- BigOrder
- Popular Ranking
- KLine
- Indicator Data
- hyperLiquid Whale
Exchange History Chart(Plan1)
GET
https://open-api.coinank.com/api/openInterest/v2/chart
Request
Query Params
baseCoin
string
required
Example:
BTC
exchange
string
optional
interval
string
required
Example:
1h
size
string
optional
Example:
10
type
string
optional
Example:
USD
Header Params
apikey
string
required
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
prices
array [oneOf]
required
dataValues
object
required
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]}}}