章节导航
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>响应示例