Skip to main content
Glama

Cryptocurrency Market Data MCP Server

by Nayshins
MIT License
54
  • Apple

get-historical-ohlcv

Fetch historical OHLCV (open, high, low, close, volume) data for cryptocurrency trading pairs across multiple exchanges, enabling analysis of market trends and price movements. Specify symbol, timeframe, and days back for tailored results.

Instructions

Get historical OHLCV (candlestick) data for a trading pair

Input Schema

NameRequiredDescriptionDefault
days_backNoNumber of days of historical data to fetch (default: 7, max: 30)
exchangeNoExchange to use (supported: binance, coinbase, kraken, kucoin, hyperliquid, huobi, bitfinex, bybit, okx, mexc)binance
symbolYesTrading pair symbol (e.g., BTC/USDT, ETH/USDT)
timeframeNoTimeframe for candlesticks (e.g., 1m, 5m, 15m, 1h, 4h, 1d)1h

Input Schema (JSON Schema)

{ "properties": { "days_back": { "default": 7, "description": "Number of days of historical data to fetch (default: 7, max: 30)", "maximum": 30, "type": "number" }, "exchange": { "default": "binance", "description": "Exchange to use (supported: binance, coinbase, kraken, kucoin, hyperliquid, huobi, bitfinex, bybit, okx, mexc)", "enum": [ "binance", "coinbase", "kraken", "kucoin", "hyperliquid", "huobi", "bitfinex", "bybit", "okx", "mexc" ], "type": "string" }, "symbol": { "description": "Trading pair symbol (e.g., BTC/USDT, ETH/USDT)", "type": "string" }, "timeframe": { "default": "1h", "description": "Timeframe for candlesticks (e.g., 1m, 5m, 15m, 1h, 4h, 1d)", "enum": [ "1m", "5m", "15m", "1h", "4h", "1d" ], "type": "string" } }, "required": [ "symbol" ], "type": "object" }

Other Tools from Cryptocurrency Market Data MCP Server

Related Tools

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/Nayshins/mcp-server-ccxt'

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