API access
Personal API keys for REST and MCP. Limit what AI tools can read or write in your trading journal. Available on Pro. Manage keys in Settings → API keys.
Authentication
Send Authorization: Bearer et_live_… on product routes under https://www.enduretrade.com/api/… (including hosted MCP at https://www.enduretrade.com/api/mcp). The full token is shown once when you create a key.
Permissions
Each key has create / read / update / delete flags for strategies, memos, journal sessions, trades, trade messages, and trade tags. Read covers both list and get-by-id. There is no inheritance: session write does not grant trade create, and tradeMessage is separate from trade (you can append review notes without trade create). Screenshots use trade-message permissions (read for signed URLs; create or update to upload). Introspect the current credential with GET /api/api-keys/me.
Algo tools are separate from the journal resources above. An API key needs algo.read to read the contract and drafts, plus create, update, or delete on algo for writes, and algoBacktest for backtests. A signed-in browser session needs the algo role. Keys created before a permission existed do not receive it until you enable it on that key.
Resources
Core paths: /api/journal-sessions, /api/trades (includeMessages=true embeds notes on that page; default off, and API keys need tradeMessage.read), /api/trades/:id/messages, /api/trade-messages, /api/memos, /api/strategies, /api/trade-tags, /api/api-keys/me, /api/storage/trade-screenshot-signed-url, /api/storage/memo-signed-urls. Session–memo links: /api/journal-sessions/:id/memos. OpenAPI: document/api/openapi.yaml in the repository.
AI / MCP
See MCP setup for the hosted /api/mcp endpoint, tool list (including journal session, trade, memo, strategy, trade-tag, and trade-message create/update/delete), and a copy-paste prompt for your assistant.
Example curl
curl -H "Authorization: Bearer et_live_…" \ "https://www.enduretrade.com/api/journal-sessions?limit=20"