🔍 接口总览

CoinGlass 接口总览

接口总览

CoinGlass API 提供了一套完整的端点,覆盖广泛的加密货币市场数据,包括 合约、现货、期权、ETF、链上数据以及指数指标

为了帮助开发者快速找到并集成所需数据,所有 API 端点都在下方按类别进行了整理展示。


Base URL

所有 CoinGlass API 请求的基础地址为:

https://open-api-v4.coinglass.com

例如,获取 Supported Futures Coins 接口的完整请求地址为:

https://open-api-v4.coinglass.com/api/futures/supported-coins

在发起请求时,只需将端点路径拼接到 Base URL 之后即可。

下面按类别列出了所有可用的 CoinGlass API 端点,帮助你 高效地浏览、发现并集成所需数据

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

API 地址描述
合约市场
/api/futures/supported-coins获取支持的合约币种
/api/futures/supported-exchange-pairs获取支持的交易所和交易对
/api/futures/coins-markets合约币种市场行情
/api/futures/pairs-markets合约交易对详情
/api/futures/coins-price-change币种价格变化列表
/api/futures/price/history交易对价格 K 线历史
/api/futures/exchange-rank交易所排名
/api/futures/delisted-exchange-pairs下架交易对
/api/futures/supported-exchanges支持的交易所
持仓(Open Interest)
/api/futures/open-interest/history合约持仓量 K 线历史
/api/futures/open-interest/aggregated-history合约聚合持仓量 K 线历史
/api/futures/open-interest/aggregated-stablecoin-history聚合稳定币保证金合约持仓量 K 线
/api/futures/open-interest/aggregated-coin-margin-history聚合币本位保证金合约持仓量 K 线
/api/futures/open-interest/exchange-list各交易所持仓量列表
/api/futures/open-interest/exchange-history-chart各交易所持仓量图表历史
资金费率(Funding Rate)
/api/futures/funding-rate/history资金费率 K 线历史
/api/futures/funding-rate/oi-weight-historyOI 加权资金费率 K 线
/api/futures/funding-rate/vol-weight-history成交量加权资金费率 K 线
/api/futures/funding-rate/exchange-list各交易所资金费率
/api/futures/funding-rate/accumulated-exchange-list各交易所累计资金费率
/api/futures/funding-rate/arbitrage资金费率套利机会
多空比(Long/Short Ratio)
/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/net-position/history净持仓
/api/futures/v2/net-position/history净持仓(v2)
爆仓(Liquidation)
/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/liquidation/max-pain清算最大痛点
合约订单薄(Order Book)
/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大额挂单历史
鲸鱼持仓(Whale Postions)
/api/hyperliquid/whale-alertHyperliquid 巨鲸预警
/api/hyperliquid/whale-positionHyperliquid 巨鲸仓位
/api/hyperliquid/positionHyperliquid 仓位
/api/hyperliquid/user-positionHyperliquid 用户地址持仓
/api/hyperliquid/wallet/position-distributionHyperliquid 钱包持仓分布
/api/hyperliquid/wallet/pnl-distributionHyperliquid 钱包盈亏分布
/api/hyperliquid/global-long-short-account-ratio/historyHyperliquid 账户多空比
合约市价订单(Taker Buy/Sell)
/api/futures/aggregated-taker-buy-sell-volume/history合约币种主动买卖成交历史
/api/futures/v2/taker-buy-sell-volume/history合约交易对主动买卖成交历史
/api/futures/volume/footprint-history足迹图历史(90天)
/api/futures/cvd/history累计成交量差值(CVD)
/api/futures/aggregated-cvd/history聚合累计成交量差值(CVD)
/api/futures/netflow-list币种流入流出列表
/api/furures/coin/netflow单币种流入流出
现货市场(Spot Market)
/api/spot/supported-coins支持的现货币种列表
/api/spot/supported-exchange-pairs支持的现货交易所和交易对
/api/spot/coins-markets现货币种市场
/api/spot/pairs-markets现货交易对市场
/api/spot/price/history现货价格历史
现货订单薄(Order Book L2&L3)
/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现货大额挂单历史
现货市价订单(Taker Buy/Sell)
/api/spot/taker-buy-sell-volume/history现货交易对主动买卖成交历史
/api/spot/aggregated-taker-buy-sell-volume/history现货币种主动买卖成交历史
/api/spot/volume/footprint-history足迹图历史(90天)
/api/spot/cvd/history累计成交量差值(CVD)
/api/spot/aggregated-cvd/history聚合累计成交量差值(CVD)
/api/spot/netflow-list币种流入流出列表
/api/spot/coin/netflow单币种流入流出
期权(Options)
/api/option/max-pain最大痛点价数据
/api/option/info期权信息
/api/option/exchange-oi-history各交易所期权持仓量历史
/api/option/exchange-vol-history各交易所期权成交量历史
链上数据(On-Chain)
/api/exchange/assets交易所资产透明度概况
/api/exchange/balance/list交易所余额列表
/api/exchange/balance/chart交易所余额变化图表
/api/exchange/chain/tx/list交易所链上转账记录(ERC-20)
/api/exchange_assets_transparency/list交易所资产透明度证明
/api/chain/v2/whale-transfer大额转账
/api/coin/unlock-list代币解锁列表
/api/coin/vesting代币解锁详情
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/bitcoin/aum总资产历史
/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/etf/solana/flow-history索拉纳 ETF 流入流出历史
/api/etf/xrp/flow-historyXRP ETF 流入流出历史
指标数据(Indic D)
/api/futures/indicators/tdTD序列指标(TD Sequential)
/api/futures/avg-true-range/list币种平均真实波幅列表(ATR)
/api/futures/indicators/avg-true-range平均真实波幅(ATR)
/api/futures/rsi/listRSI 相对强弱指标列表
/api/futures/basis/history合约基差历史
/api/futures/whale-index/history鲸鱼指数
/api/futures/cgdi-index/historyCGDI 指数
/api/futures/cdri-index/historyCDRI 指数
/api/futures/indicators/ma移动平均线 (MA)
/api/futures/indicators/ema指数移动平均线 (EMA)
/api/futures/indicators/rsi交易对 RSI
/api/futures/indicators/macd移动平均收敛发散指标 (MACD)
/api/futures/indicators/boll布林带指标 (BOLL)
/api/futures/macd/listMACD 列表
/api/coinbase-premium-indexCoinbase 溢价指数
/api/bitfinex-margin-long-shortBitfinex 杠杆多空比
/api/borrow-interest-rate/history借贷利率历史
/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 周移动均线热力图
/api/index/bitcoin-sth-sopr比特币短期持有者已实现利润率
/api/index/bitcoin-lth-sopr比特币长期持有者已实现利润率
/api/index/bitcoin-sth-realized-price比特币短期持有者平均持仓成本
/api/index/bitcoin-lth-realized-price比特币长期持有者平均持仓成本
/api/index/bitcoin-rhodl-ratio比特币 RHODL 比值
/api/index/bitcoin-short-term-holder-supply短期持有者持有比特币占比
/api/index/bitcoin-long-term-holder-supply长期持有者持有比特币数量
/api/index/bitcoin-new-addresses比特币新地址
/api/index/bitcoin-active-addresses比特币活跃地址
/api/index/bitcoin-reserve-risk比特币储备风险
/api/index/bitcoin-net-unrealized-profit-loss比特币未实现净盈亏 (NUPL)
/api/index/bitcoin-correlation比特币相关性
/api/index/bitcoin-macro-oscillator比特币宏观震荡指标(BMO)
/api/index/option-vs-futures-oi-ratio期权持仓 vs 合约持仓
/api/index/altcoin-season山寨币季节指数
/api/index/bitcoin-vs-global-m2-growth比特币 vs 全球 M2 货币供应增长
/api/index/bitcoin-vs-us-m2-growth比特币 vs 美国 M2 货币供应增长
/api/index/bitcoin-dominance比特币市值占比
/api/calendar/economic-data经济数据
/api/calendar/financial-events财经事件
/api/calendar/central-bank-activities央行动态
/api/article/list新闻
/api/newsflash/list快讯
/api/futures_spot_volume_ratio合约与现货成交量比值