Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cmc-api-market

БесплатноБез исполняемых скриптовНе проверен

API reference for CoinMarketCap market-wide endpoints including global metrics, fear/greed, indices, trending topics, and charts. Use this skill whenever the…

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

CoinMarketCap Market API Skill

This skill covers market-wide cryptocurrency data including global metrics, sentiment indicators, market indices, community activity, news content, charting data, and utility endpoints.

Authentication

All requests require the X-CMC_PRO_API_KEY header.

curl -X GET "https://pro-api.coinmarketcap.com/v1/global-metrics/quotes/latest" \
  -H "X-CMC_PRO_API_KEY: your-api-key"

Get your API key at: https://pro.coinmarketcap.com/login

Base URL

https://pro-api.coinmarketcap.com

Common Use Cases

See use-cases.md for goal-based guidance on which endpoint to use:

  1. Get current market sentiment (Fear & Greed)
  2. Get total crypto market cap
  3. Get BTC dominance
  4. Track market cap history
  5. Track Fear & Greed history
  6. Get CMC100 index performance
  7. Compare CMC100 vs CMC20
  8. Get OHLCV candlestick data for charts
  9. Get simple price time series
  10. Get community trending tokens
  11. Get trending discussion topics
  12. Get latest crypto news
  13. Convert currency amounts
  14. Check API usage and limits
  15. Get fiat currency IDs

API Overview

Global Metrics

Endpoint Description Reference
GET /v1/global-metrics/quotes/historical Historical global market metrics global-metrics.md
GET /v1/global-metrics/quotes/latest Latest total market cap, BTC dominance global-metrics.md

Fear and Greed Index

Endpoint Description Reference
GET /v3/fear-and-greed/historical Historical fear/greed values fear-greed.md
GET /v3/fear-and-greed/latest Current market sentiment score fear-greed.md

Market Indices

Endpoint Description Reference
GET /v3/index/cmc100-historical CMC100 index history indices.md
GET /v3/index/cmc100-latest CMC100 current value indices.md
GET /v3/index/cmc20-historical CMC20 index history indices.md
GET /v3/index/cmc20-latest CMC20 current value indices.md

Community

Endpoint Description Reference
GET /v1/community/trending/token Trending tokens by community activity community.md
GET /v1/community/trending/topic Trending discussion topics community.md

Content

Endpoint Description Reference
GET /v1/content/latest Latest news and Alexandria articles content.md
GET /v1/content/posts/comments Comments on a specific post content.md
GET /v1/content/posts/latest Latest community posts content.md
GET /v1/content/posts/top Top ranked community posts content.md

K-Line Charts

Endpoint Description Reference
GET /v1/k-line/candles OHLCV candlestick data kline.md
GET /v1/k-line/points Time series price/market cap points kline.md

Tools

Endpoint Description Reference
GET /v1/fiat/map Map fiat currencies to CMC IDs tools.md
GET /v1/key/info API key usage and plan details tools.md
GET /v2/tools/price-conversion Convert between currencies tools.md

Common Workflows

Get Market Sentiment Overview

  1. Fetch fear/greed index: /v3/fear-and-greed/latest
  2. Get global metrics: /v1/global-metrics/quotes/latest
  3. Combine for sentiment analysis with market cap context

Track Market Index Performance

  1. Get current CMC100 value: /v3/index/cmc100-latest
  2. Fetch historical data: /v3/index/cmc100-historical
  3. Compare performance over time

Monitor Community Activity

  1. Check trending tokens: /v1/community/trending/token
  2. Review trending topics: /v1/community/trending/topic
  3. Read latest posts: /v1/content/posts/top

Build Price Charts

  1. Fetch OHLCV candles: /v1/k-line/candles
  2. Use interval parameter for timeframe (1h, 4h, 1d)
  3. Plot candlestick chart with returned data

Currency Conversion

  1. Get fiat currency IDs: /v1/fiat/map
  2. Convert amounts: /v2/tools/price-conversion

Error Handling

Status Code Meaning Action
400 Bad Request Check parameter values and format
401 Unauthorized Verify API key is valid
403 Forbidden Endpoint not available on your plan
429 Rate Limited Wait and retry with backoff
500 Server Error Retry aft
Полный SKILL.md на GitHub

Установить cmc-api-market в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read

Вложенные файлы

SOURCE.mdTRUST.auto.yaml_meta.jsonreferences/community.mdreferences/content.mdreferences/fear-greed.mdreferences/global-metrics.mdreferences/indices.mdreferences/kline.mdreferences/tools.mdreferences/use-cases.md

FAQ

Что делает скилл cmc-api-market?

API reference for CoinMarketCap market-wide endpoints including global metrics, fear/greed, indices, trending topics, and charts. Use this skill whenever the user mentions market API, asks about fear/greed index, wants global metrics or BTC dominance data, needs k-line charts, or is working with market sentiment. This is the complete reference for CMC market-wide API questions. Trigger: "market API", "fear greed API", "global metrics API", "CMC charts API", "/cmc-api-market"

Как установить скилл cmc-api-market?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cmc-api-market запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cmc-api-market с