get_token_chart_data
Retrieve bar chart data for token price changes over time using either a pair or token address.
Instructions
Returns bar chart data to track token price changes over time. Can be queried using either a pair address or token address.
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": {
"networkId": "<networkId>",
"address": "<address>",
"resolution": "<resolution>",
"from": "<from>",
"to": "<to>"
},
"name": "get_token_chart_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | Unix timestamp | |
| address | Yes | The pair address or token address to get chart data for. If a token address is provided, the token's top pair will be used. | |
| countback | No | ||
| networkId | Yes | The network ID the pair or token is on | |
| statsType | No | The type of statistics returned. Can be FILTERED or UNFILTERED | |
| quoteToken | No | The token of interest (token0 or token1) | |
| resolution | Yes | The time frame for each candle. Available options are 1, 5, 15, 30, 60, 240, 720, 1D, 7D | |
| symbolType | No | ||
| currencyCode | No | ||
| removeEmptyBars | No | ||
| removeLeadingNullValues | No |