get-crypto-price
Fetch current and historical crypto prices and compute ATH or ATL over common time windows.
npx skills add majiayu000/claude-skill-registry --skill get-crypto-price --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Get Crypto Price (minimal guide) This short guide shows how to fetch current prices and at least 3 months of past price action using CoinGecko, Binance, and Coinbase public APIs. It also shows how to compute ATH (highest) and ATL (lowest) within time windows: 1 DAY, 1 WEEK, 1 MONTH. --- ## Quick notes - Timestamps: many APIs return milliseconds since epoch (ms) or seconds (s). Convert consistently. - Rate limits: respect exchange rate limits; cache responses when possible. - Symbols: use canonical pair symbols (e.g., `BTCUSDT` on Binance, `bitcoin` on CoinGecko). --- ## 1) CoinGecko (recommended for simple historical ranges) - Current price (curl): ```bash curl "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd" ``` - Last 90 days (price history): ```bash curl "https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=90" ``` Response contains `prices` array: [[timestamp_ms, price], ...]. **Node.js:** Fetch 90 days and compute ATH/ATL for 1d/7d/30d windows. ```javascript async function fetchCoinGeckoPrices(coinId = 'bitcoin', vs = 'usd', days = 90) { const url = `https://api.coingecko.com/api/v3/coins/${coinId}/market_chart`; const
- Quick notes
- 1) CoinGecko (recommended for simple historical ranges)
- 2) Binance (exchange-level data)
- 3) Coinbase (public example)
- 4) Compute ATH / ATL for a timeframe (1 DAY, 1 WEEK, 1 MONTH)
- 5) Practical tips
- 6) Example workflow (summary)
curl "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd" curl "https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=90" curl "https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT" daily candles for BTCUSDT (limit up to 1000 rows) curl "https://api.binance.com/api/v3/klines?symbol=BTCUSDT&interval=1d&limit=1000" curl "https://api.coinbase.com/v2/prices/BTC-USD/spot" curl "https://api.exchange.coinbase.com/products/BTC-USD/candles?granularity=3600&start=2025-11-01T00:00:00Z&end=2026-02-01T00:00:00Z"
What does the get-crypto-price skill do?
Fetch current and historical crypto prices and compute ATH or ATL over common time windows.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill get-crypto-price --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
