✓ Verified 💻 Development ✓ Enhanced Data

Coingecko Price

Query cryptocurrency prices and market data via CoinGecko API.

Rating
4.5 (154 reviews)
Downloads
7,380 downloads
Version
1.0.0

Overview

Query cryptocurrency prices and market data via CoinGecko API.

Complete Documentation

View Source →

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

bash
python3 scripts/crypto-price.py get bitcoin

Get Ethereum Price in CNY

bash
python3 scripts/crypto-price.py get ethereum cny

View Top 10 Cryptocurrencies

bash
python3 scripts/crypto-price.py top 10

Search for a Coin

bash
python3 scripts/crypto-price.py search solana

Commands

search

Search for cryptocurrencies by name or symbol.

Example:

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

get [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:
bash
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:
bash
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:

bash
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

Installation

Terminal bash

openclaw install coingecko-price
    
Copied!

💻Code Examples

Example:

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

Example:

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

Example:

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

Tags

#devops_and-cloud #api #data

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author ouyangabel
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install coingecko-price