API Reference
Pricing
API Reference

🔍 接口总览

CoinGlass API 提供了丰富的接口,涵盖了广泛的加密市场数据类型,包括合约(Futures)、现货(Spot)、期权(Options)、ETF、链上数据(On-Chain)以及各类指标数据(Index)。

以下是所有可用接口的分类概览,帮助你更高效地查阅与集成相关数据:

API 接口列表

API 地址描述
交易市场
/futures/supported-coins获取支持的合约币种
/futures/supported-exchange-pairs获取支持的交易所和交易对
/api/futures/pairs-markets合约交易对详情
/api/futures/coins-markets合约币种市场行情
/futures/price-change-list币种价格变化列表
/api/price/ohlc-history交易对价格 K 线历史
持仓
/api/futures/openInterest/ohlc-history合约持仓量 K 线历史
/api/futures/openInterest/ohlc-aggregated-history合约聚合持仓量 K 线历史
/api/futures/openInterest/ohlc-aggregated-stablecoin聚合稳定币保证金合约持仓量 K 线
/api/futures/openInterest/ohlc-aggregated-coin-margin-history聚合币本位保证金合约持仓量 K 线
/api/futures/openInterest/exchange-list各交易所持仓量列表
/api/futures/openInterest/exchange-history-chart各交易所持仓量图表历史
资金费率
/api/futures/fundingRate/ohlc-history资金费率 K 线历史
/api/futures/fundingRate/oi-weight-ohlc-historyOI 加权资金费率 K 线
/api/futures/fundingRate/vol-weight-ohlc-history成交量加权资金费率 K 线
/api/futures/fundingRate/exchange-list各交易所资金费率
/api/futures/fundingRate/accumulated-exchange-list各交易所累计资金费率
/api/futures/fundingRate/arbitrage资金费率套利机会
多空比
/api/futures/global-long-short-account-ratio/history全网账户多空比历史
/api/futures/top-long-short-account-ratio/history大户账户多空比历史
/api/futures/top-long-short-position-ratio/history大户账户持仓多空比
/api/futures/taker-buy-sell-volume/exchange-list各交易所主动买卖比
爆仓
/api/futures/liquidation/history合约交易对爆仓历史
/api/futures/liquidation/aggregated-history合约币种爆仓历史
/api/futures/liquidation/coin-list币种爆仓列表
/api/futures/liquidation/exchange-list交易所爆仓列表
/api/futures/liquidation/order爆仓订单
/api/futures/liquidation/heatmap/model1合约交易对爆仓热力图(模型1)
/api/futures/liquidation/heatmap/model2合约交易对爆仓热力图(模型2)
/api/futures/liquidation/heatmap/model3合约交易对爆仓热力图(模型3)
/api/futures/liquidation/aggregated-heatmap/model1合约币种爆仓热力图(模型1)
/api/futures/liquidation/aggregated-heatmap/model2合约币种爆仓热力图(模型2)
/api/futures/liquidation/aggregated-heatmap/model3合约币种爆仓热力图(模型3)
/api/futures/liquidation/map合约交易对爆仓地图
/api/futures/liquidation/aggregated-map合约币种爆仓地图
订单薄
/api/futures/orderbook/ask-bids-history合约交易对挂单深度历史(±范围)
/api/futures/orderbook/aggregated-ask-bids-history合约交易对挂单深度历史(±范围)
/api/futures/orderbook/history合约订单簿热力图
/api/futures/orderbook/large-limit-order大额挂单数据
/api/futures/orderbook/large-limit-order-history大额挂单历史
Hyperliquid鲸鱼
/api/hyperliquid/whale-alertHyperliquid 巨鲸预警
/api/hyperliquid/whale-positionHyperliquid 巨鲸仓位
主动买卖
/api/futures/taker-buy-sell-volume/history合约交易对主动买卖成交历史
/api/futures/aggregated-taker-buy-sell-volume/history合约币种主动买卖成交历史
现货
/api/spot/supported-coins支持的现货币种列表
/api/spot/supported-exchange-pairs支持的现货交易所和交易对
/api/spot/coins-markets现货币种市场
/api/spot/pairs-markets现货交易对市场
/api/spot/price/history现货价格历史
订单薄
/api/spot/orderbook/ask-bids-history现货交易对挂单深度历史(±范围)
/api/spot/orderbook/aggregated-ask-bids-history现货币种挂单深度历史(±范围)
/api/spot/orderbook/history现货订单簿热力图
/api/spot/orderbook/large-limit-order现货大额挂单数据
/api/spot/orderbook/large-limit-order-history现货大额挂单历史
主动买卖
/api/spot/taker-buy-sell-volume/history现货交易对主动买卖成交历史
/api/spot/aggregated-taker-buy-sell-volume/history现货币种主动买卖成交历史
期权
/api/option/max-pain最大痛点价数据
/api/option/info期权信息
/api/option/exchange-oi-history各交易所期权持仓量历史
/api/option/exchange-vol-history各交易所期权成交量历史
链上
/api/exchange/assets交易所资产透明度概况
/api/exchange/balance/list交易所余额列表
/api/exchange/balance/chart交易所余额变化图表
/api/exchange/chain/tx/list交易所链上转账记录(ERC-20)
ETF
/api/etf/bitcoin/list比特币 ETF 列表
/api/hk-etf/bitcoin/flow-history香港比特币 ETF 流入流出历史
/api/etf/bitcoin/net-assets/history比特币 ETF 净资产历史
/api/etf/bitcoin/flow-history比特币 ETF 流入流出历史
/api/etf/bitcoin/premium-discount/history比特币 ETF 溢价/折价历史
/api/etf/bitcoin/history比特币 ETF 历史
/api/etf/bitcoin/price/history比特币 ETF 价格历史
/api/etf/bitcoin/detail比特币 ETF 详情
/api/etf/ethereum/net-assets-history以太坊 ETF 净资产历史
/api/etf/ethereum/list以太坊 ETF 列表
/api/etf/ethereum/flow-history以太坊 ETF 流入流出历史
/api/grayscale/holdings-list灰度持仓列表
/api/grayscale/premium-history灰度溢价历史
指标
/api/futures/rsi/listRSI 相对强弱指标列表
/api/futures/basis/history合约基差历史
/api/borrow-interest-rate/history借贷利率历史
/api/coinbase-premium-indexCoinbase 溢价指数
/api/bitfinex-margin-long-shortBitfinex 杠杆多空比
/api/index/ahr999AHR999 指标
/api/index/puell-multiplePuell 多重指标
/api/index/stock-flowStock-to-Flow 模型
/api/index/pi-cycle-indicatorPi Cycle 顶部指标
/api/index/golden-ratio-multiplier黄金比例乘数
/api/index/bitcoin/profitable-days比特币盈利天数
/api/index/bitcoin/rainbow-chart比特币彩虹图
/api/index/fear-greed-history加密恐惧与贪婪指数
/api/index/stableCoin-marketCap-history稳定币市值历史
/api/index/bitcoin/bubble-index比特币泡沫指数
/api/bull-market-peak-indicator牛市顶部指标
/api/index/2-year-ma-multiplier2 年均线乘数
/api/index/200-week-moving-average-heatmap200 周移动均线热力图