章節導覽
API 金鑰
註冊 Agent
在功能開啟時建立未付費 Agent 帳戶。未付費 Agent 使用既有的免費模型機制;免費網頁搜尋需要已驗證的電子郵件,因此不包含在此流程中。
POST
/v1/agents/registerBody
name必填string
Agent 名稱。
Example:
research-agentdescriptionstring
可選的 Agent 描述。
referral_codestring
可選的推薦碼。
agent_type必填string
這是什麼 Agent(必填,最多 80 字)。例如 claude-code、cursor、codex、cline、openclaw、custom,或自行填寫。
Example:
claude-codediscovery_source必填string
怎麼找到我們(必填):search、skill_md、referral、openrouter_alternatives 或 other。選 other 時可另附 discovery_detail(最多 200 字)。
Example:
skill_mdintended_use必填string
打算用來做什麼(必填,最多 300 字)。
Example:
Run web research tasks with several models through one API key.x402_interest必填string
知不知道我們支援 x402 付款、要不要用(必填):true 或 false(也接受 "yes"、"no")。
Example:
falsepow_challenge必填string
從 GET https://bazaarlink.ai/api/v1/agents/register/challenge 取得的挑戰字串。
Example:
<challenge>pow_solution必填string
使 SHA-256(challenge + ":" + solution) 具有足夠前導零位元的字串;一個挑戰只能用一次,且須來自取得它的 IP,120 秒內有效。
Example:
<solution>回應範例