TradeMind API v2 — 所有端点需携带 API Key(Free 或 Premium)
在请求头中添加 X-API-Key: YOUR_KEY 或 URL 参数 ?api_key=YOUR_KEY。
curl -H "X-API-Key: tm-xxxxxxxxxxxxxxxx" https://easykai.cn/api/v2/stock/600519/full
curl -H "X-API-Key: YOUR_KEY" https://easykai.cn/api/v2/stock/600519/quote
curl -H "X-API-Key: YOUR_KEY" https://easykai.cn/api/v2/stock/600519/full
curl -H "X-API-Key: YOUR_KEY" "https://easykai.cn/api/v2/backtest/600519?strategy=macd&days=252"
curl -H "X-API-Key: YOUR_KEY" https://easykai.cn/api/v2/strategies/compare/600519
curl -H "X-API-Key: YOUR_KEY" https://easykai.cn/api/v2/etf/510050
curl -H "X-API-Key: YOUR_KEY" https://easykai.cn/api/v2/cb/110044
curl -H "X-API-Key: YOUR_KEY" "https://easykai.cn/api/v2/scan?top=5"
curl -H "X-API-Key: YOUR_KEY" https://easykai.cn/api/v2/financials/600519
curl -H "X-API-Key: YOUR_KEY" https://easykai.cn/api/v2/alerts
curl -H "X-API-Key: YOUR_KEY" https://easykai.cn/api/v2/ask/600519
{
"success": true,
"timestamp": "2026-04-28T14:00:00",
"data": {
...
}
}
错误时返回: {"success": false, "error": "message", "timestamp": "..."}