Get Candles
get_candlesGet OHLC candlestick data for any Poloniex trading pair at your chosen interval. Specify symbol, interval, and optional time range.
Instructions
Fetch OHLC candlestick data for a symbol at a given interval. Public — no credentials required.
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": {
"symbol": "<symbol>",
"interval": "<interval>"
},
"name": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of candles to return (default 100, max 500). | |
| symbol | Yes | Trading pair in Poloniex format, e.g. "BTC_USDT". | |
| endTime | No | End time filter in epoch milliseconds. | |
| interval | Yes | Candle interval, e.g. MINUTE_1, HOUR_1, DAY_1. | |
| startTime | No | Start time filter in epoch milliseconds. |