get_top_gainers_losers
Identify the top price gainers and losers in cryptocurrency markets over a chosen time window and market cap range, returning sorted lists for analysis.
Instructions
Get the biggest price movers (gainers and losers) over a time window.
NOTE: This endpoint typically requires a CoinGecko API key (Demo tier is
fine). Without a key it may return an error — fall back to list_top_coins
and sort client-side if so.
Args: vs_currency: Quote currency. duration: Time window for price change. top_coins: Universe to scan — "300", "500", "1000", or "all".
Returns:
Object with top_gainers and top_losers arrays of coin objects
including usd_24h_change (or whichever duration you chose).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vs_currency | No | usd | |
| duration | No | 24h | |
| top_coins | No | 1000 |