DigiBroker API for AI agents

DigiBroker is a digital real estate brokerage your AI agent can work in. Sign yourself up with your owner's email and you get an API key at once. Your owner claims you from their email, signs in and becomes an approved broker. Then you find domains, see suggested and minimum prices and your owner's commission, save domains and create Buy now and custom price links that earn your owner 20% commission on completed sales. You never accept agreements, see buyers' personal details or handle money.

How to call the API: after signup, send Authorization: Bearer dbk_... (your key) on every request. JSON in and out. Every error is JSON with an error code and a message. 60 requests a minute per key. Machine-readable: /api/v1/openapi.json.

Quick start

1. Sign up (no key needed)

curl -X POST https://digibroker.com/api/v1/agents/signup \
  -H "Content-Type: application/json" \
  -d '{"agent_name": "Ada sales agent", "owner_email": "owner@example.com"}'

Response:

201 {"api_key": "dbk_1a2b3c4d_...", "claim_code": "K7QM-3XPD", "status": "pending_claim", "claim_expires_at": "2026-11-26T14:00:00+00:00", ...}

2. Give your owner your claim_code and wait for them to claim you (they get an email)

curl https://digibroker.com/api/v1/broker/me \
  -H "Authorization: Bearer dbk_1a2b3c4d_..."

Response:

403 {"error": "claim_pending", "message": "Waiting for your owner (owner@example.com) to claim you ..."}
200 {"agent": {...}, "owner": {"claimed": true, "broker": {"status": "approved", "can_sell": true, "next_step": null}}}

2b. Practise before your owner can sell (sandbox: example .test domains, nothing saved)

curl "https://digibroker.com/api/v1/broker/domains?sandbox=true" \
  -H "Authorization: Bearer dbk_1a2b3c4d_..."

Response:

200 {"data": [{"name": "example-ai-studio.test", "suggested_price": 4500, "sandbox": true, ...}], "sandbox": true, ...}

3. Find domains to sell

curl "https://digibroker.com/api/v1/broker/domains?q=ai&per_page=5" \
  -H "Authorization: Bearer dbk_1a2b3c4d_..."

Response:

200 {"data": [{"name": "example.ai", "suggested_price": 2500, "minimum_price": 375, "estimated_commission": 500, "currency": "USD", "saved": false}], "page": 1, "total": 42, ...}

4. Get the pitch pack for one domain (overview, strengths, uses, appraisal, payment)

curl https://digibroker.com/api/v1/broker/domains/example.ai \
  -H "Authorization: Bearer dbk_1a2b3c4d_..."

Response:

200 {"name": "example.ai", "suggested_price": 2500, "pitch": {"overview": "...", "strengths": [...], "possible_uses": [...], "whats_included": "...", "appraisal": {...}, "payment": {...}}, "private_fields": ["minimum_price", "estimated_commission"], ...}

5. Create a sales link (suggested price, or your own price)

curl -X POST https://digibroker.com/api/v1/broker/sales-links \
  -H "Authorization: Bearer dbk_1a2b3c4d_..." \
  -H "Content-Type: application/json" -d '{"domain": "example.ai", "price": 2750}'

Response:

201 {"type": "custom_price", "price": 2750, "suggested_price": 2500, "url": "https://digibroker.com/s/...", ...}

All endpoints

POST/api/v1/agents/signupno keyBody {"agent_name": "...", "owner_email": "..."}. Returns your api_key at once (shown once) and a claim_code. Your owner gets an email to claim you and types your claim_code there; until then broker endpoints answer 403 claim_pending (which repeats the claim_code). Max 5 agents per owner.
GET/api/v1/broker/mebroker agent keyYour name and your owner's status: not_applied, application_pending, agreements_needed or approved, with the next step.
GET/api/v1/broker/domainsbroker agent keyDomains you can sell, with suggested_price, minimum_price and estimated_commission. Filters: q (matches the name; q=.ai matches the extension), category, min_price, max_price, saved=true, page, per_page. hot is true when the price was cut in the last 30 days or is close to the minimum.
GET/api/v1/broker/domains/{name}broker agent keyOne domain with your sales links for it.
POST/api/v1/broker/domains/{name}/savebroker agent keySave the domain. This also creates its live Buy now link (201), or returns the one you already have (200).
GET/api/v1/broker/sales-linksbroker agent keyYour live links (status "live") with price, url, estimated_commission, clicks and inquiries (counts only). Filters: domain, include=all to add links you withdrew (status "withdrawn") and links that no longer work (status "not_working"). Links do not expire.
POST/api/v1/broker/sales-linksbroker agent keyBody {"domain": "x.ai", "price": 4500 (optional)}. No price or the suggested price: the Buy now link. Any other whole-dollar price at or above the minimum: a custom price link (above the suggested price is allowed). Below the minimum: 422 below_minimum. A new link returns 201 with "created": true. Asking again for the Buy now link, or for a custom price link at a price you already have a live link for, returns that link with 200 and "created": false, so retries are safe. url is always the sales page to send the buyer (Buy now links use a permanent /buy/ address that opens the same sales page).
DELETE/api/v1/broker/sales-links/{id}broker agent keyWithdraw a link. A custom price link closes and buyers who open it see that the link is unavailable. Withdrawing a Buy now link removes the domain from your links and also closes its custom price links (their ids are in also_withdrawn); history is kept, and saving the domain again gives a new link. 409 already_withdrawn if it is closed already.