Candle (OHLCV) tool reference
This page is the tool reference for** retrieving candle (OHLCV) data from the Cryptohopper Market Data MCP**.
Tool name
get_candles
Purpose
Returns a series of OHLCV (Open, High, Low, Close, Volume) candles for a specified pair on a specified exchange at a specified timeframe. Supports current (real-time) candles on all tiers and historical candles on Explorer, Adventurer, and Hero.
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
| exchange | string | Yes | Exchange identifier (lowercase). See supported exchanges. |
| pair | string | Yes | Pair in BASE/QUOTE format. |
| timeframe | string | Yes | Bar size. See supported timeframes below. |
| limit | integer | No | Number of candles to return. Default and maximum are tier-dependent. |
| since | string (ISO-8601) | No | Start time for historical queries. If omitted, returns the most recent limit bars. |
Either limit alone (recent bars) or since + limit (historical range) may be used. limit alone is the common case.
Supported timeframes
| Value | Duration |
|---|---|
| 1m | 1 minute |
| 5m | 5 minutes |
| 15m | 15 minutes |
| 1h | 1 hour |
| 4h | 4 hours |
| 1d | 1 day |
Weekly, monthly, and other timeframe aliases are not supported and will be rejected. Not every supported timeframe is available on every exchange. Unsupported combinations return TIMEFRAME_NOT_SUPPORTED.
Response schema
{
"exchange": "binance",
"pair": "BTC/USDT",
"timeframe": "1h",
"candles": [
[1778540400000, 80214.00, 80820.50, 80120.00, 80651.42, 412.85, 318],
[1778544000000, 80651.42, 80936.22, 80590.00, 80934.19, 298.12, 274]
]
}