✓ Verified
💻 Development
✓ Enhanced Data
Crypto Prices
Fetch live cryptocurrency and commodity prices using the local `crypto_prices.py` module.
- Rating
- 4.2 (318 reviews)
- Downloads
- 20,381 downloads
- Version
- 1.0.0
Overview
Fetch live cryptocurrency and commodity prices using the local `crypto_prices.py` module.
Complete Documentation
View Source →Skill: crypto-prices
Purpose
Fetch live cryptocurrency and commodity prices using the localcrypto_prices.py module. This is your single source of truth for all price data — never use web search for prices.When to Use
- Boss Man asks "what's BTC at?" or "price of gold" or any price query
- You need current prices for market analysis, morning protocol, or any report
- Anytime you're about to quote a price in conversation
How to Execute
Single Price Lookup
bash
cd ~/clawd && python3 -c "
from crypto_prices import fetch_live_price, format_price_text
data = fetch_live_price('COIN_NAME')
if data:
print(format_price_text(data))
# Full details available in data dict:
# data['price'], data['change_24h'], data['change_7d'], data['change_30d']
# data['market_cap'], data['volume_24h'], data['high_24h'], data['low_24h']
# data['ath'], data['ath_change_pct'], data['source']
else:
print('Price unavailable — all providers failed')
"
Multiple Price Lookup (Batch)
bash
cd ~/clawd && python3 -c "
from crypto_prices import fetch_multiple_prices, format_prices_block
prices = fetch_multiple_prices(['bitcoin', 'ethereum', 'xrp', 'sui', 'gold', 'silver'])
print(format_prices_block(prices))
"
Quick Price (Minimal Output)
bash
cd ~/clawd && python3 -c "
from crypto_prices import fetch_live_price
d = fetch_live_price('COIN_NAME')
if d: print(f\"{d['symbol']}: \${d['price']:,.6g} ({d['change_24h']:+.2f}%)\")
"
Supported Assets
| Input | Resolves To | Source |
|---|---|---|
| btc, bitcoin | bitcoin | CoinGecko |
| eth, ethereum | ethereum | DexScreener → CoinGecko |
| xrp, ripple | ripple | DexScreener → CoinGecko |
| sui | sui | CoinGecko |
| sol, solana | solana | CoinGecko |
| gold, xau | gold | Yahoo Finance → CoinGecko |
| silver, xag | silver | Yahoo Finance → CoinGecko |
| doge, ada, dot, avax, link, matic | various | CoinGecko |
Provider Chain
- Cache (60s TTL) — serves instantly if fresh
- Yahoo Finance — metals only (gold/silver), most reliable for commodities
- CoinGecko full — comprehensive data (price, 24h/7d/30d change, ATH/ATL, market cap)
- CoinGecko simple — lighter endpoint if full is rate-limited
- DexScreener — DEX-based failover for crypto (ETH and XRP try this first)
Rules
- NEVER use Brave Search for prices — it returns stale article snippets, not live data
- NEVER guess or hallucinate prices — if all providers fail, say "price unavailable"
- Cache is 60 seconds — calling twice within a minute is free
- Rate limits: CoinGecko ~10 req/min, DexScreener ~60 req/min
- For batch queries, the module handles delays automatically
Installation
Terminal bash
openclaw install crypto-prices
Copied!
💻Code Examples
### Single Price Lookup
-single-price-lookup.sh
cd ~/clawd && python3 -c "
from crypto_prices import fetch_live_price, format_price_text
data = fetch_live_price('COIN_NAME')
if data:
print(format_price_text(data))
# Full details available in data dict:
# data['price'], data['change_24h'], data['change_7d'], data['change_30d']
# data['market_cap'], data['volume_24h'], data['high_24h'], data['low_24h']
# data['ath'], data['ath_change_pct'], data['source']
else:
print('Price unavailable — all providers failed')
"### Multiple Price Lookup (Batch)
-multiple-price-lookup-batch.sh
cd ~/clawd && python3 -c "
from crypto_prices import fetch_multiple_prices, format_prices_block
prices = fetch_multiple_prices(['bitcoin', 'ethereum', 'xrp', 'sui', 'gold', 'silver'])
print(format_prices_block(prices))
"### Quick Price (Minimal Output)
-quick-price-minimal-output.sh
cd ~/clawd && python3 -c "
from crypto_prices import fetch_live_price
d = fetch_live_price('COIN_NAME')
if d: print(f\"{d['symbol']}: \${d['price']:,.6g} ({d['change_24h']:+.2f}%)\")
"Tags
#web_and-frontend-development
Quick Info
Category Development
Model Claude 3.5
Complexity One-Click
Author ryandeangraves
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install crypto-prices
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0