market_get_token_history
Retrieve historical price data for any token, including OHLC candlesticks, market cap, and volume. Specify the period (1d to 1y) to analyze market trends.
Instructions
Fetch historical price data for a token from CoinGecko by its coin ID. Returns OHLC candlestick data and market cap/volume history for the specified number of days.
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": {
"token": "<token>"
},
"name": "market_get_token_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token identifier — CoinGecko ID (e.g., 'bitcoin') or chain:address (e.g., 'ethereum:0x...') | |
| period | No | Time period for price history (default: 30d) |