Skip to main content
Glama

CCXT MCP Server

get-ohlcv

Fetch OHLCV candlestick data for any trading pair across multiple exchanges using specific timeframes and limits. Perfect for analyzing market trends and historical performance.

Instructions

Get OHLCV candlestick data for a trading pair

Input Schema

NameRequiredDescriptionDefault
exchangeYesExchange ID (e.g., binance, coinbase)
limitNoNumber of candles to fetch (max 1000)
symbolYesTrading pair symbol (e.g., BTC/USDT)
timeframeNoTimeframe (e.g., 1m, 5m, 1h, 1d)1d

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "exchange": { "description": "Exchange ID (e.g., binance, coinbase)", "type": "string" }, "limit": { "default": 100, "description": "Number of candles to fetch (max 1000)", "type": "number" }, "symbol": { "description": "Trading pair symbol (e.g., BTC/USDT)", "type": "string" }, "timeframe": { "default": "1d", "description": "Timeframe (e.g., 1m, 5m, 1h, 1d)", "type": "string" } }, "required": [ "exchange", "symbol" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/doggybee/mcp-server-ccxt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server