微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📊

实时加密行情 · 万币数据一键查

CoinGecko Price · v1.0.0
专业技能 安全 A 级 作者 ouyangabel 公开目录收录
1.8k 下载 0 安装 8.2k 收藏 3 浏览

简介

免费查询比特币、以太坊等10000+加密货币实时价格与市场数据,支持多币种转换及市值排行

原始描述

Query cryptocurrency prices and market data via CoinGecko API. Use when: (1) checking current crypto prices, (2) viewing market cap rankings, (3) monitoring...

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/coingecko-price/
其它 Agent解压到它自己的 skills 目录,目录名用 coingecko-price

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: crypto-price description: "Query cryptocurrency prices and market data via CoinGecko API. Use when: (1) checking current crypto prices, (2) viewing market cap rankings, (3) monitoring 24h price changes, (4) searching for specific cryptocurrencies, or (5) any crypto price-related queries. Supports BTC, ETH, and 10,000+ coins."

Crypto Price Skill

Query real-time cryptocurrency prices and market data using the free CoinGecko API.

When to Use

  • Check current price of Bitcoin, Ethereum, or any crypto
  • View top cryptocurrencies by market cap
  • Monitor 24-hour price changes
  • Search for specific coins by name or symbol
  • Convert prices to different currencies (USD, CNY, EUR, etc.)

Quick Start

Get Bitcoin Price in USD

python3 scripts/crypto-price.py get bitcoin

Get Ethereum Price in CNY

python3 scripts/crypto-price.py get ethereum cny

View Top 10 Cryptocurrencies

python3 scripts/crypto-price.py top 10

Search for a Coin

python3 scripts/crypto-price.py search solana

Commands

search <keyword>

Search for cryptocurrencies by name or symbol.

Example:

python3 scripts/crypto-price.py search bitcoin
# Output: BTC - Bitcoin, ID: bitcoin

get <coin_id> [currency]

Get price for a specific cryptocurrency.

  • coin_id: The CoinGecko ID (e.g., bitcoin, ethereum, solana)
  • currency: Optional, defaults to 'usd'. Supported: usd, cny, eur, jpy, gbp, krw, etc.

Example:

python3 scripts/crypto-price.py get bitcoin cny
# Output: 💰 BITCOIN
#         价格: ¥460,123.45
#         24h 涨跌: 🟢 +5.23%

top [limit] [currency]

View top cryptocurrencies by market cap.

  • limit: Number of coins to show (1-100), default 10
  • currency: Optional, defaults to 'usd'

Example:

python3 scripts/crypto-price.py top 5 cny
# Shows top 5 coins with prices in CNY

Finding Coin IDs

Use the search command to find the correct coin_id:

python3 scripts/crypto-price.py search "binance"
# Output: BNB - BNB, ID: binancecoin

Popular coin IDs:

  • bitcoin, ethereum, solana, cardano, polkadot
  • ripple (XRP), binancecoin (BNB), dogecoin, chainlink

Notes

  • Uses free CoinGecko API with rate limits
  • If you see "API 请求过于频繁", wait a minute and retry
  • Prices are for reference only, not financial advice

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

cryptocryptocurrencybitcoinethereummarket-dataapifinancetrading

同类 Skill