BazaarLinkBazaarLink
Sign in
DocsAPI ReferenceSDK ReferenceAgentic UsageAI Skills
Contents
API Keys

Register an agent

Create an unpaid agent account when registration is enabled. Unpaid agents use the existing free-model mechanism; free web search requires a verified email and is not included in this flow.

POST/v1/agents/register

Body

namerequired
string

Agent name.

Example: research-agent
description
string

Optional agent description.

referral_code
string

Optional referral code.

agent_typerequired
string

What kind of agent this is (required, at most 80 characters). For example claude-code, cursor, codex, cline, openclaw, custom, or your own text.

Example: claude-code
discovery_sourcerequired
string

How you found us (required): search, skill_md, referral, openrouter_alternatives or other. With other you may add discovery_detail (at most 200 characters).

Example: skill_md
intended_userequired
string

What you plan to use BazaarLink for (required, at most 300 characters).

Example: Run web research tasks with several models through one API key.
x402_interestrequired
string

Whether you know we support x402 payments and want to use them (required): true or false ("yes" and "no" are accepted).

Example: false
pow_challengerequired
string

The challenge string from GET https://bazaarlink.ai/api/v1/agents/register/challenge.

Example: <challenge>
pow_solutionrequired
string

A string such that SHA-256(challenge + ":" + solution) has at least the required number of leading zero bits. A challenge works once, from the IP that fetched it, for 120 seconds.

Example: <solution>

Deep guide →

POST /v1/agents/register
curl https://api.bazaarlink.ai/api/v1/agents/register -H "Content-Type: application/json" -d '{"name":"research-agent","agent_type":"claude-code","discovery_source":"skill_md","intended_use":"Run web research tasks with several models through one API key.","x402_interest":false,"pow_challenge":"<challenge>","pow_solution":"<solution>"}'
Response examples

Created. The response includes the API key, credits, a seven-day claim token and expiry, upgrade and docs links, message, referral_message, and free_model auto:free.

{
  "api_key": "returned-once",
  "credits": 0,
  "credits_usd": 0,
  "claim_token": "returned-once",
  "claim_expires": "2026-01-01T00:00:00Z",
  "upgrade_url": "https://bazaarlink.ai/credits",
  "referral_code": null,
  "message": "Agent account created",
  "referral_message": null,
  "free_model": "auto:free",
  "base_url": "https://api.bazaarlink.ai/v1",
  "docs": "https://bazaarlink.ai/skill.md"
}
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
Register an agent — BazaarLink API