get_price_history
Retrieve historical Bitcoin prices by date range and hourly or daily granularity for analysis or charting.
Instructions
Get historical Bitcoin prices
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (YYYY-MM-DD) | |
| from | No | Start date (YYYY-MM-DD) | |
| granularity | No | Data granularity (default: day). For calendar-month averages use get_monthly_averages |