name.ai

Full API reference

All endpoints served at https://name.ai/api/partner/v1. Each request must carry the four authentication headers and the credential must hold the required scope.

API scopes

ScopeGrants access to
searchSearch inventory, get prices, check availability.
embedCreate hosted checkout sessions (non-MoR lander redirect).
buyGet quotes, record orders, request refunds, view settlements.
brokerCheck brokerage eligibility, open cases, track acquisition progress.
referCreate and list tracked referral links.
reportRead clicks, sales, commissions, payouts, analytics, transaction history.
webhookRegister delivery endpoint; read event history.
GET

Discovery

PathScopeDescription
/domains/searchsearchSemantic + keyword search over listed inventory. Query param q required.
/domains/{name}searchSingle-domain detail: price, availability, metadata.
/availabilitysearchFast yes/no availability check. Returns available: false (not 404) for unlisted domains.
/pricingsearchBuy-now price for a specific domain. 404 if not listed.
POST

MoR — you collect payment

PathScopeDescription
/quotesbuyLock the current buy-now price for 10 minutes. Returns a signed quote_id.
/ordersbuyNotify name.ai that you have collected payment. Idempotency-Key required.
GET

MoR — order status

PathScopeDescription
/ordersbuyList your orders. Filter by status, domain, or date range.
/orders/{public_id}buySingle order detail. Poll to track transfer lifecycle (or use webhooks).
POST

Non-MoR — name.ai collects payment

PathScopeDescription
/checkout-sessionembedCreate a hosted lander URL with a signed ?pt= token. Redirect your buyer to checkout_url. Expires in 7 days.
GET

Settlement & reconciliation

PathScopeDescription
/settlementsbuyPer-period settlement statements showing what you owe or are owed.
/transactionsreportFull sales history with GMV and commission totals.
/payoutsreportPayouts name.ai has made to you (non-MoR commissions, brokerage).
/brokeragereportList brokerage acquisition cases and their outcomes.
POST

Refunds

PathScopeDescription
/refundsbuyRequest a refund/clawback for a partner-collected order (pre-TRANSFER_COMPLETED only).
GET

Brokerage — acquire unlisted domains

PathScopeDescription
/brokerage/eligibilitybrokerCheck if a domain is eligible for brokerage (not an active site, no open case).
/brokerage/{case_id}brokerFetch status and timeline of a brokerage case.
POST

Brokerage — create case

PathScopeDescription
/brokeragebrokerOpen a brokerage acquisition case. Returns a no-login progress link for the buyer.

Referral — tracking links

MethodPathScopeDescription
POST/linksreferCreate a tracked referral link (generic or domain-specific). Embed in your site or email.
GET/linksreferList all your referral links with per-link click and conversion stats.
GET

Reporting — your performance

PathScopeDescription
/me/clicksreportReferral click totals for your account, optionally windowed by date.
/me/salesreportAll sales attributed to your referral links — buyer, domain, amount, commission.
/me/commissionsreportCommission ledger: accrued, pending, paid out, and reversed — with running balance.
/me/payoutsreportAll payouts name.ai has sent to your account with dates and totals.
/analyticsreportAggregated referral funnel + GMV + commission over a date range.

Webhooks & events

MethodPathScopeDescription
PUT/webhookswebhookRegister or update your delivery URL and signing secret.
GET/eventswebhookReplayable event history. Use after_id cursor to catch up after downtime.

Request headers (all endpoints)

HeaderValue
X-NameAI-Key-IdYour credential public key (pk_live_… or pk_test_…)
X-NameAI-TimestampUnix seconds (UTC). Must be within ±5 minutes of server time.
X-NameAI-NoncePer-request UUID v4. Prevents replay attacks.
X-NameAI-Signaturev1=<HMAC-SHA256 hex>. See Authentication for signing spec.
Idempotency-KeyRequired for POST /orders only. UUID v4, unique per operation.

Error codes

HTTPcodeMeaning
400validation_errorMissing or malformed field. Check message for details.
401invalid_signatureHMAC signature rejected. Check key, timestamp, nonce, body.
401missing_credentialsNo X-NameAI-Key-Id header present.
403forbiddenCredential does not have the required scope.
404not_foundDomain not listed, or order ID not found.
409conflictIdempotency-Key re-used with different body.
422price_mismatchsale_price_cents does not match current listing price.
422quote_expiredquote_id has expired (10-minute window).
429rate_limitedRate limit exceeded. Honour Retry-After header.
500internal_errorUnexpected server error. Retry with exponential back-off.

Rate limits

  • Search endpoints: 60 req/min per credential.
  • Write endpoints (quotes, orders, checkout-session): 20 req/min per credential.
  • Reporting endpoints (settlements, transactions, payouts): 30 req/min per credential.
  • When limited, the response includes a Retry-After header (seconds to wait).
Sandbox vs live: Credentials issued with environment SANDBOX use a separate inventory of test domains with synthetic pricing. Switch to LIVE credentials to access real domains. Both environments use the same base URL — the credential determines which inventory is served. See Quick start for details.

Need more detail? Each endpoint links to a dedicated guide above. Start with Quick start →

Syndicate Partner API — Full API reference — name.ai