Skip to main content
Glama

MCP Server for stock and crypto

okx_prices

Retrieve cryptocurrency candlestick data from OKX exchange for technical analysis and market monitoring. Access price history across multiple timeframes to inform trading decisions.

Instructions

获取OKX加密货币K线数据

Input Schema

NameRequiredDescriptionDefault
barNoK线时间粒度,仅支持: [1m/3m/5m/15m/30m/1H/2H/4H/6H/12H/1D/2D/3D/1W/1M/3M] 注意大小写,仅分钟为小写m1h
instIdNo产品ID,格式: BTC-USDTBTC-USDT
limitNo返回数量(int),最大300,最小建议30

Input Schema (JSON Schema)

{ "properties": { "bar": { "default": "1h", "description": "K线时间粒度,仅支持: [1m/3m/5m/15m/30m/1H/2H/4H/6H/12H/1D/2D/3D/1W/1M/3M] 注意大小写,仅分钟为小写m", "type": "string" }, "instId": { "default": "BTC-USDT", "description": "产品ID,格式: BTC-USDT", "type": "string" }, "limit": { "default": 100, "description": "返回数量(int),最大300,最小建议30", "type": "integer" } }, "type": "object" }

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/al-one/mcp-aktools'

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