Type/to search
Getting Started
Platform Basics
Writing Strategies
Development Tools
Backtesting System
Advanced Topics
Data and Research
Extended API Interface
AI Integration
Create ApiKey
Authentication Methods
Extended API Interface Details
Extended API Interface Return Codes
Live Trading Status Codes

On the Account Settings → API KEY page (/m/account#apikey), click "Create New ApiKey" to get an AccessKey and a SecretKey. The SecretKey carries every permission of the key; keep it secret. The same page lets you change the permissions of existing keys, or disable and delete them.

Permissions

When creating or editing a key, enter a comma-separated list in the "API Permissions" field:

  • *: allow all extended API methods.
  • Method names: allow only the listed methods, e.g. GetRobotList,GetRobotDetail,CommandRobot.
  • !MethodName: exclude a method, usually together with *, e.g. *,!DeleteRobot,!DeleteNode.

The same API KEY can also be used for AI Integration (the MCP service, see AI Integration). Besides method names (tool names for MCP), permissions can be granted by category: read, backtest, write, trade, danger (see the AI Integration page), and !name excludes as well. Categories apply to MCP tools and extended API methods alike. The categories of the extended API methods:

  • read: GetAccount, GetExchangeList, GetNodeList, GetPlatformList, GetRobotGroupList, GetRobotList, GetRobotDetail, GetRobotLogs, GetStrategyList;
  • trade: NewRobot, RestartRobot, StopRobot, CommandRobot, PluginRun;
  • danger: DeleteRobot, DeleteNode.

Order of evaluation: an explicitly listed method name (including a !name exclusion) comes first, then the category, then *. For example, a key with just read can call GetRobotList but not NewRobot; *,!trade allows every method outside the trade category.

With an empty permission list the extended API does not restrict methods (MCP allows every tool except danger). Grant only what each use needs, e.g. a key used only for TradingView alerts should get CommandRobot and nothing else.