CoinGlass API Agent Skill

CoinGlass API Skill is a skill package for AI agents. It helps an agent understand what metrics such as open interest, funding rates and liquidations mean, automatically choose the right endpoint for the user's question, and deliver structured analysis.

Key Facts
ItemDetails
Repositorygithub.com/coinglass-official/coinglass-api-skills
Installationnpx skills add https://github.com/coinglass-official/coinglass-api-skills (requires Node.js 22.20.0 or later for [email protected])
PurposeUnderstand questions, choose endpoints, interpret metrics
Recommended pairingThe MCP service fetches the data; the Skill handles understanding and analysis
CoverageFutures, spot, options, ETF, on-chain, indicators, other (financial calendar, news) and account: 26 sub-skills containing API.md (as of 2026-10-29 UTC)
LicenseMIT

CoinGlass Skills Hub (AI Agent Integration)

The CoinGlass API now supports AI Agent integration through the CoinGlass Skills Hub.

CoinGlass Skills Hub is an open skill marketplace that enables AI agents to access CoinGlass's professional-grade crypto market data and analytics through structured, reusable skill packages.

With Skills Hub, AI agents can:

  • Access unified real-time and historical data across futures, spot, options, ETF and on-chain markets
  • Retrieve advanced datasets such as funding rates, open interest, liquidation data, L2/L3 order book depth, order flow, whale activity and macro indicators
  • Automatically map natural language requests to the correct CoinGlass API endpoints
  • Generate structured analysis without manual API integration

Quick Start

Visit the CoinGlass Skills Hub repository:

https://github.com/coinglass-official/coinglass-api-skills

Install it in your agent environment (requires Node.js 22.20.0 or later for [email protected]):

npx skills add https://github.com/coinglass-official/coinglass-api-skills

Installation Methods

Run this in your agent project directory to automatically download and register all CoinGlass skills:

npx skills add https://github.com/coinglass-official/coinglass-api-skills

When to Use Skills Hub

Use CoinGlass Skills Hub in the following scenarios:

  • Building AI agents or copilots
  • Integrating CoinGlass data into LLM-based workflows
  • Developing trading assistants or analytics bots
  • Integrating quickly without handling low-level API call logic

For direct API integration, use the individual endpoint pages in the API reference.

Use with MCP

We recommend using this SKILL together with the CoinGlass MCP (Beta) service:

  • SKILL: understands data structures, metric meanings and analysis logic
  • MCP: calls tools listed by tools/list. For endpoints without a matching MCP tool, use REST.

Combined, the two can significantly improve the AI's understanding, query efficiency and analytical accuracy when working with CoinGlass data. A single question is processed as follows:

User Asks a Question
Describes the question in natural language
Skill Understands the Question, Chooses Endpoints
Enters the matching sub-skill via the routing table
Fetch Data with MCP or REST
Use a listed MCP tool; otherwise use the REST endpoint
Skill Interprets Metrics, Gives Conclusions
Draws conclusions from the metric definitions and cites the data source

How the Skill Works

The root skill SKILL.md is the entry point and contains a routing table. Based on the intent of the question, the agent enters the matching sub-skill, reads that sub-skill's API.md, and then sends requests according to the endpoint instructions in it. Each sub-skill also includes an error code reference and notes on the intervals and history length available on each API plan.

coinglass-api-skills/
├── SKILL.md                     Entry point and routing table
├── futures/                     Futures (open interest, funding rates, liquidations, long/short ratios, order book, etc.)
│   └── open-interest/
│       ├── API.md               Endpoints, parameters and usage
│       └── references/
│           ├── errors-codes.md                  Error codes
│           └── plans-interval-history-length.md Intervals and history length for each API plan
├── spots/                       Spot
├── options/                     Options
├── etf/                         ETF
├── on-chain/                    On-chain
├── indic/                       Indicators
├── other/                       Financial calendar, news
└── account/                     Account

Supported Data Types

The categories below describe the coverage areas, not a complete list of REST endpoints. The Skill contains a subset of the public APIs. For endpoints not included in its API.md files, read the current endpoint documentation before making a REST request.

Derivatives

  • Market data
  • Open interest
  • Funding rates
  • Long/short ratios
  • Liquidation data
  • Liquidation heatmaps
  • Order book (L2)
  • Hyperliquid positions
  • Taker buy/sell volume
  • CVD
  • Inflows and outflows

Spot

  • Market data
  • Order book
  • Taker buy/sell volume
  • CVD
  • Inflows and outflows

Options

  • Max pain
  • Options-related data
  • Exchange open interest history
  • Exchange volume history

On-Chain Data

  • Exchange asset transparency
  • Exchange balances
  • On-chain transfers
  • Large transfers
  • Token unlocks

ETF Data

  • Bitcoin ETF
  • Ethereum ETF
  • Grayscale funds
  • Solana ETF
  • XRP ETF

Indicators

  • RSI
  • MA
  • EMA
  • BOLL
  • MACD
  • ATR
  • TD Sequential
  • Coinbase Premium
  • AHR999
  • Puell Multiple
  • Pi Cycle Top Indicator
  • Rainbow Chart
  • Fear & Greed Index
  • Stablecoin market cap
  • RHODL
  • NUPL
  • Altcoin Season Index
  • Bitcoin Dominance
  • Futures-to-spot volume ratio

Other Data

  • Financial calendar
  • Economic data
  • Financial events
  • Central bank activities
  • News
  • Newsflashes

Account

  • Account plan lookup

Typical Use Cases

This SKILL is suitable for the following applications:

  • Automatically matching questions to the right API
  • Converting natural language into data queries
  • Building market monitoring dashboards
  • Generating quantitative analysis logic
  • Combining multiple data sources for analysis
  • Building AI assistants that understand the market

1. Derivatives Market Analysis

Data to combine: open interest, funding rates, long/short ratios, liquidation data, liquidation heatmaps.

Use: gauge market crowding, analyze leverage risk, observe liquidation clusters.

2. Spot Flow Analysis

Data to combine: taker buy/sell volume, order book, CVD, price trends.

Use: determine whether spot is driving the market, analyze buying and selling pressure, observe liquidity changes.

3. ETF Flow Monitoring

Data to combine: ETF list, net assets history, flow history, premium/discount history, AUM.

Use: track institutional capital flows, observe ETF sentiment, build ETF monitoring dashboards.

4. On-Chain and Macro Analysis

Data to combine: exchange reserves/asset transparency, large transfers, stablecoin market cap, Fear & Greed Index, Bitcoin Dominance.

Use: determine the market cycle, analyze liquidity changes, observe on-chain capital activity.

5. Combined Indicator Assessment

Data to combine: AHR999, Puell Multiple, NUPL, RHODL, Rainbow Chart, Altcoin Season Index.

Use: determine the market valuation range, analyze long-term trends, identify the position in the cycle.

Use Cases and Examples

The value of the Skill is that the agent knows “what to query and how to read it.” Each of the 6 scenarios below lists what the Skill does in it.

Altcoin Overheating CheckInvestment Research

“Which CoinGlass indicators are suitable for judging whether the altcoin market is overheated? Is it overheated now?”

What the Skill does: Selects the Altcoin Season Index, funding rates, open interest and long/short ratios, and explains the overheating signal of each

Leverage Crowding AssessmentTrading

“Use open interest, funding rates and long/short ratios to assess how crowded SOL leverage currently is.”

What the Skill does: Chooses aggregated open interest, the OI-weighted funding rate and the top trader long/short ratio, and gives the basis for the assessment

Timing Factor DesignQuant

“Design a timing factor based on funding rates and open interest changes, and write the data-fetching code.”

What the Skill does: Provides the correct endpoints, parameters and the history length limit for each interval, so backtests do not fail to get the data they need

Automated Alert AgentRisk Control

“Check the funding rates and liquidation amounts of major coins every hour, and alert me when they exceed a threshold.”

What the Skill does: Chooses suitable endpoints and intervals, and explains which historical data to refer to when setting thresholds

In-App AI AssistantProduct

“How is market sentiment right now?”

What the Skill does: Standardizes how metrics are interpreted so answers are consistent and easy to understand. Commercial products require the Standard plan and above

Weekly ETF Flow ReportResearch

“Summarize this week's net inflows for spot Bitcoin ETFs and explain the possible impact on price.”

What the Skill does: Chooses the ETF flow and net assets endpoints, and provides an analysis framework for the relationship between flows and price

Full Example: Is the Altcoin Market Overheating?

In this example, the Skill uses REST APIs to fetch data. The question is broken into three steps: “choose metrics → fetch data → interpret.” The following shows the structure only; square brackets mark data obtained from an actual query.

  1. Question: Is the altcoin market overheated right now? Please explain your reasoning.
  2. Skill routing: Identifies it as a “market sentiment + leverage level” question and enters two sub-skills: “Indicators” and “Futures.”
  3. REST data fetching: Request the Altcoin Season Index, funding rates by exchange, aggregated open interest history and top trader long/short position ratio through their REST endpoints. Specify the coins, exchanges and intervals for each endpoint; validate the returned timestamps for historical comparisons. The Altcoin Season Index has no corresponding MCP tool.
  4. Skill interpretation: A high season index, generally positive and rising funding rates on major altcoins, and a rapid short-term increase in open interest; when all three appear together, the overheating signal is relatively strong.

Altcoin Season Index is [value]; [N] major altcoins have funding rates above [threshold]; altcoin open interest increased by [percentage] over 7 days; the top trader long/short ratio is [value]. Overall assessment: [running hot / neutral / running cold]. Data source: CoinGlass, queried at [time]. The above is data analysis only and does not constitute investment advice.

Skill + MCP vs. MCP Only

MCP OnlySkill + MCP
Choosing endpointsThe model decides on its own from the tool descriptions and may choose wrongly for complex questionsChosen according to the routing table and sub-skill instructions
Parameters and API plan limitsEasy to pass the wrong interval or exceed the history range of your API planSub-skills specify parameter values and the intervals and history length for each API plan
Metric interpretationRelies on the model's general knowledgeInterpreted according to CoinGlass metric definitions and assessment frameworks
Best forSimple single-item queriesMulti-metric analysis, fixed workflows, user-facing products

Example Questions

You can ask your agent the following questions:

  • “Analyze the current BTC liquidation pressure”
  • “Compare the changes in ETH funding rate and open interest”
  • “Are ETF flows affecting the market?”
  • “Are the current BTC funding rate, open interest and liquidation data showing divergence at the same time?”
  • “Based on funding rates, CVD and order flow, is the BTC market currently dominated by taker buying or taker selling?”
  • “How do I build a BTC market monitoring dashboard?”
  • “Which CoinGlass indicators are suitable for judging whether the altcoin market is overheated?”
  • “Is the liquidation distribution over the last 24 hours concentrated in a particular price range? Are there liquidation clusters?”
  • “Which endpoints should I combine to analyze short-term market structure?”
  • “Use open interest, funding rates and long/short ratios to assess how crowded SOL leverage currently is.”
  • “Summarize this week's net inflows for spot Bitcoin ETFs and explain the possible impact on price.”

Target Users

  • Enterprise and institutional users
  • AI product developers
  • Quantitative researchers
  • Traders
  • Data analysts
  • Crypto market research teams
  • Agent application developers
  • Internal tool builders

FAQ

Do I need an API Key to use the Skill?

Yes. The Skill itself contains only instructions and workflows; the actual data fetching is done through MCP or the REST API, both of which use your API Key and your API plan's permissions.

Can I integrate with the API directly without an agent?

Yes. If you prefer direct integration, develop against the endpoint docs in the API reference.

Which agent platforms are supported?

You can install it with npx skills add in any environment that supports Agent Skills, or import it by following the skill installation guides for Cursor and Claude.

Can I modify the Skill for my team?

Yes. The Skill is hosted on GitHub under the MIT license; you can copy it and add your team's own analysis rules and alert thresholds.

Is the Skill updated when the API adds new endpoints?

The Skill is not automatically updated when the API adds new endpoints. We recommend reinstalling it periodically or pulling the latest version from the GitHub repository.

About AI Agents and Crypto Market Data

What Is an Agent Skill?

An Agent Skill is a reusable instruction package for AI agents that tells them how to handle a certain type of task. CoinGlass API Skill includes endpoint instructions, metric meanings and analysis approaches for each type of data.

How Can AI Agents Get Real-Time Crypto Market Data?

Install CoinGlass API Skill and connect the CoinGlass MCP (Beta) service: the Skill decides what to query and MCP fetches the data in real time, so the agent can answer real-time questions about open interest, funding rates, liquidations and more.

Which Metrics Can the Skill Help Interpret?

For example, open interest, funding rates, long/short ratios, liquidations and ETF flows, as well as cycle indicators such as AHR999, NUPL and RHODL. Based on these, the agent can assess market sentiment and leverage levels.

Next Steps

After integration, you can go further:

  • Build a complete data pipeline with MCP
  • Build internal analytics tools
  • Develop market monitoring systems
  • Create your own AI research assistant
  • Build reusable market analysis workflows

Related Docs