Skip to main content
Glama

get_trade_history

Retrieve detailed tick-by-tick trade history with filtering by instrument, currency, time range, and transaction status. Supports pagination for accessing specific trades.

Instructions

Get tick-by-tick trade history with detailed trade information (price, size, buyer/seller, timestamp). Supports filtering and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instrument_nameNoFilter by specific instrument name (optional)
currencyNoFilter by currency (optional)
instrument_typeNoFilter by instrument type
from_timestampNoEarliest timestamp in milliseconds since Unix epoch (default 0)
to_timestampNoLatest timestamp in milliseconds since Unix epoch (default now)
pageNoPage number (default 1)
page_sizeNoResults per page (default 100, max 1000)
trade_idNoGet specific trade by ID (overrides other filters)
tx_hashNoGet trade by on-chain transaction hash
tx_statusNoFilter by transaction status

Latest Blog Posts

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/solenyaresearch0000/derive-MCP'

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