name.ai

API surface

The full Name.ai Partner API. Every call is authenticated with HMAC headers and gated by the scopes granted to your credential. Endpoints below are live in sandbox; production switches on after approval. Some surfaces (brokerage, pay-with-name.ai, referral) unlock only when the matching scope is enabled for you.

Quick start

1. Get sandbox credentials (key id + secret) after applying.

2. Sign every request — see Authentication for the canonical string + HMAC.

3. Start with GET /api/partner/v1/domains/search?q=ai, then a quote → order, or a checkout-session.

4. Subscribe a webhook so you don't have to poll for fulfilment / settlement / brokerage updates.

Discovery & pricing

Find sellable inventory and look up a single domain. DSN-gated; search is query-required and capped (max 5 results) — no bulk export.

MethodPathScopeNotes
GET/api/partner/v1/domains/search?q=searchHybrid semantic + keyword search, reranked. Returns up to 5 genuinely-relevant domains (fewer if fewer match).
GET/api/partner/v1/domains/{name}searchSingle-domain detail: price + availability.
GET/api/partner/v1/availability?domain=searchFast yes/no + price (200 with available:false rather than 404).
GET/api/partner/v1/pricing?domain=searchBuy-now + floor price for one domain (404 if unlisted).

Buy — partner-collected (you are Merchant of Record)

You charge the buyer on your own app, then notify us. We deliver the domain and settle your share. Idempotency-Key required on orders.

MethodPathScopeNotes
POST/api/partner/v1/quotesbuyFirm price + 10-min reservation (signed quote token).
POST/api/partner/v1/ordersbuyRecord a partner-collected sale (you already charged the buyer). Pass quote_id + external_payment_ref.
GET/api/partner/v1/orderssearchList your orders (status filter + cursor pagination).
GET/api/partner/v1/orders/{id}searchOrder + transfer/fulfilment status (timeline).

Buy — pay with name.ai (name.ai is Merchant of Record)

The option every partner can offer (the only option for non-MoR partners). We collect payment; you earn a commission paid at settlement.

MethodPathScopeNotes
POST/api/partner/v1/checkout-sessionembedReturns a hosted "Pay with name.ai" link (our lander). Buyer pays + registers there; the sale is attributed to you.

Brokerage — acquire a domain the buyer wants

Your user opts into our brokerage service. We run the acquisition and you earn your cut at settlement.

MethodPathScopeNotes
GET/api/partner/v1/brokerage/eligibility?domain=brokerCan we broker this domain? Ineligible if it runs an active/live site or is already in a case.
POST/api/partner/v1/brokeragebrokerCreate a case (tier managed|self_serve, buyer_email, budget). Returns a no-login progress link for the buyer.
GET/api/partner/v1/brokerage/{id}brokerCase status/details (yours only). Plus a brokerage.case_completed webhook on deal close.

Settlement, history & refunds

Reconcile what you owe us (partner-collected) and what we owe you (name.ai-collected / brokerage).

MethodPathScopeNotes
GET/api/partner/v1/settlementsbuyPer-period statement: gross sold, commission retained, amount owed to name.ai.
GET/api/partner/v1/transactionsreportFull sales history (every domain sold through you) + totals (GMV, commission). Filters: from/to, status, payment_model.
POST/api/partner/v1/refundsbuyRequest a refund/clawback for a partner-collected order.

Referral & reporting (affiliate-style)

Refer buyers to name.ai and earn commission. Requires your credential to be linked to an affiliate account.

MethodPathScopeNotes
POST/api/partner/v1/linksreferCreate a tracking link (generic / domain / product).
GET/api/partner/v1/linksreferList your links with per-link click/sale stats.
GET/api/partner/v1/me/clicksreportYour referral clicks (windowed).
GET/api/partner/v1/me/salesreportYour referred sales + commission earned.
GET/api/partner/v1/me/commissionsreportCommission line items + ledger-derived balance.
GET/api/partner/v1/me/payoutsreportYour payout history + total paid.
GET/api/partner/v1/analyticsreportAggregated performance — orders GMV + referral funnel.

Webhooks & events

Subscribe once; we deliver signed events and keep a replayable history.

MethodPathScopeNotes
PUT/api/partner/webhookswebhookSet your webhook endpoint + secret. Events are signed (X-NameAI-Signature).
GET/api/partner/v1/eventswebhookSigned event history + replay cursor (order.* / transfer.* / brokerage.*).
Name.ai Partner API — Endpoint surface