alphasmo 公開 REST API —— 依 IP 提供免登入的免費額度,使用 API 金鑰可提升限額。
免註冊即可使用,額度較低。
curl https://alphasmo.com/api/v1/institutions取得免費 API 金鑰以提升使用額度。
curl -H "X-API-Key: <your-key>" https://alphasmo.com/api/v1/institutions文件暫時無法取得。
alphasmo npm 套件內建的命令列工具——免註冊、免 API 金鑰即可試用。
npx alphasmo stocks get AAPL| 指令 | 說明 |
|---|---|
| alphasmo institutions search <query> | 依名稱搜尋 13F 機構。 |
| alphasmo institutions get <slug> | 完整機構檔案與類股權重。 |
| alphasmo institutions holdings <slug> | 機構目前的 13F 持股。 |
| alphasmo stocks get <identifier> | 完整個股資料——持有機構數、資金流向、主要持有者。 |
| alphasmo stocks flows [-d buy|sell] | 依機構淨買賣流向排序的個股。 |
| alphasmo insider trades <ticker> | 個股近期的 Form 4 內部人交易紀錄。 |
| alphasmo insider summary <ticker> | 個股的內部人信心分數(30天/90天)。 |
| alphasmo convergence | 機構與內部人同步買進的個股。 |
供 AI 代理程式使用(Claude Code、Claude Desktop、Cursor 等),不是給人直接輸入的——直接輸入請用上方的 CLI。以可呼叫工具的形式提供同一份數據。
npx -y alphasmo@latest mcp將以下設定加入你的 MCP 用戶端伺服器設定:
{
"mcpServers": {
"alphasmo": {
"command": "npx",
"args": ["-y", "alphasmo@latest", "mcp"]
}
}
}| 工具 | 說明 |
|---|---|
| search_institutions | 依名稱搜尋機構投資人。 |
| get_institution_profile | 取得機構的檔案——類別、經理人、資產規模、投資風格分數。 |
| get_institution_holdings | 取得機構目前的 13F 持股。 |
| get_stock_overview | 取得個股的機構持有概況——持有機構數、淨流向、熱門度排名。 |
| get_stock_flows | 取得依機構淨流向排序的買超或賣超個股。 |
| get_insider_activity | 取得個股的 Form 4 內部人交易活動。 |
| get_smart_money_convergence | 取得機構與內部人同步買進的個股。 |