Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

historicalTrades

Retrieve past cryptocurrency market trades from Aster Finance to analyze trading patterns and market activity for informed decision-making.

Instructions

Get older market historical trades.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromIdNoTradeId to fetch from.
limitNoNumber of results. Default 500, max 1000.
symbolYesTrading symbol

Implementation Reference

  • Handler for the historicalTrades tool. Dispatches a GET request to the Aster API endpoint '/fapi/v1/historicalTrades' with provided arguments using the shared makeRequest utility.
    case 'historicalTrades': return makeRequest('GET', '/fapi/v1/historicalTrades', args);
  • Input schema definition for the historicalTrades tool, specifying parameters like symbol (required), limit, and fromId.
    inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'Trading symbol' }, limit: { type: 'number', description: 'Number of results. Default 500, max 1000.' }, fromId: { type: 'number', description: 'TradeId to fetch from.' }, }, required: ['symbol'], },
  • src/index.ts:79-91 (registration)
    Tool registration entry for historicalTrades in the listTools response, including name, description, and input schema.
    { name: 'historicalTrades', description: 'Get older market historical trades.', inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'Trading symbol' }, limit: { type: 'number', description: 'Number of results. Default 500, max 1000.' }, fromId: { type: 'number', description: 'TradeId to fetch from.' }, }, required: ['symbol'], }, },

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/questflowai/aster-mcp-server'

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