Skip to main content
Glama

aster-info-mcp

MIT License

get_aggregated_trades

Retrieve aggregated trades data for specific trading pairs, including price, quantity, and timestamps, formatted as a Markdown table. Customize queries by trade ID, time range, or limit using the Aster Finance API.

Instructions

Fetch aggregated trades data from Aster Finance API and return as Markdown table text. Parameters: symbol (str): Trading pair symbol (e.g., 'BTCUSDT', 'ETHUSDT'). Case-insensitive. fromId (Optional[int]): Aggregated trade ID to start from. If None, uses time-based query or most recent trades. startTime (Optional[int]): Start time in milliseconds since Unix epoch. If None, defaults to API behavior. endTime (Optional[int]): End time in milliseconds since Unix epoch. If None, defaults to API behavior. limit (Optional[int]): Number of aggregated trades to return (1 to 1000). If None, defaults to 500. Returns: str: Markdown table containing aggTradeId, price, qty, firstTradeId, lastTradeId, time, and isBuyerMaker. Raises: Exception: If the API request fails or data processing encounters an error.

Input Schema

NameRequiredDescriptionDefault
endTimeNo
fromIdNo
limitNo
startTimeNo
symbolYes

Input Schema (JSON Schema)

{ "properties": { "endTime": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Endtime" }, "fromId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Fromid" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Limit" }, "startTime": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Starttime" }, "symbol": { "title": "Symbol", "type": "string" } }, "required": [ "symbol" ], "title": "get_aggregated_tradesArguments", "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/kukapay/aster-info-mcp'

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