Install
openclaw skills install crypto-pricesFetch live cryptocurrency and commodity prices from verified sources with caching and fallback, ensuring accurate and up-to-date market data.
openclaw skills install crypto-pricesFetch live cryptocurrency and commodity prices using the local crypto_prices.py module. This is your single source of truth for all price data — never use web search for prices.
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')
"
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))
"
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}%)\")
"
| 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 |