Skip to main content
POST
Purchase a domain

Authorizations

x-brimble-key
string
header
required

API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.

Body

application/json
name
string
required

Domain to buy, for example example.com.

Required string length: 3 - 63
duration
integer
required

Years to register the domain for. 1 to 10.

Required range: 1 <= x <= 10
privacyEnabled
boolean
required

Hide your contact details from the public WHOIS record.

autoRenewal
boolean
required

Renew the domain automatically before it expires.

projectId
string

Project to attach the domain to after purchase.

Pattern: ^[a-fA-F0-9]{24}$
teamId
string

Team to act in. Omit for your personal workspace.

Pattern: ^[a-fA-F0-9]{24}$
couponCode
string

Coupon code to apply to the purchase.

Required string length: 1 - 40
paymentProvider
enum<string>

How to pay: stripe (card) or blockradar (stablecoin). Stablecoin payments return a payment link to complete.

Available options:
stripe,
blockradar

Response

Success

message
string
required

Human-readable result of the request.

data
object
required

The result of the request.

Last modified on October 31, 2026