get_ohlcv
Retrieve aggregated OHLCV candlestick data for any trading pair across 120+ exchanges. Specify exchange, instrument, and interval (1m, 15m, 1h, or 1d) to get historical price data for analysis.
Instructions
Get aggregated OHLCV candlestick data (1m, 15m, 1h, 1d intervals)
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": {
"exchange": "<exchange>",
"instrument": "<instrument>",
"aggregation": "<aggregation>"
},
"name": "get_ohlcv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End timestamp | |
| from | No | Start timestamp | |
| limit | No | Max results | |
| exchange | Yes | Exchange name | |
| instrument | Yes | Trading pair | |
| aggregation | Yes | Interval: 1m, 15m, 1h, or 1d |