360 Secure SkillHub
360 安全技能中心

CoinGecko

该 Skill 封装 CoinGecko 免费 API(无需密钥,约 30 次/分钟),提供四个 Python 脚本:按币种 ID 查价格与市值、按名称/代码搜索币种、按合约地址查代币、查看趋势币种,结果以文本形式输出。

olisim02
olisim02
热度 92.84
最近更新 2026-06-14 17:04:23
分类:数据依赖:代码执行 / 第三方 API应用场景:财务 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add coingecko
Metadata
name
coingecko
description
Fetch crypto prices, market data, and token info from the CoinGecko free API. Use when the user asks about crypto prices, market caps, 24h changes, trending coins, or token lookups. Covers BTC, ETH, SOL, and thousands of altcoins. Also supports Solana token lookups by contract address.

CoinGecko Crypto Price Skill

Fetches crypto market data from the CoinGecko free API (no key required, ~30 req/min rate limit).

Commands

Price check (one or more coins)

python3 scripts/price.py bitcoin ethereum solana

Returns: price, 24h change, market cap, volume for each coin.

Search for a coin by name/ticker

python3 scripts/search.py "pepe"

Returns: matching coin IDs, symbols, and market cap ranks.

Token lookup by contract address (Solana, Ethereum, etc.)

python3 scripts/token.py solana <contract_address>

Returns: token name, price, 24h change, market cap, liquidity info.

Trending coins

python3 scripts/trending.py

Returns: top trending coins on CoinGecko.

Coin IDs

CoinGecko uses slug IDs (e.g., bitcoin, ethereum, solana, dogecoin). Use search.py to find the correct ID if unsure.

Rate Limits

Free API: ~30 calls/min. Cache results when doing bulk lookups. Avoid calling in tight loops.