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.
| Item | Details |
|---|---|
| Repository | github.com/coinglass-official/coinglass-api-skills |
| Installation | npx skills add https://github.com/coinglass-official/coinglass-api-skills (requires Node.js 22.20.0 or later for [email protected]) |
| Purpose | Understand questions, choose endpoints, interpret metrics |
| Recommended pairing | The MCP service fetches the data; the Skill handles understanding and analysis |
| Coverage | Futures, spot, options, ETF, on-chain, indicators, other (financial calendar, news) and account: 26 sub-skills containing API.md (as of 2026-10-29 UTC) |
| License | MIT |
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-skillsInstallation 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-skillsThe repository root is the skill directory, and the entry file is SKILL.md. Cloning it into ~/.claude/skills/ makes it available in all projects; placing it in .claude/skills/ inside a project makes it available in that project only:
git clone https://github.com/coinglass-official/coinglass-api-skills \
~/.claude/skills/coinglass-api-skills- Open the GitHub repository, click the Code button in the top-right corner, and select Download ZIP.
- Upload the extracted files to your target platform or tool.
- Follow the instructions of that platform or tool to complete setup and installation.
Cursor Skills installation guide:
https://cursor.com/docs/skills
Claude Skills installation guide:
https://support.claude.com/en/articles/12512180-use-skills-in-claude
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:
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.
“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
“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
“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
“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
“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
“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.
- Question: Is the altcoin market overheated right now? Please explain your reasoning.
- Skill routing: Identifies it as a “market sentiment + leverage level” question and enters two sub-skills: “Indicators” and “Futures.”
- 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.
- 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 Only | Skill + MCP | |
|---|---|---|
| Choosing endpoints | The model decides on its own from the tool descriptions and may choose wrongly for complex questions | Chosen according to the routing table and sub-skill instructions |
| Parameters and API plan limits | Easy to pass the wrong interval or exceed the history range of your API plan | Sub-skills specify parameter values and the intervals and history length for each API plan |
| Metric interpretation | Relies on the model's general knowledge | Interpreted according to CoinGlass metric definitions and assessment frameworks |
| Best for | Simple single-item queries | Multi-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
- CoinGlass MCP (Beta): query CoinGlass data in real time from AI tools
- llms.txt and Markdown: let AI tools read the docs
- Endpoint Overview: all REST endpoints at a glance
- Exchanges and Trading Pairs: supported exchanges
