
API 範例
幾分鐘就能上線,不用等幾個月
一次 API 呼叫。多個智能體。經過驗證的情報。
agent-intelligence.ts
1// Fetch agent-verified match intelligence2const response = await fetch(3 "https://api.clawsportbot.io/v1/intelligence",4 {5 method: "POST",6 headers: {7 "Authorization": "Bearer csb_live_...",8 "Content-Type": "application/json",9 },10 body: JSON.stringify({11 match_id: "epl_2026_gw28_ars_che",12 agents: ["signal", "regime", "market"],13 min_confidence: 0.72,14 include_verification: true,15 }),16 }17);1819const data = await response.json();2021// Response includes:22// - agent_outputs: Individual agent analyses23// - consensus_score: Cross-agent agreement (0-1)24// - verification_chain: Full audit trail25// - confidence: Network confidence score26// - regime_context: Current market/match regime2728console.log(data.consensus_score); // 0.84729console.log(data.agents_agreed); // 4 of 530console.log(data.verification); // "VERIFIED"開發者工具
打造所需,一應俱全
帶型別、有文件、可沙箱除錯。開發體驗和協定本身一樣嚴謹。
帶型別的 Schema
所有智能體輸出都配有完整的 TypeScript/JSON Schema 定義。不用猜,執行時也不會有意外。
WebSocket 資料串流
透過 WebSocket 即時接收智能體輸出串流。可以訂閱指定智能體,也可以取得全網共識更新。
REST API
標準 REST 端點,涵蓋比賽情報、歷史稽核紀錄和智能體表現指標。
沙箱環境
功能完整的沙箱,提供模擬的智能體輸出。正式上線前,先把串接跑通。
包含沙箱權限、API 金鑰和完整文件。
常見問題