Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

indexPriceKlines

Retrieve candlestick chart data for cryptocurrency index prices to analyze market trends and price movements over specified time periods.

Instructions

Kline/candlestick bars for the index price of a pair.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endTimeNoEnd time in ms
intervalYesKline interval
limitNoNumber of results. Default 500, max 1500.
pairYesTrading pair, e.g., BTCUSDT
startTimeNoStart time in ms

Implementation Reference

  • Handler for the 'indexPriceKlines' tool. Dispatches a GET request to the '/fapi/v1/indexPriceKlines' endpoint using the shared makeRequest function with tool arguments.
    case 'indexPriceKlines': return makeRequest('GET', '/fapi/v1/indexPriceKlines', args);
  • src/index.ts:122-136 (registration)
    Tool registration in the MCP ListTools response, defining name, description, and input schema for 'indexPriceKlines'.
    { name: 'indexPriceKlines', description: 'Kline/candlestick bars for the index price of a pair.', inputSchema: { type: 'object', properties: { pair: { type: 'string', description: 'Trading pair, e.g., BTCUSDT' }, interval: { type: 'string', description: 'Kline interval' }, startTime: { type: 'number', description: 'Start time in ms' }, endTime: { type: 'number', description: 'End time in ms' }, limit: { type: 'number', description: 'Number of results. Default 500, max 1500.' }, }, required: ['pair', 'interval'], }, },
  • Input schema for validating arguments to the 'indexPriceKlines' tool.
    inputSchema: { type: 'object', properties: { pair: { type: 'string', description: 'Trading pair, e.g., BTCUSDT' }, interval: { type: 'string', description: 'Kline interval' }, startTime: { type: 'number', description: 'Start time in ms' }, endTime: { type: 'number', description: 'End time in ms' }, limit: { type: 'number', description: 'Number of results. Default 500, max 1500.' }, }, required: ['pair', 'interval'], },

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