Skip to main content
Glama

aster-info-mcp

by kukapay
MIT License

get_index_price_kline

Retrieve index price candlestick data (Kline) for specified pairs and intervals, returning a formatted markdown table with open, high, low, and close values.

Instructions

Fetch Index Price Kline/Candlestick data from Aster Finance API and return as Markdown table text. Parameters: pair (str): Index pair (e.g., 'BTCUSD', 'ETHUSD'). Case-insensitive. interval (str): Kline interval (e.g., '1m' for 1 minute, '1h' for 1 hour, '1d' for 1 day). 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 Klines to return (1 to 1500). If None, defaults to 500. Returns: str: Markdown table containing open_time, open, high, low, and close. Raises: Exception: If the API request fails or data processing encounters an error.

Input Schema

NameRequiredDescriptionDefault
endTimeNo
intervalYes
limitNo
pairYes
startTimeNo

Input Schema (JSON Schema)

{ "properties": { "endTime": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Endtime" }, "interval": { "title": "Interval", "type": "string" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Limit" }, "pair": { "title": "Pair", "type": "string" }, "startTime": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Starttime" } }, "required": [ "pair", "interval" ], "title": "get_index_price_klineArguments", "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