get_price_percentage
Calculate the percentage change in cryptocurrency prices over a specified period by providing token details and optional timestamp. Designed for tracking price trends without managing individual API keys.
Instructions
GET /coins/percentage/{coins}
Get percentage change in price over time.
Parameters:
coins: comma-separated tokens in format {chain}:{address}
timestamp: timestamp of data point (defaults to now)
look_forward: whether to look forward from timestamp (default: False)
period: duration between data points (default: '24h')
Input Schema
Name | Required | Description | Default |
---|---|---|---|
coins | Yes | ||
look_forward | No | ||
period | No | 24h | |
timestamp | No |
Input Schema (JSON Schema)
{
"properties": {
"coins": {
"title": "Coins",
"type": "string"
},
"look_forward": {
"default": false,
"title": "Look Forward",
"type": "boolean"
},
"period": {
"default": "24h",
"title": "Period",
"type": "string"
},
"timestamp": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Timestamp"
}
},
"required": [
"coins"
],
"title": "get_price_percentageArguments",
"type": "object"
}