CoinAnk-api
  1. FundingRate
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)
    • 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
    • Real-time Funds Flow (Plan3)
    • Fund flow historical data (Plan3)
  • FundingRate
    • Historical Settlement Funding Rate (Plan1)
      GET
    • Real-time FundingRate (Plan1)
      GET
    • Accumulated FundingRate (Plan1)
      GET
    • Trading Pair Funding Rate History (Plan1)
      GET
    • Trading Pair Funding Rate Kline (Plan1)
      GET
    • Weighted FundingRate (Plan1)
      GET
    • FundingRate Heatmap (Plan3)
      GET
  • 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. FundingRate

Trading Pair Funding Rate Kline (Plan1)

GET
/api/fundingRate/kline
Returns the trading pair funding rate k-line based on time level and range

Request

Query Params
exchange
string 
optional
Binance,OKX,Bybit,Huobi,Gate,Bitget
Example:
Binance
symbol
string 
optional
Example:
BTCUSDT
interval
string 
optional
1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d
Example:
1h
endTime
string 
optional
Returns data before this timestamp
Example:
1725972522356
size
string 
optional
Max 500
Example:
10
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/fundingRate/kline?exchange=Binance&symbol=BTCUSDT&interval=1h&endTime=1725972522356&size=10' \
--header 'apikey;'

Responses

🟢200OK
application/json
Body
success
boolean 
required
code
string 
required
data
array [object {5}] 
required
begin
integer 
required
time
open
number 
required
open
close
number 
required
close
low
number 
required
low
high
number 
required
high
Example
{
  "success": true,
  "code": "1",
  "data": [
    {
      "begin": 1725937200000,
      "open": -0.002614,
      "close": -0.002159,
      "low": -0.002614,
      "high": -0.002087
    },
    {
      "begin": 1725940800000,
      "open": -0.002159,
      "close": -0.001998,
      "low": -0.00216,
      "high": -0.001863
    },
    {
      "begin": 1725944400000,
      "open": -0.001998,
      "close": -0.002578,
      "low": -0.002578,
      "high": -0.001758
    },
    {
      "begin": 1725948000000,
      "open": -0.002578,
      "close": -0.002932,
      "low": -0.003047,
      "high": -0.002578
    },
    {
      "begin": 1725951600000,
      "open": -0.002932,
      "close": -0.002854,
      "low": -0.002957,
      "high": -0.002293
    },
    {
      "begin": 1725955200000,
      "open": -0.002854,
      "close": -0.004287,
      "low": -0.004359,
      "high": -0.002854
    },
    {
      "begin": 1725958800000,
      "open": -0.004287,
      "close": -0.002442,
      "low": -0.004287,
      "high": -0.002395
    },
    {
      "begin": 1725962400000,
      "open": -0.002442,
      "close": -0.001121,
      "low": -0.002599,
      "high": -0.001086
    },
    {
      "begin": 1725966000000,
      "open": -0.001121,
      "close": -0.000223,
      "low": -0.001157,
      "high": -0.000223
    },
    {
      "begin": 1725969600000,
      "open": -0.000223,
      "close": -0.000565,
      "low": -0.000565,
      "high": -0.000223
    }
  ]
}
Modified at 2025-04-23 09:49:31
Previous
Trading Pair Funding Rate History (Plan1)
Next
Weighted FundingRate (Plan1)
Built with