API Token
1 tool in this category.
Overview
API Token includes 1 tool for this workflow area.
Available tools: get_api_token.
Use the parameter tables and examples below as the canonical request contract.
get_api_token
Returns a short-lived, read-only bearer token plus the REST base URL and an example call, so you can write a script that calls the REST API directly (POST {base_url}/api/v1/tools/<tool_name>, same arguments as the MCP tool) instead of calling MCP tools one by one, e.g. to gather bars or indicators for many symbols. ttl_minutes defaults to 15 (max 60); ask again when it expires. The token can only read: tools and routes that change state are refused with 403, and it cannot mint further tokens. Treat it as a secret: pass it to the script through an environment variable, do not print it or write it to files. Calls made with it count against the same rate limits as other API calls. Requires the read capability.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
ttl_minutes | integer | No | — | — |
Example Request
{
"tool": "get_api_token",
"arguments": {}
}