Hanzo
OpenapiDomain

Moves a domain you own at another registrar onto your org here, using its…

Moves a domain you own at another registrar onto your org here, using its authCode, and answers the same record-plus-quote a purchase does.

POST /v1/domain/transfer

Addresshttps://api.hanzo.ai/v1/domain/transfer
MethodPOST
Operationpost_domain_transfer
AuthAuthorization: Bearer $HANZO_API_KEY

Moves a domain you own at another registrar onto your org here, using its authCode, and answers the same record-plus-quote a purchase does.

It is priced and charged exactly like a registration: authorize the org's prepaid balance, ask the registrar for the transfer, capture only after the registrar accepts. A name the registrar will not price is 409, an insufficient balance is 402, and a deployment with no registrar credentials is 503.

It requires a validated principal; the ownership record is written under that org as soon as the registrar ACCEPTS the request, which is not the same instant the transfer completes at the losing registrar. Unlike a registration this does not provision a zone, so the record carries this deployment's configured nameservers.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
authCodebodystringyesAuthCode is the transfer authorization the losing registrar issued.
domainbodystringyesDomain is the name to move in.
yearsbodyintegerYears is the term to buy on transfer, defaulting to 1.

Response

StatusBodyMeaning
200RegisterResultok

200 body — 17 fields.

FieldInTypeAlwaysDescription
quotebodyOffer
quote.availablebodybooleanwhether it can be bought right now
quote.currencybodystringthe currency both prices are in
quote.domainbodystringthe name this quote prices
quote.premiumbodybooleanwhether the registry prices it above the standard rate
quote.priceCentsbodyintegersell (first-term registration)
quote.renewalPriceCentsbodyintegersell (renewal)
quote.tldbodystringthe top-level domain the name sits under
recordbodyHolding
record.costCentsbodyintegerwholesale cost
record.domainbodystringthe name owned
record.expiresAtbodystringwhen the registration lapses, RFC3339
record.nameserversbodystring[]the authoritative nameservers the name points at
record.orderbodyintegerregistrar order id
record.orgbodystringthe org that owns the domain
record.priceCentsbodyintegerwhat the customer paid (sell)
record.registeredAtbodyintegerunix seconds

Failure carries the platform error shape — see Errors.

Examples

hanzo domain transfer \
  --auth-code <authCode> \
  --domain <domain>

Domain API · All Hanzo APIs · Interactive reference

How is this guide?

On this page