get_coin_gains_and_losses
Calculate cryptocurrency gains and losses over day, week, or month intervals using Coinranking data to track investment performance.
Instructions
Find gains and losses data for a specific coin over different time intervals. On Coinranking we use this endpoint on our coin detail page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uuid": "<uuid>"
},
"name": "get_coin_gains_and_losses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| referenceCurrencyUuid | No | UUID of reference currency, in which all the prices are calculated. Defaults to US Dollar. Default value: yhjMzLPhuIDl | |
| interval | No | Time interval for the gains and losses calculation. Default value: day Allowed values: day week month | |
| limit | No | Number of gains and losses entries to return. Default value: 50 Size range: 0-100 | 0 |
| uuid | Yes | UUID of the coin you want to request. UUIDs of coins can be found using the Get coins endpoint or by checking the URL on coinranking.com, e.g. https://coinranking.com/coin/Qwsogvtv82FCd+bitcoin-btc is the URL for Bitcoin, and the part before the + (Qwsogvtv82FCd) is the UUID. |