Skip to main content
Glama

CCXT MCP Server

fetchTrades

Retrieve recent cryptocurrency trades for a specific trading pair and exchange. Specify symbol, exchange ID, and optional parameters like limit or timestamp to fetch precise trading data using the CCXT MCP Server.

Instructions

Fetch recent trades for a symbol on an exchange

Input Schema

NameRequiredDescriptionDefault
exchangeIdYesExchange ID (e.g., 'binance', 'coinbase')
limitNoLimit the number of trades returned (optional)
sinceNoTimestamp in ms to fetch trades since (optional)
symbolYesTrading symbol (e.g., 'BTC/USDT')

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "exchangeId": { "description": "Exchange ID (e.g., 'binance', 'coinbase')", "type": "string" }, "limit": { "description": "Limit the number of trades returned (optional)", "type": "number" }, "since": { "description": "Timestamp in ms to fetch trades since (optional)", "type": "number" }, "symbol": { "description": "Trading symbol (e.g., 'BTC/USDT')", "type": "string" } }, "required": [ "exchangeId", "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/lazy-dinosaur/ccxt-mcp'

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