get_coins_top_gainers_losers
Retrieve the top 30 cryptocurrencies with the largest price gains and losses over a specified time duration. Use the jq_filter parameter to customize and optimize the response data for better performance.
Instructions
When using this tool, always use the jq_filter
parameter to reduce the response size and improve performance.
Only omit if you're sure you don't need the data.
This endpoint allows you to query the top 30 coins with largest price gain and loss by a specific time duration
Response Schema
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration | No | filter result by time range <br> Default value: `24h` | |
jq_filter | No | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field in every object of a results array, you can provide ".results[].name". For more information, see the [jq documentation](https://jqlang.org/manual/). | |
top_coins | No | filter result by market cap ranking (top 300 to 1000) or all coins (including coins that do not have market cap) <br> Default value: `1000` | |
vs_currency | Yes | target currency of coins <br> *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies). |