get-crypto-price
Installation
SKILL.md
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.,
BTCUSDTon Binance,bitcoinon CoinGecko).
1) CoinGecko (recommended for simple historical ranges)
- Current price (curl):