Skip to main content
Glama

aster-info-mcp

by kukapay
MIT License

get_kline

Fetch candlestick data for trading pairs via Aster Finance API, formatted as a Markdown table. Specify symbol, interval, time range, and limit to retrieve open, high, low, and close prices.

Instructions

Fetch Kline/Candlestick data from Aster Finance API and return as Markdown table text. Parameters: symbol (str): Trading pair symbol (e.g., 'BTCUSDT', 'ETHUSDT'). 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
startTimeNo
symbolYes

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" }, "startTime": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Starttime" }, "symbol": { "title": "Symbol", "type": "string" } }, "required": [ "symbol", "interval" ], "title": "get_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