360 Secure SkillHub
360 安全技能中心

CoinGecko

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

分类:数据
olisim02
olisim02
热度 53.46
最近更新 2026-06-14 17:04:23

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add olisim02/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.