- Error Code
- WebHook
- Coin & Symbol
- Open Interest
- Liquidation
- Market Order Statistics
- Market Order Statistical Indicators (Plan3)
- Aggregate Market Order Statistical Indicators (Plan3)
- CVD Data (Plan3)
- Taker Buy/Sell Count (Plan3)
- Taker Buy/Sell Value (Plan3)
- Taker Buy/Sell Volume (Plan3)
- Aggregate CVD Data (Plan3)
- Aggregate Taker Buy/Sell Count (Plan3)
- Aggregate Taker Buy/Sell Value (Plan3)
- Aggregate Taker Buy/Sell Volume (Plan3)
- Fundflow
- FundingRate
- Longshort
- Net Long & Net Short
- OrderBook
- OrderFlow
- RsiMap
- BigOrder
- Popular Ranking
- KLine
- Indicator Data
- hyperLiquid Whale
Historical Settlement Funding Rate (Plan1)
GET
https://open-api.coinank.com/api/fundingRate/hist
Request
Query Params
baseCoin
string
optional
Example:
BTC
exchangeType
string
optional
Example:
USDT
endTime
string
optional
Example:
1725972522356
size
string
optional
Example:
20
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/fundingRate/hist?baseCoin=BTC&exchangeType=USDT&endTime=1725972522356&size=20' \
--header 'apikey;'
Responses
🟢200OK
application/json
Body
success
boolean
required
code
string
required
data
array [object {2}]
required
ts
integer
required
details
object
required
ext
object
required
columns
array[string]
required
Example
{"success":true,"code":"1","data":[{"ts":1725955200000,"details":{"Huobi":{"fundingRate":-0.000020011867096626,"realizedRate":-0.000020011867096626},"Bitget":{"fundingRate":-0.000035},"Binance":{"fundingRate":-0.00002930},"dYdX":{"fundingRate":-0.0000089119},"Okex":{"fundingRate":0.0000489371426509,"realizedRate":0.0000489371426509},"Gate":{"fundingRate":-0.000028},"Bybit":{"fundingRate":0.00001276}}},{"ts":1725926400000,"details":{"Huobi":{"fundingRate":-0.000108658781197818,"realizedRate":-0.000108658781197818},"Bitget":{"fundingRate":-0.000081},"Binance":{"fundingRate":-0.00006028},"dYdX":{"fundingRate":-0.0000047719},"Okex":{"fundingRate":-0.0000187673667331,"realizedRate":-0.0000187673667331},"Gate":{"fundingRate":-0.000214},"Bybit":{"fundingRate":0.0001}}},{"ts":1725897600000,"details":{"Huobi":{"fundingRate":-0.000122824395312430,"realizedRate":-0.000122824395312430},"Bitget":{"fundingRate":-0.000042},"Binance":{"fundingRate":-0.00003875},"dYdX":{"fundingRate":-0.0000070260},"Okex":{"fundingRate":-0.0000510268687967,"realizedRate":-0.0000510268687967},"Gate":{"fundingRate":-0.000185},"Bybit":{"fundingRate":-0.0000354}}},{"ts":1725868800000,"details":{"Huobi":{"fundingRate":-0.000021864540694889,"realizedRate":-0.000021864540694889},"Bitget":{"fundingRate":-0.000085},"Binance":{"fundingRate":-0.00007108},"dYdX":{"fundingRate":-0.0000039716},"Okex":{"fundingRate":-0.0000365987156893,"realizedRate":-0.0000365987156893},"Gate":{"fundingRate":-0.000125},"Bybit":{"fundingRate":0.00009123}}},{"ts":1725840000000,"details":{"Huobi":{"fundingRate":-0.000051889947958540,"realizedRate":-0.000051889947958540},"Bitget":{"fundingRate":-0.000097},"Binance":{"fundingRate":-0.00007585},"dYdX":{"fundingRate":-0.0000034578},"Okex":{"fundingRate":-0.0000125359285241,"realizedRate":-0.0000125359285241},"Gate":{"fundingRate":-0.000071},"Bybit":{"fundingRate":0.00009883}}},{"ts":1725811200000,"details":{"Huobi":{"fundingRate":0.000060565659231311,"realizedRate":0.000060565659231311},"Bitget":{"fundingRate":-0.000066},"Binance":{"fundingRate":-0.00005245},"dYdX":{"fundingRate":-0.0000167165},"Okex":{"fundingRate":0.00001432521242,"realizedRate":0.00001432521242},"Gate":{"fundingRate":-0.000075},"Bybit":{"fundingRate":0.00003261}}},{"ts":1725782400000,"details":{"Huobi":{"fundingRate":-0.000005454672466033,"realizedRate":-0.000005454672466033},"Bitget":{"fundingRate":-0.000073},"Binance":{"fundingRate":-0.00005999},"dYdX":{"fundingRate":-0.0000262652},"Okex":{"fundingRate":-0.0000025140654562,"realizedRate":-0.0000025140654562},"Gate":{"fundingRate":0.000004},"Bybit":{"fundingRate":0.00001751}}},{"ts":1725753600000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":0.000047},"Binance":{"fundingRate":0.00003745},"dYdX":{"fundingRate":-0.0000224898},"Okex":{"fundingRate":0.0000271600206979,"realizedRate":0.0000271600206979},"Gate":{"fundingRate":-0.000041},"Bybit":{"fundingRate":0.0000468}}},{"ts":1725724800000,"details":{"Huobi":{"fundingRate":0.000002319397778285,"realizedRate":0.000002319397778285},"Bitget":{"fundingRate":-0.000079},"Binance":{"fundingRate":-0.00007236},"dYdX":{"fundingRate":-0.0000166465},"Okex":{"fundingRate":-0.0000783557296885,"realizedRate":-0.0000783557296885},"Gate":{"fundingRate":-0.000131},"Bybit":{"fundingRate":0.00003364}}},{"ts":1725696000000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":-0.00009},"Binance":{"fundingRate":-0.00007634},"dYdX":{"fundingRate":-0.0000026075},"Okex":{"fundingRate":-0.0000823980825188,"realizedRate":-0.0000823980825188},"Gate":{"fundingRate":-0.000055},"Bybit":{"fundingRate":0.0000243}}},{"ts":1725667200000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":-0.000006},"Binance":{"fundingRate":-0.00000557},"dYdX":{"fundingRate":-0.0000062272},"Okex":{"fundingRate":-0.0000897186034696,"realizedRate":-0.0000897186034696},"Gate":{"fundingRate":-0.000015},"Bybit":{"fundingRate":0.00002842}}},{"ts":1725638400000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":0.000019},"Binance":{"fundingRate":0.00001428},"dYdX":{"fundingRate":-0.0000025198},"Okex":{"fundingRate":0.0000163579425724,"realizedRate":0.0000163579425724},"Gate":{"fundingRate":-0.000025},"Bybit":{"fundingRate":0.00000186}}},{"ts":1725609600000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":0.000003},"Binance":{"fundingRate":-1E-8},"dYdX":{"fundingRate":-0.0000074243},"Okex":{"fundingRate":0.0000424731822967,"realizedRate":0.0000424731822967},"Gate":{"fundingRate":-0.000017},"Bybit":{"fundingRate":-0.0000166}}},{"ts":1725580800000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":0.000033},"Binance":{"fundingRate":0.00002280},"dYdX":{"fundingRate":-0.0000019736},"Okex":{"fundingRate":0.0000588361253654,"realizedRate":0.0000588361253654},"Gate":{"fundingRate":0.000053},"Bybit":{"fundingRate":-0.00004633}}},{"ts":1725552000000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":0.000031},"Binance":{"fundingRate":0.00002490},"dYdX":{"fundingRate":-0.0000185622},"Okex":{"fundingRate":0.0000156521410042,"realizedRate":0.0000156521410042},"Gate":{"fundingRate":0.0001},"Bybit":{"fundingRate":0.00000848}}},{"ts":1725523200000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":0.000018},"Binance":{"fundingRate":0.00002025},"dYdX":{"fundingRate":-0.0000121113},"Okex":{"fundingRate":0.0000237244771928,"realizedRate":0.0000237244771928},"Gate":{"fundingRate":0.0001},"Bybit":{"fundingRate":-0.00000239}}},{"ts":1725494400000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":0.000107},"Binance":{"fundingRate":0.00009016},"dYdX":{"fundingRate":-0.0000133991},"Okex":{"fundingRate":0.0000302405254579,"realizedRate":0.0000302405254579},"Gate":{"fundingRate":-0.000127},"Bybit":{"fundingRate":-0.00004165}}},{"ts":1725465600000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":-0.000012},"Binance":{"fundingRate":-0.00001470},"dYdX":{"fundingRate":-0.0000221433},"Okex":{"fundingRate":-0.0000529015323895,"realizedRate":-0.0000529015323895},"Gate":{"fundingRate":0.000004},"Bybit":{"fundingRate":-0.00002771}}},{"ts":1725436800000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":0.000014},"Binance":{"fundingRate":0.00001050},"dYdX":{"fundingRate":-0.0000165698},"Okex":{"fundingRate":-0.0000157991723037,"realizedRate":-0.0000157991723037},"Gate":{"fundingRate":0.000025},"Bybit":{"fundingRate":0.00000358}}},{"ts":1725408000000,"details":{"Huobi":{"fundingRate":0.000100000000000000,"realizedRate":0.000100000000000000},"Bitget":{"fundingRate":0.00002},"Binance":{"fundingRate":0.00002209},"dYdX":{"fundingRate":-0.0000081045},"Okex":{"fundingRate":0.0000566326862708,"realizedRate":0.0000566326862708},"Gate":{"fundingRate":0.000018},"Bybit":{"fundingRate":0.00004569}}}],"ext":{"columns":["Binance","Okex","Bybit","Gate","Bitget","dYdX","Huobi"]}}