coinglass
БесплатноЗапускает вложенные скриптыНе проверенCrypto derivatives data: funding rates, open interest, liquidations, long/short ratios. Use when researching perp markets or comparing ETF flows (e.g. BTC…
от Starchild-ai-agent★ 34 звезды на GitHubОб этом скилле
Plan Tiers (platform key = Startup, verified 2026-09)
The platform-injected COINGLASS_API_KEY is on the Startup plan. Actual endpoint access at the tool layer:
✅ Available on Startup (normal data):
- Funding rates(v2/v4)、Supported coins/exchanges/pairs、Pairs markets
- Open interest (current / OHLC history / aggregated history)
- Long/Short ratios(global / top-account / top-position)
- Taker buy/sell volume (single exchange + aggregated; aggregated needs
exchange_list) - CVD、Net position(v1/v2)、Coin netflow
- Liquidations: coin-list, coin/pair history (pair needs BTCUSDT format), aggregated history (needs
exchange_list) - ETF flows / lists / premium(BTC、ETH、SOL、XRP、HK)
- Whale transfers, Hyperliquid whale alerts (alert feed only)
- Price history (symbol must be pair format, e.g. BTCUSDT)
❌ Not available on Startup (401 "Upgrade plan" — skip these, don't call):
api/futures/coins-markets(all-coin market summary, i.e.cg_coins_market_data) — do not call; use "Full-market / multi-coin OI routing" belowapi/futures/liquidation/order(individual liquidation orders)api/futures/liquidation/heatmap/model1+aggregated-heatmap/model1(liquidation heatmap is entirely unavailable)api/hyperliquid/position,api/hyperliquid/wallet/position-distribution(Hyperliquid position distribution; only whale alerts work)
Alternatives (in priority order):
- User supplies their own key (Basic+ plan): set
COINGLASS_API_KEYand callhttps://open-api-v4.coinglass.comdirectly, bypassing sc-proxy (sc-proxy overwrites that header, so a user key has no effect on the proxied path). - Apify scraper: use the
apifyskill to scrape the liquidation heatmap / Hyperliquid position pages on coinglass.com.
On a 401 "Upgrade plan" response, cg_request raises CoinglassPlanError, and the error message already includes this guidance.
Full-market / multi-coin OI routing (coins-markets unavailable)
| Need | Use | Notes |
|---|---|---|
| Current OI and 4h/24h change for one coin | cg_open_interest(symbol) (take the exchangeName=="All" row) |
Works on Startup |
| Funding for one coin | funding_rate(symbol) |
Returns a string with % |
| OI history across coins | Per-coin OI history, summed by timestamp | Label it "Top-N aggregate" with the bar interval; never present it as full-market |
| Full-market current OI total / current OI per coin | coingecko skill cg_derivatives(include_tickers='unexpired'): keep contract_type=="perpetual", sum open_interest (USD) by index_id |
Exchange-reported, includes small exchanges, runs higher than CoinGlass; current values only, no history; always cite the source in charts and text |
Do not plot numbers from different sources (CoinGlass Top-N, CoinGecko full-market, Bloomberg or other third parties) on one chart as comparison or reference lines.
Liquidation Heatmap (❌ not available on Startup — archived usage)
cg_liquidation_analysis returns all zeros and is unusable. Both heatmap endpoints (heatmap/model1 and
aggregated-heatmap/model1) return 401 Upgrade plan on the Startup plan.
If heatmap data is needed: have the user bring a Basic+ key and call directly (see Alternatives above), or scrape the page with Apify.
# Only works with a user-owned higher-tier key (direct, not via sc-proxy)
from tools._api import cg_request
# Full-market aggregated heatmap (recommended, no exchange needed)
# range supports: 12h, 24h, 3d, 7d, 30d, 90d, 180d, 1y
data = cg_request("api/futures/liquidation/aggregated-heatmap/model1",
params={"symbol": "BTC", "range": "24h"})
# Response structure:
# data["y_axis"] → price levels (low to high)
# data["liquidation_leverage_data"] → [[y_idx, leverage, usd_value], ...]
# data["price_candlesticks"] → OHLCV candles; last close = current price
# data["update_time"] → update timestamp
# How to parse:
from collections import defaultdict
y_axis = data["y_axis"]
current_price = float(data["price_candlesticks"][-1][4])
price_liq = defaultdict(float)
for y_idx, leverage, usd_val in data["liquidation_leverage_data"]:
if 0 <= y_idx < len(y_axis):
price_liq[y_axis[y_idx]] += usd_val
longs = {p: v for p, v in price_liq.items() if p < current_price} # long liquidations (triggered on the way down)
shorts = {p: v for p, v in price_liq.items() if p > current_price} # short liquidations (triggered on the way up)
Script Usage
Script-mode skill — read this file, then invoke from a bash block:
python3 - <<'EOF'
import sys, json
sys.path.insert(0, "/data/workspace/skills/coinglass")
from exports import funding_rate, cg_open_interest, cg_liquidations
print(funding_rate(symbol="BTC"))
print(cg_open_interest(symbol="BTC"))
EOF
Read exports.py for the full list of available functions and exact
signatures. Common ones: funding_rate, long_short_ratio,
cg_open_interest, cg_liquidations,
Установить coinglass в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл coinglass?
Crypto derivatives data: funding rates, open interest, liquidations, long/short ratios. Use when researching perp markets or comparing ETF flows (e.g. BTC funding, ETH OI). NOTE: platform API key is Startup tier — liquidation heatmap, coins-markets detail, liquidation order book and Hyperliquid positions require higher plans (see Plan Tiers).
Как установить скилл coinglass?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл coinglass запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic