Menu

Domains

Availability, registering, renewing and transferring .ro domains, nameservers, registrant details, change of holder.

OperationMethod and path
The caller's domainsGET /domains
Register a domainPOST /domains
Whether a domain can be registeredGET /domains/availability
One of the caller's domains, with the registry's recordGET /domains/{domain}
Turn the automatic renewal of a domain on or offPUT /domains/{domain}/auto-renew
The access the caller gave on one of its registered domainsGET /domains/{domain}/grants
Give another account access under one of the caller's registered domainsPOST /domains/{domain}/grants
Change who pays under a grantPUT /domains/{domain}/grants/{id}
Revoke a grantDELETE /domains/{domain}/grants/{id}
Enable DNS hosting for a registered domainPOST /domains/{domain}/hosting
Change the nameservers of a domain at the registryPUT /domains/{domain}/nameservers
Correct the contact details of a domain's registrantPUT /domains/{domain}/registrant
Replace the registrant email of a domain transferred inPOST /domains/{domain}/registrant/adopt-email
Renew one of the caller's domainsPOST /domains/{domain}/renew
Mark a domain sensitive, or lift the markPUT /domains/{domain}/sensitive
What a change of holder of a domain costs and doesGET /domains/{domain}/trade
Change the holder of a domain to the caller's own profilePOST /domains/{domain}/trade
Request the transfer of a domain to this registrarPOST /domains/{domain}/transfer
Say that a domain is moving to another registrarPOST /domains/{domain}/transfer-out
Withdraw the intent to move a domain awayDELETE /domains/{domain}/transfer-out

The caller's domains#

GET /domains · operation listDomains

Every domain the caller registered or asked to transfer here, by name, in every state: pending (the registration is under way), active (registered), transfer-requested, failed (a registration or transfer that failed after the request was answered; its charge refunded), transferred-out; with the DS record last published for it and the operation still under way for it (pending_operation). Cost (credit charges in GET /credits/charges): the per_request credit charge of domains.reads is charged for each call that answers successfully, after it has answered (a refused or failed call is not charged); the calls are added up and taken from the credits every hour.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:read
Chargedyes — see the charges below
Retry safetya repeat makes a second one and is charged again: each successful call is charged as one request: a repeat after a lost answer is a second request and is charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
domains.readsper_requestafter a successful answer—see the credit charges

Answer 200 (DomainList): the result

  • domains, array of objects, required
    • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
    • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
      • variant 1: object
        • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
        • id, string, required — the operation's id
        • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
      • variant 2: null
    • expires_at, string or null — the expiry last read from the registry; null until read
    • updated_at, string, required
    • ds_published_at, string or null, required
    • domain, string, required
    • years, integer or null, required — the period of the registration, null for a transfer
    • sensitive, boolean — marked sensitive: its mutations are refused to API keys
    • auto_renew, boolean — the automatic renewal switch
    • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
    • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
      • credits_per_year, string, required — the credits granted each year
      • years, integer — how many yearly grants this order carries (a transfer in: one)
      • expires_after_days, integer, required — how long each grant can be spent
      • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
    • created_at, string, required
    • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
    • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
    • ds, one of, required — the DS record last published at the registry
      • variant 1: object
        • key_tag, integer, required
        • algorithm, integer, required
        • digest_type, integer, required
        • digest, string, required — lowercase hex
      • variant 2: null
    • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
401unauthorizedunauthorized
403insufficient-scope, profile-incomplete, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it) or profile-incomplete (complete the profile first: GET /auth/profile says what is missing); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
429rate-limitedrate-limited
503unavailableunavailable (try again later)

Example

curl -X GET 'https://api.weird.ro/domains' \
  -H "Authorization: Bearer $WEIRD_API_KEY"

With the CLI (weird domains list):

$ weird domains list

MCP: weird_domains_list.

Register a domain#

POST /domains · operation registerDomain

domain and years (1..10, default 1). The domain must be available (409 otherwise). The registrant is the caller as a person, from the personal profile: without one the registration is refused 400 (field profile); a registrant in Romania (country RO) needs a valid 13-digit CNP as the profile's cnp_fiscal_code, which the .ro registry requires (403 cnp-required, field cnp_fiscal_code, until the profile has one). Charged under the contract domains.register, the yearly credit charge times years, before the registration is ordered (402 insufficient-funds when the credits do not cover it, nothing ordered). A registration the registry refuses is refunded in full and the refusal answered. A registration not finished within the request answers state pending with its pending_operation: read the domain later to see it active (or failed, refunded); registering it again meanwhile is refused 409. dnssec reports the DS publication when the caller hosts the domain's DNS here. With enable_hosting true (default false) the caller's DNS zone for the domain is created and filled from its live DNS right after an active registration, at no further charge, answered under hosting (state enabled, deferred or failed; the registration stands either way, and POST /domains/{domain}/hosting enables hosting later). The order needs immediate_start_requested and withdrawal_terms_acknowledged, both true (400 naming the field otherwise, nothing ordered or charged): you confirm, in the words recorded with the order (version 2026-11-21): "I ask weird to send this order to the .ro registry immediately, within the 14-day withdrawal period. I understand that the registration, renewal, transfer or change of registrant is fully performed once the registry has completed it, and that I then lose the right to withdraw from it; if the registry refuses it, my credits are returned." Read the text before the order with GET /legal/acknowledgements (kind domain-order; it is also this operation's x-weird-acknowledgement); acknowledgement_version may name the version you showed: a stale one is refused 409 acknowledgement-outdated with the current version and text. The confirmation is emailed to you. Cost (credit charges in GET /credits/charges): the per_year credit charge of domains.register times years is taken from the credits before it runs (402 insufficient-funds when they do not cover it: top up, then retry; it is refunded when the operation fails).

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedyes — see the charges below
Retry safetysend the Idempotency-Key header: a repeat with the same key answers the first answer and is not performed or charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
domains.registerper_yearbefore it runsyearssee the credit charges

Acknowledgement (kind domain-order, version 2026-11-21): the order carries immediate_start_requested and withdrawal_terms_acknowledged, all true, only after the person has read and accepted these words:

I ask weird to send this order to the .ro registry immediately, within the 14-day withdrawal period. I understand that the registration, renewal, transfer or change of registrant is fully performed once the registry has completed it, and that I then lose the right to withdraw from it; if the registry refuses it, my credits are returned.

Parameters

NameInTypeRequiredDescription
Accept-Languageheaderstringnohonoured when the request names no lang (body field or query parameter): its first language the platform speaks (ro, en) by the header's own weights; else the signed-in account's language, else Romanian
Idempotency-Keyheaderstringno1..255 printable ASCII characters naming this operation. Repeating the request with the same key (on the same route, within 24 hours) answers the first answer again with the header idempotent-replay: true; it is not performed or charged a second time.

Request body (RegisterDomain):

  • domain, string, required — the domain name, such as example.ro
  • years, integer (default 1; 1 to 10)
  • enable_hosting, boolean — opt-in: create and seed the caller's DNS zone for the domain once it is registered (default false)
  • immediate_start_requested, boolean, required — required, true: you ask us to send the order to the registry at once, within the withdrawal period (must be true)
  • withdrawal_terms_acknowledged, boolean, required — required, true: you confirm that once the registry has completed the order it is fully performed and can no longer be withdrawn from (the text is quoted in the operation's description) (must be true)
  • acknowledgement_version, string — optional: the version of the text you showed
  • lang, string — optional: the language of the text you showed (recorded with it); else the lang query parameter, else the Accept-Language header, else the account's language, else Romanian; any other value is refused 400 invalid-params (field lang) (one of ro, en)

Answer 201 (DomainRegistered): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here
  • dnssec, object, required
    • state, string, required (one of in-sync, published, withdrawn, not-hosted, unsigned, unavailable, not-registered, pending, failed)
    • ds, one of — the DS record published at the registry after the reconciliation
      • variant 1: object
        • key_tag, integer, required
        • algorithm, integer, required
        • digest_type, integer, required
        • digest, string, required — lowercase hex
      • variant 2: null
    • message, string — on failed: what failed; on pending: the operation still under way
  • hosting, object — DNS hosting enabled for a registered domain: the caller's zone, the copy of the domain's live DNS, what the zone was seeded with, and the automatic delegation of the domain to the zone's nameserver pair (delegation). On a registration state says what happened: enabled, deferred or failed (with message); the registration stands either way. deferred: nothing is set up yet (no zone, no delegation) because the registration is still pending, or DNS hosting is not available now; once the registration is active, hosting is enabled and the domain delegated without another request: read the domain later (delegation on GET /domains/{domain}). POST /domains/{domain}/hosting answers without state.
    • state, string — on a registration only: enabled, deferred (set up automatically once the registration is active) or failed (one of enabled, deferred, failed)
    • message, string
    • delegation, object — The automatic delegation of the domain to the nameserver pair of the zone that hosts it (a system action: nothing is charged; safe to repeat). Present whenever hosting was enabled; absent while hosting is deferred.
      • state, string, required — delegated: the registry names the zone's pair (nameservers); the zone activates once our DNS servers see it. pending: ordered, not done yet. verifying: being verified with the registry (do not repeat meanwhile). failed: the registry refused it or it could not be ordered now (with message); the domain stays registered and it is tried again automatically. not-hosted: no zone of yours hosts the domain. unavailable: the domain is not active, or delegation is not available now. Read the domain later (delegation) for the outcome (one of delegated, pending, verifying, failed, not-hosted, unavailable)
      • nameservers, array of strings — on delegated: the nameserver pair now set at the registry
      • message, string — on failed, verifying or unavailable: what happened
    • zone, object
      • origin, string, required — the domain, lowercased and dotted
      • records, array of objects, required — the apex NS records naming the pair, then the caller's records
        • name, string, required — a name inside the zone, answered lowercased and dotted
        • type, string, required
        • class, string (default "IN")
        • ttl, integer (1 to 2147483647)
        • data, object, required — the data of the type: A/AAAA {address}, CNAME/NS/PTR {name}, MX {preference, exchange}, TXT {texts}, SRV {priority, weight, port, target}, CAA {flags, tag, value}; DS (below the apex only) {key_tag, algorithm, digest_type, digest (hex)}, TLSA {usage, selector, matching_type, certificate (hex)}, SSHFP {algorithm, hash, fingerprint (hex)}, SVCB/HTTPS {priority, target_name, params?}
      • suspended_at, string or null
      • restriction, object — on a resource held after a review: suspended (its account is restricted) or blocked (its content or hostname may not be served); the one reason code is abuse-review
        • state, string, required (one of suspended, blocked)
        • reason, string, required (must be "abuse-review")
        • decision_id, string or null — the decision on your account that put it in place (GET /auth/account/restrictions lists it; contest it with a support ticket naming it); null when it cannot be told which of your decisions it is
        • contact, string — the abuse contact address to write to about it
      • unpaid, one of
        • variant 1: object — the zone's hosting hours are not paid: it is served until stops_at, then no DNS server answers for it (its records and keys are kept) until the account has credits again, which serves it again at once; a zone still unpaid at deletes_at is deleted (and the DS of a domain registered here withdrawn)
          • since, string, required — the first hour that could not be charged
          • reminded_at, string or null — when the account was told the serving would stop
          • stops_at, string or null — when the serving stops unless the account pays
          • stopped_at, string or null — when the serving stopped (null while it is still served)
          • deletes_at, string or null — once the serving stopped: when the zone is deleted unless the account pays first, as the account was told (null while it is still served)
        • variant 2: null
      • activated_at, string or null
      • id, string, required
      • check, one of
        • variant 1: object — the last delegation check of the zone; null before the first
          • checked_at, string or null, required
          • next_check_at, string or null, required
          • verdict, string or null, required — what the domain's parent answered: delegated (it names the zone's pair), not-delegated, lame or error
          • outcome, string or null, required — what the last check did: activated, kept, suspended, resumed, inconclusive, pending, charge-refused (top up and the next check retries) ...
        • variant 2: null
      • seed, one of
        • variant 1: object
          • snapshot_id, string
          • at, string
          • mode, string (one of merge, replace)
          • records, integer — the records taken from the copy
        • variant 2: null
      • domain, string, required
      • default_ttl, integer, required
      • state, string, required — pending: kept, no DNS server answers for it yet (it becomes active once the domain's parent names the zone's pair; a pending zone never activated is deleted after a window and leaves the list); active: served and billed; suspended: still served and kept, not billed (the delegation was lost, the hours could not be charged, or another account's zone took the domain over), active again when the delegation check passes and, for a zone suspended for unpaid hours, once the current hour is paid (one of pending, active, suspended)
      • created_at, string, required
      • served_at, string or null — pending zones: since when our DNS servers answer for it before its delegation
      • nameservers, array of strings, required — the zone's own pair: <id>.a1.<domain>. and <id>.a2.<domain>.
      • serving, one of
        • variant 1: object
          • state, string, required — served: our DNS servers answer for the pending zone now, switching the registrar has no dark window; held: another account claims the domain (or a name above or below it), the zone is served from its activation; waiting: the platform cannot serve it yet (one of served, held, waiting)
          • reason, string or null — why it is not served: claimed-elsewhere (another account claims the domain or a name above or below it), starting (served from the next publishing pass, within minutes), unavailable (the platform cannot serve it now); null when served (one of claimed-elsewhere, starting, unavailable, null)
          • since, string or null
        • variant 2: null
      • suspend_reason, string or null — a suspended zone's reason: delegation-lost, billing-refused or superseded
    • zone_created, boolean — false when the caller's existing zone was reused
    • snapshot, one of
      • variant 1: object
        • authoritative, boolean, required
        • origin, string, required
        • records, array of objects
          • name, string, required — a name inside the zone, answered lowercased and dotted
          • type, string, required
          • class, string (default "IN")
          • ttl, integer (1 to 2147483647)
          • data, object, required — the data of the type: A/AAAA {address}, CNAME/NS/PTR {name}, MX {preference, exchange}, TXT {texts}, SRV {priority, weight, port, target}, CAA {flags, tag, value}; DS (below the apex only) {key_tag, algorithm, digest_type, digest (hex)}, TLSA {usage, selector, matching_type, certificate (hex)}, SSHFP {algorithm, hash, fingerprint (hex)}, SVCB/HTTPS {priority, target_name, params?}
        • server, string or null
        • zone_id, string or null
        • id, string, required
        • diff, object or null — re-syncs: {added, removed, changed, against}
        • unusable_reason, string or null — own-nameservers, no-records or capture-failed
        • errors, array of objects, required
          • query, string
          • error, string
        • usable, boolean, required — whether it can seed the zone
        • extra_names, array of strings
        • domain, string, required
        • addresses, array of strings, required — their IPv4 and IPv6 addresses
        • discovered, integer
        • axfr, boolean, required
        • source, string, required (one of customer, resync, registration)
        • taken_at, string, required
        • record_count, integer, required
        • nameservers, array of strings, required — the domain's nameservers the copy was read from
        • ds, array of objects — the DS records the domain's parent publishes
          • key_tag, integer
          • algorithm, integer
          • digest_type, integer
      • variant 2: null
    • seed, one of — the seed's result, null when the zone was not seeded
      • variant 1: object
      • variant 2: null
    • seed_error, string or null — why the zone was not seeded (the copy failed or is unusable, the zone is not pending)

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field domain, years or profile; a registry refusal); invalid-params (field Idempotency-Key: a malformed key, or one used for a different request)
401unauthorizedunauthorized
402insufficient-fundsinsufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry)
403account-suspended, cnp-required, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it), profile-incomplete (complete the profile first: GET /auth/profile says what is missing) or cnp-required (field cnp_fiscal_code: a Romanian registrant without a valid CNP); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
409acknowledgement-outdated, conflictacknowledgement-outdated (the acknowledgement text changed: the current version and text are in the answer), or conflict (the domain is not available; the caller already holds it); conflict (the same operation is still in progress: retry shortly)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503charges-not-published, ledger-unavailable, unavailableunavailable (domain registration is not available now), ledger-unavailable (the credit account did not answer: try again later) or charges-not-published (try again later)

Example

curl -X POST 'https://api.weird.ro/domains' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"domain":"<domain>","immediate_start_requested":true,"withdrawal_terms_acknowledged":true}'

With the CLI (weird domains register):

$ weird domains register <domain>

MCP: weird_domains_register.

Whether a domain can be registered#

GET /domains/availability · operation domainAvailability

The registry's verdict on the domain: available true only when the registry reports it free, status the registry's own word. allowance: the included allowance a registration would carry each year (absent when none); for a domain that is not free, transfer_allowance: the one a transfer in ordered now would carry (absent when none), to show before POST /domains/{domain}/transfer. No complete profile needed. Cost (credit charges in GET /credits/charges): the per_request credit charge of domains.reads is charged for each call that answers successfully, after it has answered (a refused or failed call is not charged); the calls are added up and taken from the credits every hour.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:read
Chargedyes — see the charges below
Retry safetya repeat makes a second one and is charged again: each successful call is charged as one request: a repeat after a lost answer is a second request and is charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
domains.readsper_requestafter a successful answer—see the credit charges

Parameters

NameInTypeRequiredDescription
domainquerystringyesthe domain name, such as example.ro

Answer 200 (DomainAvailability): the result

  • domain, string, required
  • available, boolean, required
  • status, string or null, required — the registry's own word, such as Available
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • transfer_allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field domain)
401unauthorizedunauthorized
403insufficient-scope, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (the registry did not answer: try again later)
503unavailableunavailable (domain registration is not available now: try again later)

Example

curl -X GET 'https://api.weird.ro/domains/availability?domain=<domain>' \
  -H "Authorization: Bearer $WEIRD_API_KEY"

With the CLI (weird domains transfer in, weird domains check, weird domains register):

$ weird domains transfer in <domain>$ weird domains check <domain>$ weird domains register <domain>

MCP: weird_domains_check.

One of the caller's domains, with the registry's record#

GET /domains/{domain} · operation getDomain

The domain as listed (an operation still under way is checked first), plus registry (the registry's record of an active domain; null in any other state) and dnssec: this read brings the DS record at the registry in line with the caller's zone of the same domain. An active zone's DS is published when it differs from the one published last (the previous one withdrawn); a published DS is withdrawn once the caller holds no active zone for the domain; state says what happened (in-sync, published, withdrawn, not-hosted, unsigned, unavailable, not-registered, pending, failed). For an active domain, renewal_allowance is the included allowance a renewal ordered now would carry for each year renewed (absent when none): show it before POST /domains/{domain}/renew. Neither the read nor the DS publication is charged. Cost (credit charges in GET /credits/charges): the per_request credit charge of domains.reads is charged for each call that answers successfully, after it has answered (a refused or failed call is not charged); the calls are added up and taken from the credits every hour.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:read
Chargedyes — see the charges below
Retry safetya repeat makes a second one and is charged again: each successful call is charged as one request: a repeat after a lost answer is a second request and is charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
domains.readsper_requestafter a successful answer—see the credit charges

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Answer 200 (DomainDetail): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here
  • registry, one of, required — the registry's record of an active domain; null in any other state
    • variant 1: object
    • variant 2: null
  • dnssec, object, required
    • state, string, required (one of in-sync, published, withdrawn, not-hosted, unsigned, unavailable, not-registered, pending, failed)
    • ds, one of — the DS record published at the registry after the reconciliation
      • variant 1: object
        • key_tag, integer, required
        • algorithm, integer, required
        • digest_type, integer, required
        • digest, string, required — lowercase hex
      • variant 2: null
    • message, string — on failed: what failed; on pending: the operation still under way
  • renewal_allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field domain)
401unauthorizedunauthorized
403insufficient-scope, profile-incomplete, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it) or profile-incomplete (complete the profile first: GET /auth/profile says what is missing); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found (a domain the caller does not hold; another customer's alike)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503unavailableunavailable (try again later)

Example

curl -X GET 'https://api.weird.ro/domains/{domain}' \
  -H "Authorization: Bearer $WEIRD_API_KEY"

With the CLI (weird domains show, weird domains nameservers, weird domains renew):

$ weird domains show <domain>$ weird domains nameservers <domain> [ns1 ns2 ...]$ weird domains renew <domain>

MCP: weird_domains_get.

Turn the automatic renewal of a domain on or off#

PUT /domains/{domain}/auto-renew · operation setDomainAutoRenew

enabled: a boolean. With automatic renewal on (the default for every domain) the domain is renewed for one year from the account's credits 30 days before it expires, at the domains.renew credit charge; when the credits do not cover it nothing is renewed, the holder is emailed and it is tried again each day for as long as the registry still holds the domain for the account (past the expiry too, through the registry's grace period, while the registry accepts the renewal); a renewal the registry refuses is refunded and not ordered again for that term: keep the balance topped up. Turning it on is refused 409 while a transfer out is under way. A domain marked sensitive is refused to API keys. This call is not charged.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Request body (SetDomainAutoRenew):

  • enabled, boolean, required

Answer 200 (Domain): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field enabled)
401unauthorizedunauthorized
403access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it), profile-incomplete (complete the profile first: GET /auth/profile says what is missing) or access-denied (the person denied it: start again); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409conflictconflict (a transfer out is under way: renewal cannot be turned on until it ends)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
503unavailableunavailable (try again later)

Example

curl -X PUT 'https://api.weird.ro/domains/{domain}/auto-renew' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true}'

With the CLI (weird domains auto-renew):

$ weird domains auto-renew <domain> <on|off>

MCP: weird_domains_set_auto_renew.

The access the caller gave on one of its registered domains#

GET /domains/{domain}/grants · operation listDomainGrants

Every grant given on the domain, newest first: pending invites, active grants and ended ones (state: pending, active, declined, revoked, left, lapsed). A pending or active grant whose domain is no longer the caller's (transferred out, failed) carries inactive true. mirror_state is pending while the last change is still being applied across the products (it completes by itself). Cost (credit charges in GET /credits/charges): the per_request credit charge of domains.reads is charged for each call that answers successfully, after it has answered (a refused or failed call is not charged); the calls are added up and taken from the credits every hour.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiongrants:read
Chargedyes — see the charges below
Retry safetya repeat makes a second one and is charged again: each successful call is charged as one request: a repeat after a lost answer is a second request and is charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
domains.readsper_requestafter a successful answer—see the credit charges

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Answer 200 (DomainGrantList): the result

  • grants, array of objects, required
    • invited_email, string, required
    • id, string, required
    • payer, string, required (one of owner, grantee, split)
    • owner_email, string — on the grantee's listing
    • owner_user_id, string, required
    • ended_at, string or null
    • scopes, array of strings, required
    • ended_reason, string or null
    • mirror_state, string, required (one of synced, pending)
    • domain, string, required
    • accepted_at, string or null
    • state, string, required (one of pending, active, declined, revoked, left, lapsed)
    • created_at, string, required
    • inactive, boolean, required — pending or active, but the domain no longer holds
    • grantee_user_id, string or null, required

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
401unauthorizedunauthorized
403insufficient-scope, terms-acceptance-requiredinsufficient-scope (an API key without the route's scope: required, granted); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found (not a domain the caller holds)
429rate-limitedrate-limited

Example

curl -X GET 'https://api.weird.ro/domains/{domain}/grants' \
  -H "Authorization: Bearer $WEIRD_API_KEY"

With the CLI (weird domains share list):

$ weird domains share list <domain>

MCP: weird_domain_shares.

Give another account access under one of the caller's registered domains#

POST /domains/{domain}/grants · operation createDomainGrant

email: an address of the invitee's account (its login address or a verified linked one). scopes: a non-empty list of distinct values of dns (the records of the domain's hosted zone), tunnel (tunnels on hostnames under it), ipfs (IPFS gateway domains under it, with the owner's content and pins) and vps (servers on hostnames under it, created for the owner); registrar rights and granting access are never delegated. payer: who pays for the delegate's work, owner (the default), grantee or split (half each). The invite is pending until the invitee accepts it (POST /grants/{id}/accept). Needs a current authenticator code IN THIS REQUEST (totp_code or backup_code): access lets another account act on, and bill, this one. Not charged.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiongrants:write
Strong authenticationthe body itself must carry totp_code or backup_code, from a session and an API key alike — see authentication
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Request body (CreateDomainGrant):

  • email, string, required — an address the invitee's account controls
  • scopes, array of strings, required (1 to any items; no duplicates)
  • payer, string (one of owner, grantee, split; default "owner")
  • totp_code, string (password) — a current authenticator code (the second factor) (a secret: shown once, never logged)
  • backup_code, string (password) — an unused backup code, instead of the authenticator code (a secret: shown once, never logged)

Answer 201 (DomainGrantResult): the result

  • grant, object, required
    • invited_email, string, required
    • id, string, required
    • payer, string, required (one of owner, grantee, split)
    • owner_email, string — on the grantee's listing
    • owner_user_id, string, required
    • ended_at, string or null
    • scopes, array of strings, required
    • ended_reason, string or null
    • mirror_state, string, required (one of synced, pending)
    • domain, string, required
    • accepted_at, string or null
    • state, string, required (one of pending, active, declined, revoked, left, lapsed)
    • created_at, string, required
    • inactive, boolean, required — pending or active, but the domain no longer holds
    • grantee_user_id, string or null, required

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field email: no account holds the address, or it is the caller's own; scopes; payer)
401unauthorizedunauthorized
403access-denied, account-suspended, enrolment-required, insufficient-scope, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the route's scope: required, granted); access-denied (the person denied it: start again) or step-up-required (no code in this request); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found (not a domain the caller holds)
409conflictconflict (the account has access already; an invite to that address is pending)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited

Example

curl -X POST 'https://api.weird.ro/domains/{domain}/grants' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"<email>","scopes":["dns"]}'

With the CLI (weird domains share add):

$ weird domains share add <domain> <email>

MCP: weird_domain_share_add.

Change who pays under a grant#

PUT /domains/{domain}/grants/{id} · operation changeDomainGrant

payer: owner, grantee or split, for a pending or active grant; hourly billing follows it from the next hour. Change it back the same way. This call is not charged.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiongrants:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes
idpathstringyes

Request body (ChangeDomainGrant):

  • payer, string, required (one of owner, grantee, split)
  • totp_code, string (password) — a current authenticator code (the second factor) (a secret: shown once, never logged)
  • backup_code, string (password) — an unused backup code, instead of the authenticator code (a secret: shown once, never logged)

Answer 200 (DomainGrantResult): the result

  • grant, object, required
    • invited_email, string, required
    • id, string, required
    • payer, string, required (one of owner, grantee, split)
    • owner_email, string — on the grantee's listing
    • owner_user_id, string, required
    • ended_at, string or null
    • scopes, array of strings, required
    • ended_reason, string or null
    • mirror_state, string, required (one of synced, pending)
    • domain, string, required
    • accepted_at, string or null
    • state, string, required (one of pending, active, declined, revoked, left, lapsed)
    • created_at, string, required
    • inactive, boolean, required — pending or active, but the domain no longer holds
    • grantee_user_id, string or null, required

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field payer)
401unauthorizedunauthorized
403account-suspended, enrolment-required, insufficient-scope, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the route's scope: required, granted); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409conflictconflict (the grant ended)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited

Example

curl -X PUT 'https://api.weird.ro/domains/{domain}/grants/{id}' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"payer":"owner"}'

With the CLI (weird domains share payer):

$ weird domains share payer <domain> <id> <owner|grantee|split>

MCP: weird_domain_share_payer.

Revoke a grant#

DELETE /domains/{domain}/grants/{id} · operation revokeDomainGrant

A pending or active grant ends at once (revoked): the delegate loses access immediately. What the delegate created stays the owner's, and from now the owner pays for it. This call is not charged.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiongrants:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes
idpathstringyes

Answer 200 (DomainGrantResult): the result

  • grant, object, required
    • invited_email, string, required
    • id, string, required
    • payer, string, required (one of owner, grantee, split)
    • owner_email, string — on the grantee's listing
    • owner_user_id, string, required
    • ended_at, string or null
    • scopes, array of strings, required
    • ended_reason, string or null
    • mirror_state, string, required (one of synced, pending)
    • domain, string, required
    • accepted_at, string or null
    • state, string, required (one of pending, active, declined, revoked, left, lapsed)
    • created_at, string, required
    • inactive, boolean, required — pending or active, but the domain no longer holds
    • grantee_user_id, string or null, required

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
401unauthorizedunauthorized
403enrolment-required, insufficient-scope, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the route's scope: required, granted); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found (an ended grant included)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited

Example

curl -X DELETE 'https://api.weird.ro/domains/{domain}/grants/{id}' \
  -H "Authorization: Bearer $WEIRD_API_KEY"

With the CLI (weird domains share revoke):

$ weird domains share revoke <domain> <id>

MCP: weird_domain_share_revoke.

Enable DNS hosting for a registered domain#

POST /domains/{domain}/hosting · operation enableDomainHosting

For a domain the caller registered here and holds active: the caller's zone for it is created (an existing one is reused: zone_created false), the domain's live DNS is copied from its current nameservers and, when the copy is usable and the zone still pending, the zone is filled from it (records the caller already set win). A copy or fill that fails never undoes the zone: seed_error says why, and the copy can be taken again. Pointing the domain at the zone's nameservers is the caller's next step. Charged under the contract dns.manage like a zone creation; refunded if the new zone is deleted while still pending. Cost (credit charges in GET /credits/charges): the per_request credit charge of dns.manage is taken from the credits before it runs (402 insufficient-funds when they do not cover it: top up, then retry; it is refunded when the operation fails); the per_entry_hour credit charge of recurring.dns-entry-hourly times records is billed every hour while what it creates exists; the per_answer credit charge of dns.traffic-hourly is billed per use.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedyes — see the charges below
Retry safetysend the Idempotency-Key header: a repeat with the same key answers the first answer and is not performed or charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
dns.manageper_requestbefore it runs—see the credit charges
recurring.dns-entry-hourlyper_entry_hourevery hour while it existsrecordssee the credit charges
dns.traffic-hourlyper_answerper use—see the credit charges

Parameters

NameInTypeRequiredDescription
domainpathstringyes
Idempotency-Keyheaderstringno1..255 printable ASCII characters naming this operation. Repeating the request with the same key (on the same route, within 24 hours) answers the first answer again with the header idempotent-replay: true; it is not performed or charged a second time.

Answer 200 (DomainHosting): the result

  • state, string — on a registration only: enabled, deferred (set up automatically once the registration is active) or failed (one of enabled, deferred, failed)
  • message, string
  • delegation, object — The automatic delegation of the domain to the nameserver pair of the zone that hosts it (a system action: nothing is charged; safe to repeat). Present whenever hosting was enabled; absent while hosting is deferred.
    • state, string, required — delegated: the registry names the zone's pair (nameservers); the zone activates once our DNS servers see it. pending: ordered, not done yet. verifying: being verified with the registry (do not repeat meanwhile). failed: the registry refused it or it could not be ordered now (with message); the domain stays registered and it is tried again automatically. not-hosted: no zone of yours hosts the domain. unavailable: the domain is not active, or delegation is not available now. Read the domain later (delegation) for the outcome (one of delegated, pending, verifying, failed, not-hosted, unavailable)
    • nameservers, array of strings — on delegated: the nameserver pair now set at the registry
    • message, string — on failed, verifying or unavailable: what happened
  • zone, object
    • origin, string, required — the domain, lowercased and dotted
    • records, array of objects, required — the apex NS records naming the pair, then the caller's records
      • name, string, required — a name inside the zone, answered lowercased and dotted
      • type, string, required
      • class, string (default "IN")
      • ttl, integer (1 to 2147483647)
      • data, object, required — the data of the type: A/AAAA {address}, CNAME/NS/PTR {name}, MX {preference, exchange}, TXT {texts}, SRV {priority, weight, port, target}, CAA {flags, tag, value}; DS (below the apex only) {key_tag, algorithm, digest_type, digest (hex)}, TLSA {usage, selector, matching_type, certificate (hex)}, SSHFP {algorithm, hash, fingerprint (hex)}, SVCB/HTTPS {priority, target_name, params?}
    • suspended_at, string or null
    • restriction, object — on a resource held after a review: suspended (its account is restricted) or blocked (its content or hostname may not be served); the one reason code is abuse-review
      • state, string, required (one of suspended, blocked)
      • reason, string, required (must be "abuse-review")
      • decision_id, string or null — the decision on your account that put it in place (GET /auth/account/restrictions lists it; contest it with a support ticket naming it); null when it cannot be told which of your decisions it is
      • contact, string — the abuse contact address to write to about it
    • unpaid, one of
      • variant 1: object — the zone's hosting hours are not paid: it is served until stops_at, then no DNS server answers for it (its records and keys are kept) until the account has credits again, which serves it again at once; a zone still unpaid at deletes_at is deleted (and the DS of a domain registered here withdrawn)
        • since, string, required — the first hour that could not be charged
        • reminded_at, string or null — when the account was told the serving would stop
        • stops_at, string or null — when the serving stops unless the account pays
        • stopped_at, string or null — when the serving stopped (null while it is still served)
        • deletes_at, string or null — once the serving stopped: when the zone is deleted unless the account pays first, as the account was told (null while it is still served)
      • variant 2: null
    • activated_at, string or null
    • id, string, required
    • check, one of
      • variant 1: object — the last delegation check of the zone; null before the first
        • checked_at, string or null, required
        • next_check_at, string or null, required
        • verdict, string or null, required — what the domain's parent answered: delegated (it names the zone's pair), not-delegated, lame or error
        • outcome, string or null, required — what the last check did: activated, kept, suspended, resumed, inconclusive, pending, charge-refused (top up and the next check retries) ...
      • variant 2: null
    • seed, one of
      • variant 1: object
        • snapshot_id, string
        • at, string
        • mode, string (one of merge, replace)
        • records, integer — the records taken from the copy
      • variant 2: null
    • domain, string, required
    • default_ttl, integer, required
    • state, string, required — pending: kept, no DNS server answers for it yet (it becomes active once the domain's parent names the zone's pair; a pending zone never activated is deleted after a window and leaves the list); active: served and billed; suspended: still served and kept, not billed (the delegation was lost, the hours could not be charged, or another account's zone took the domain over), active again when the delegation check passes and, for a zone suspended for unpaid hours, once the current hour is paid (one of pending, active, suspended)
    • created_at, string, required
    • served_at, string or null — pending zones: since when our DNS servers answer for it before its delegation
    • nameservers, array of strings, required — the zone's own pair: <id>.a1.<domain>. and <id>.a2.<domain>.
    • serving, one of
      • variant 1: object
        • state, string, required — served: our DNS servers answer for the pending zone now, switching the registrar has no dark window; held: another account claims the domain (or a name above or below it), the zone is served from its activation; waiting: the platform cannot serve it yet (one of served, held, waiting)
        • reason, string or null — why it is not served: claimed-elsewhere (another account claims the domain or a name above or below it), starting (served from the next publishing pass, within minutes), unavailable (the platform cannot serve it now); null when served (one of claimed-elsewhere, starting, unavailable, null)
        • since, string or null
      • variant 2: null
    • suspend_reason, string or null — a suspended zone's reason: delegation-lost, billing-refused or superseded
  • zone_created, boolean — false when the caller's existing zone was reused
  • snapshot, one of
    • variant 1: object
      • authoritative, boolean, required
      • origin, string, required
      • records, array of objects
        • name, string, required — a name inside the zone, answered lowercased and dotted
        • type, string, required
        • class, string (default "IN")
        • ttl, integer (1 to 2147483647)
        • data, object, required — the data of the type: A/AAAA {address}, CNAME/NS/PTR {name}, MX {preference, exchange}, TXT {texts}, SRV {priority, weight, port, target}, CAA {flags, tag, value}; DS (below the apex only) {key_tag, algorithm, digest_type, digest (hex)}, TLSA {usage, selector, matching_type, certificate (hex)}, SSHFP {algorithm, hash, fingerprint (hex)}, SVCB/HTTPS {priority, target_name, params?}
      • server, string or null
      • zone_id, string or null
      • id, string, required
      • diff, object or null — re-syncs: {added, removed, changed, against}
      • unusable_reason, string or null — own-nameservers, no-records or capture-failed
      • errors, array of objects, required
        • query, string
        • error, string
      • usable, boolean, required — whether it can seed the zone
      • extra_names, array of strings
      • domain, string, required
      • addresses, array of strings, required — their IPv4 and IPv6 addresses
      • discovered, integer
      • axfr, boolean, required
      • source, string, required (one of customer, resync, registration)
      • taken_at, string, required
      • record_count, integer, required
      • nameservers, array of strings, required — the domain's nameservers the copy was read from
      • ds, array of objects — the DS records the domain's parent publishes
        • key_tag, integer
        • algorithm, integer
        • digest_type, integer
    • variant 2: null
  • seed, one of — the seed's result, null when the zone was not seeded
    • variant 1: object
    • variant 2: null
  • seed_error, string or null — why the zone was not seeded (the copy failed or is unusable, the zone is not pending)

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field domain); invalid-params (field Idempotency-Key: a malformed key, or one used for a different request)
401unauthorizedunauthorized
402insufficient-fundsinsufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry)
403account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it) or profile-incomplete (complete the profile first: GET /auth/profile says what is missing); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found (not a domain of the caller)
409conflictconflict (the domain's registration is not active yet); conflict (the same operation is still in progress: retry shortly)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
451hostname-blockedhostname-blocked (the hostname or content was blocked after a review: reason abuse-review; contest it through a support ticket or contact)
502upstream-unavailableupstream-unavailable (try again later)
503charges-not-published, ledger-unavailable, unavailableunavailable (domain registration or DNS hosting is not available now), ledger-unavailable (the credit account did not answer: try again later) or charges-not-published (try again later)

Example

curl -X POST 'https://api.weird.ro/domains/{domain}/hosting' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

With the CLI (weird domains host):

$ weird domains host <domain>

MCP: weird_domains_enable_dns_hosting.

Change the nameservers of a domain at the registry#

PUT /domains/{domain}/nameservers · operation setDomainNameservers

nameservers: 2 to 6 distinct host names (an internationalized name is converted to its xn-- form). The domain must be the caller's and active, with no operation under way (409 otherwise). Not charged. A refusal by the registry is answered (a .ro nameserver must already exist at the registry, created by the registrar of its own domain; nameservers outside .ro need nothing); done answers 200 with the new nameservers; not finished within the request answers 202 with its pending_operation (state verifying: the outcome is being confirmed; do not repeat the change, read the domain later). A domain marked sensitive is refused to API keys (403 access-denied). Set the previous nameservers the same way to undo it.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Request body (SetDomainNameservers):

  • nameservers, array of strings, required — distinct host names (2 to 6 items)

Answer 200 (Domain): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Answer 202 (Domain): the change is still under way: pending_operation names it; read the domain later

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field nameservers; a registry refusal)
401unauthorizedunauthorized
403access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it), profile-incomplete (complete the profile first: GET /auth/profile says what is missing) or access-denied (a sensitive domain and an API key); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409conflictconflict (not active, or an operation is open)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503unavailableunavailable (try again later)

Example

curl -X PUT 'https://api.weird.ro/domains/{domain}/nameservers' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"nameservers":["<nameserver>"]}'

With the CLI (weird domains nameservers):

$ weird domains nameservers <domain> [ns1 ns2 ...]

MCP: weird_domains_set_nameservers.

Correct the contact details of a domain's registrant#

PUT /domains/{domain}/registrant · operation updateDomainRegistrant

The whole set of contact details (the registry takes no partial update): address1, city, country_code (two letters), phone (an international +CC number) and email are required; address2, address3, state_province, postal_code and fax are optional. name, cnp_fiscal_code, registration_number and person_type are refused 400: they identify the holder, and a change of holder is a trade (POST /domains/{domain}/trade). email must be the account's login address or a verified linked one (/auth/emails; 400, field email, reason email-unverified otherwise): the registry sends the domain's authorization key to that address. The domain must be the caller's and active with no operation under way. Not charged; the expiry does not change. A refusal by the registry is answered; not finished within the request answers 202 with its pending_operation. A domain marked sensitive is refused to API keys.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Request body (UpdateDomainRegistrant):

  • city, string, required (length 0 to 40)
  • fax, string (length 0 to 20)
  • postal_code, string (length 0 to 40)
  • email, string, required — the account's own email address (length 0 to 128)
  • country_code, string, required — two letters
  • address2, string (length 0 to 128)
  • state_province, string (length 0 to 40)
  • address1, string, required (length 0 to 128)
  • phone, string, required — an international +CC number (length 0 to 20)
  • address3, string (length 0 to 128)

Answer 200 (Domain): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Answer 202 (Domain): the change is still under way: read the domain later

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (the field named; a registry refusal)
401unauthorizedunauthorized
403access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it), profile-incomplete (complete the profile first: GET /auth/profile says what is missing) or access-denied (the person denied it: start again); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409conflictconflict (not active, an operation is open, or no registrant contact on record)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503unavailableunavailable (try again later)

Example

curl -X PUT 'https://api.weird.ro/domains/{domain}/registrant' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"address1":"<address1>","city":"<city>","country_code":"<country_code>","phone":"<phone>","email":"<email>"}'

With the CLI (weird domains registrant):

$ weird domains registrant <domain>

MCP: weird_domains_update_registrant.

Replace the registrant email of a domain transferred in#

POST /domains/{domain}/registrant/adopt-email · operation adoptDomainRegistrantEmail

email: the account's login address or a verified linked one. A domain transferred in keeps its previous registrant contact, whose email may be the previous holder's. Allowed ONCE per domain, within 30 days of the transfer's arrival (transferred_in_at), and only when the registry lets the contact be read; the contact keeps its other details. Not charged. A refusal gives the one use back; an update not finished within the request answers 202 with its pending_operation.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Request body (AdoptDomainRegistrantEmail):

  • email, string, required
  • totp_code, string (password) — a current authenticator code (the second factor) (a secret: shown once, never logged)
  • backup_code, string (password) — an unused backup code, instead of the authenticator code (a secret: shown once, never logged)

Answer 200 (Domain): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Answer 202 (Domain): the change is still under way: read the domain later

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field email; reason email-unverified; a registry refusal)
401unauthorizedunauthorized
403access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it), profile-incomplete (complete the profile first: GET /auth/profile says what is missing) or access-denied (the person denied it: start again); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409conflictconflict (not active, an operation open, not transferred in by this account, the window over, already used, or the contact cannot be read)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503unavailableunavailable (try again later)

Example

curl -X POST 'https://api.weird.ro/domains/{domain}/registrant/adopt-email' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"<email>"}'

With the CLI (weird domains adopt-email):

$ weird domains adopt-email <domain> <email>

MCP: weird_domains_adopt_registrant_email.

Renew one of the caller's domains#

POST /domains/{domain}/renew · operation renewDomain

years (1..10, default 1). The domain must be the caller's and active, with no operation under way, and the registry must accept a renewal now (409 otherwise). Charged under the contract domains.renew, the yearly credit charge times years, before the renewal is ordered; a refused renewal is refunded in full. One not finished within the request is answered with its pending_operation: read the domain later. A renewal cannot be undone: the years bought are not refunded. The order needs immediate_start_requested and withdrawal_terms_acknowledged, both true (400 naming the field otherwise, nothing ordered or charged): you confirm, in the words recorded with the order (version 2026-11-21): "I ask weird to send this order to the .ro registry immediately, within the 14-day withdrawal period. I understand that the registration, renewal, transfer or change of registrant is fully performed once the registry has completed it, and that I then lose the right to withdraw from it; if the registry refuses it, my credits are returned." Read the text before the order with GET /legal/acknowledgements (kind domain-order; it is also this operation's x-weird-acknowledgement); acknowledgement_version may name the version you showed: a stale one is refused 409 acknowledgement-outdated with the current version and text. The confirmation is emailed to you. Cost (credit charges in GET /credits/charges): the per_year credit charge of domains.renew times years is taken from the credits before it runs (402 insufficient-funds when they do not cover it: top up, then retry; it is refunded when the operation fails).

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedyes — see the charges below
Retry safetysend the Idempotency-Key header: a repeat with the same key answers the first answer and is not performed or charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
domains.renewper_yearbefore it runsyearssee the credit charges

Acknowledgement (kind domain-order, version 2026-11-21): the order carries immediate_start_requested and withdrawal_terms_acknowledged, all true, only after the person has read and accepted these words:

I ask weird to send this order to the .ro registry immediately, within the 14-day withdrawal period. I understand that the registration, renewal, transfer or change of registrant is fully performed once the registry has completed it, and that I then lose the right to withdraw from it; if the registry refuses it, my credits are returned.

Parameters

NameInTypeRequiredDescription
domainpathstringyes
Accept-Languageheaderstringnohonoured when the request names no lang (body field or query parameter): its first language the platform speaks (ro, en) by the header's own weights; else the signed-in account's language, else Romanian
Idempotency-Keyheaderstringno1..255 printable ASCII characters naming this operation. Repeating the request with the same key (on the same route, within 24 hours) answers the first answer again with the header idempotent-replay: true; it is not performed or charged a second time.

Request body (RenewDomain):

  • years, integer (default 1; 1 to 10)
  • immediate_start_requested, boolean, required — required, true: you ask us to send the order to the registry at once, within the withdrawal period (must be true)
  • withdrawal_terms_acknowledged, boolean, required — required, true: you confirm that once the registry has completed the order it is fully performed and can no longer be withdrawn from (the text is quoted in the operation's description) (must be true)
  • acknowledgement_version, string — optional: the version of the text you showed
  • lang, string — optional: the language of the text you showed (recorded with it); else the lang query parameter, else the Accept-Language header, else the account's language, else Romanian; any other value is refused 400 invalid-params (field lang) (one of ro, en)

Answer 200 (DomainRenewed): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here
  • renewed_years, integer, required

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field domain, years, immediate_start_requested or withdrawal_terms_acknowledged; a registry refusal); invalid-params (field Idempotency-Key: a malformed key, or one used for a different request)
401unauthorizedunauthorized
402insufficient-fundsinsufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry)
403account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it) or profile-incomplete (complete the profile first: GET /auth/profile says what is missing); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409acknowledgement-outdated, conflictacknowledgement-outdated (the acknowledgement text changed: the current version and text are in the answer), or conflict (not active; the registry does not accept a renewal now); conflict (the same operation is still in progress: retry shortly)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503charges-not-published, ledger-unavailable, unavailableunavailable (try again later), ledger-unavailable (the credit account did not answer: try again later) or charges-not-published (the credit charges are not published yet: try again later)

Example

curl -X POST 'https://api.weird.ro/domains/{domain}/renew' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"immediate_start_requested":true,"withdrawal_terms_acknowledged":true}'

With the CLI (weird domains renew):

$ weird domains renew <domain>

MCP: weird_domains_renew.

Mark a domain sensitive, or lift the mark#

PUT /domains/{domain}/sensitive · operation setDomainSensitive

enabled: a boolean. A sensitive domain is changed only from a signed-in session with a recent second factor, never with an API key (every change of it answers an API key 403 access-denied). Turning the mark ON is open to every caller of the route. Turning it OFF needs a session AND a current authenticator code in this very request (totp_code or backup_code in the body); a session that is only stepped up is answered 403 step-up-required, an API key 403 access-denied. This call is not charged.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication — only when: lifting the mark (enabled false)
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Request body (SetDomainSensitive):

  • enabled, boolean, required
  • totp_code, string (password) — a fresh authenticator code: REQUIRED in the request to lift the mark (a secret: shown once, never logged)
  • backup_code, string (password) — an unused backup code, instead of the authenticator code (a secret: shown once, never logged)

Answer 200 (Domain): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field enabled)
401unauthorizedunauthorized
403access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it), profile-incomplete (complete the profile first: GET /auth/profile says what is missing), access-denied (lifting the mark with an API key) or step-up-required (lifting it without a code in the request); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409conflictconflict (the domain left or failed)
422invalid-totpinvalid-totp (a wrong or used authenticator code); invalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
503unavailableunavailable (try again later)

Example

curl -X PUT 'https://api.weird.ro/domains/{domain}/sensitive' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true}'

With the CLI (weird domains protect):

$ weird domains protect <domain> <on|off>

MCP: weird_domains_protect.

What a change of holder of a domain costs and does#

GET /domains/{domain}/trade · operation getDomainTrade

For a domain the caller holds: per_year (a change of holder takes the registration's credit charge, contract domains.register, per year), periods (for 1 to 10 years: charge, the credits it would take, and the expiry a change ordered now would give, today plus the period), warning (the time left on the registration is NOT kept: the expiry restarts), current_expires_at and trade (the caller's last change of holder of the domain; null when none). A domain the caller does not hold is 404. Cost (credit charges in GET /credits/charges): the per_request credit charge of domains.reads is charged for each call that answers successfully, after it has answered (a refused or failed call is not charged); the calls are added up and taken from the credits every hour.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:read
Chargedyes — see the charges below
Retry safetya repeat makes a second one and is charged again: each successful call is charged as one request: a repeat after a lost answer is a second request and is charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
domains.readsper_requestafter a successful answer—see the credit charges

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Answer 200 (DomainTradeQuote): the result

  • domain, string, required
  • contract, string, required
  • per_year, string, required — a decimal amount as text
  • periods, array of objects, required
    • years, integer, required
    • charge, string, required — a decimal amount as text
    • expires_at, string, required
  • warning, string, required
  • current_expires_at, string or null
  • trade, one of, required
    • variant 1: object
      • id, string, required
      • domain, string, required
      • years, integer, required
      • state, string, required (one of charged, opening, awaiting-registry, confirming, cancelling, verifying, completed, failed, cancelled)
      • error, string or null
      • deadline_at, string
      • created_at, string, required
      • updated_at, string, required
    • variant 2: null

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field domain)
401unauthorizedunauthorized
403insufficient-scope, profile-incomplete, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it) or profile-incomplete (complete the profile first: GET /auth/profile says what is missing); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503unavailableunavailable (domain registration is not available now)

Example

curl -X GET 'https://api.weird.ro/domains/{domain}/trade' \
  -H "Authorization: Bearer $WEIRD_API_KEY"

With the CLI (weird domains trade):

$ weird domains trade <domain>

MCP: weird_domains_trade_quote.

Change the holder of a domain to the caller's own profile#

POST /domains/{domain}/trade · operation tradeDomain

auth_key (the authorization key the CURRENT registrant obtained in the registry's domain administration panel; used once, never stored) and years (1..10, default 1). The new registrant is the caller's own personal profile. The expiry RESTARTS on the day the registry completes the change, plus the period: the time left is lost (GET /domains/{domain}/trade). The credit charge of the period is taken first under the contract domains.register. A refusal by the registry (a wrong key, a status that forbids it, a change already open) is refunded and answered. The change then completes by itself once the registry confirms it; follow it with GET /domains/{domain}/trade. Without confirmation within 14 days it is cancelled and refunded. One open change of holder per domain. A domain marked sensitive is refused to API keys. The order needs immediate_start_requested and withdrawal_terms_acknowledged, both true (400 naming the field otherwise, nothing ordered or charged): you confirm, in the words recorded with the order (version 2026-11-21): "I ask weird to send this order to the .ro registry immediately, within the 14-day withdrawal period. I understand that the registration, renewal, transfer or change of registrant is fully performed once the registry has completed it, and that I then lose the right to withdraw from it; if the registry refuses it, my credits are returned." Read the text before the order with GET /legal/acknowledgements (kind domain-order; it is also this operation's x-weird-acknowledgement); acknowledgement_version may name the version you showed: a stale one is refused 409 acknowledgement-outdated with the current version and text. The confirmation is emailed to you. Cost (credit charges in GET /credits/charges): the per_year credit charge of domains.register times years is taken from the credits before it runs (402 insufficient-funds when they do not cover it: top up, then retry; it is refunded when the operation fails).

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedyes — see the charges below
Retry safetysend the Idempotency-Key header: a repeat with the same key answers the first answer and is not performed or charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
domains.registerper_yearbefore it runsyearssee the credit charges

Acknowledgement (kind domain-order, version 2026-11-21): the order carries immediate_start_requested and withdrawal_terms_acknowledged, all true, only after the person has read and accepted these words:

I ask weird to send this order to the .ro registry immediately, within the 14-day withdrawal period. I understand that the registration, renewal, transfer or change of registrant is fully performed once the registry has completed it, and that I then lose the right to withdraw from it; if the registry refuses it, my credits are returned.

Parameters

NameInTypeRequiredDescription
domainpathstringyes
Accept-Languageheaderstringnohonoured when the request names no lang (body field or query parameter): its first language the platform speaks (ro, en) by the header's own weights; else the signed-in account's language, else Romanian
Idempotency-Keyheaderstringno1..255 printable ASCII characters naming this operation. Repeating the request with the same key (on the same route, within 24 hours) answers the first answer again with the header idempotent-replay: true; it is not performed or charged a second time.

Request body (TradeDomain):

  • auth_key, string, required — the authorization key from the registry's panel; never stored
  • years, integer (1 to 10)
  • immediate_start_requested, boolean, required — required, true: you ask us to send the change of registrant to the registry at once, within the withdrawal period (must be true)
  • withdrawal_terms_acknowledged, boolean, required — required, true: you confirm the domain order acknowledgement (GET /legal/acknowledgements, kind domain-order) (must be true)
  • acknowledgement_version, string — optional: the version of the text you showed
  • lang, string — optional: the language of the text you showed (recorded with it); else the lang query parameter, else the Accept-Language header, else the account's language, else Romanian; any other value is refused 400 invalid-params (field lang) (one of ro, en)
  • totp_code, string (password) — a current authenticator code (the second factor) (a secret: shown once, never logged)
  • backup_code, string (password) — an unused backup code, instead of the authenticator code (a secret: shown once, never logged)

Answer 202 (DomainTrade): the result

  • id, string, required
  • domain, string, required
  • years, integer, required
  • state, string, required (one of charged, opening, awaiting-registry, confirming, cancelling, verifying, completed, failed, cancelled)
  • error, string or null
  • deadline_at, string
  • created_at, string, required
  • updated_at, string, required

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field auth_key, years, profile, immediate_start_requested or withdrawal_terms_acknowledged; a registry refusal); invalid-params (field Idempotency-Key: a malformed key, or one used for a different request)
401unauthorizedunauthorized
402insufficient-fundsinsufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry)
403access-denied, account-suspended, cnp-required, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it), profile-incomplete (complete the profile first: GET /auth/profile says what is missing), access-denied (the person denied it: start again) or cnp-required (field cnp_fiscal_code); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409acknowledgement-outdated, conflictacknowledgement-outdated (the acknowledgement text changed: the current version and text are in the answer), or conflict (not active, an operation or a trade is open); conflict (the same operation is still in progress: retry shortly)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503charges-not-published, ledger-unavailable, unavailableunavailable (try again later), ledger-unavailable (the credit account did not answer: try again later) or charges-not-published (the credit charges are not published yet: try again later)

Example

curl -X POST 'https://api.weird.ro/domains/{domain}/trade' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"auth_key":"<auth_key>","immediate_start_requested":true,"withdrawal_terms_acknowledged":true}'

With the CLI (weird domains trade):

$ weird domains trade <domain>

MCP: weird_domains_trade_start.

Request the transfer of a domain to this registrar#

POST /domains/{domain}/transfer · operation transferDomain

auth_key: the domain's transfer key from its current registrar. A domain that is not registered anywhere is refused 409 with nothing charged (register it instead). Charged under the contract domains.transfer before the transfer is requested; a refused request is refunded in full; one not finished within the request is answered with its pending_operation. The domain is listed as transfer-requested until the transfer completes at the registry. A domain already registered here is refused 409 (one of the caller's that failed is not). A transfer cannot be undone once the registry completes it; until then it is listed as transfer-requested. The order needs immediate_start_requested and withdrawal_terms_acknowledged, both true (400 naming the field otherwise, nothing ordered or charged): you confirm, in the words recorded with the order (version 2026-11-21): "I ask weird to send this order to the .ro registry immediately, within the 14-day withdrawal period. I understand that the registration, renewal, transfer or change of registrant is fully performed once the registry has completed it, and that I then lose the right to withdraw from it; if the registry refuses it, my credits are returned." Read the text before the order with GET /legal/acknowledgements (kind domain-order; it is also this operation's x-weird-acknowledgement); acknowledgement_version may name the version you showed: a stale one is refused 409 acknowledgement-outdated with the current version and text. The confirmation is emailed to you. Cost (credit charges in GET /credits/charges): the per_request credit charge of domains.transfer is taken from the credits before it runs (402 insufficient-funds when they do not cover it: top up, then retry; it is refunded when the operation fails).

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedyes — see the charges below
Retry safetysend the Idempotency-Key header: a repeat with the same key answers the first answer and is not performed or charged again

Credit charges (each a contract of the list of credit charges; the credit charge in force is filled in from the API):

ContractRateWhenTimesCredit charge in force
domains.transferper_requestbefore it runs—see the credit charges

Acknowledgement (kind domain-order, version 2026-11-21): the order carries immediate_start_requested and withdrawal_terms_acknowledged, all true, only after the person has read and accepted these words:

I ask weird to send this order to the .ro registry immediately, within the 14-day withdrawal period. I understand that the registration, renewal, transfer or change of registrant is fully performed once the registry has completed it, and that I then lose the right to withdraw from it; if the registry refuses it, my credits are returned.

Parameters

NameInTypeRequiredDescription
domainpathstringyes
Accept-Languageheaderstringnohonoured when the request names no lang (body field or query parameter): its first language the platform speaks (ro, en) by the header's own weights; else the signed-in account's language, else Romanian
Idempotency-Keyheaderstringno1..255 printable ASCII characters naming this operation. Repeating the request with the same key (on the same route, within 24 hours) answers the first answer again with the header idempotent-replay: true; it is not performed or charged a second time.

Request body (TransferDomain):

  • auth_key, string, required — the domain's transfer key from its current registrar
  • immediate_start_requested, boolean, required — required, true: you ask us to send the order to the registry at once, within the withdrawal period (must be true)
  • withdrawal_terms_acknowledged, boolean, required — required, true: you confirm that once the registry has completed the order it is fully performed and can no longer be withdrawn from (the text is quoted in the operation's description) (must be true)
  • acknowledgement_version, string — optional: the version of the text you showed
  • lang, string — optional: the language of the text you showed (recorded with it); else the lang query parameter, else the Accept-Language header, else the account's language, else Romanian; any other value is refused 400 invalid-params (field lang) (one of ro, en)

Answer 202 (Domain): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (field domain, auth_key, immediate_start_requested or withdrawal_terms_acknowledged; a registry refusal); invalid-params (field Idempotency-Key: a malformed key, or one used for a different request)
401unauthorizedunauthorized
402insufficient-fundsinsufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry)
403account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it) or profile-incomplete (complete the profile first: GET /auth/profile says what is missing); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
409acknowledgement-outdated, conflictacknowledgement-outdated (the acknowledgement text changed: the current version and text are in the answer), or conflict (the domain is already registered here); conflict (the same operation is still in progress: retry shortly)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503charges-not-published, ledger-unavailable, unavailableunavailable (try again later), ledger-unavailable (the credit account did not answer: try again later) or charges-not-published (the credit charges are not published yet: try again later)

Example

curl -X POST 'https://api.weird.ro/domains/{domain}/transfer' \
  -H "Authorization: Bearer $WEIRD_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"auth_key":"<auth_key>","immediate_start_requested":true,"withdrawal_terms_acknowledged":true}'

With the CLI (weird domains transfer in):

$ weird domains transfer in <domain>

MCP: weird_domains_transfer_in.

Say that a domain is moving to another registrar#

POST /domains/{domain}/transfer-out · operation requestDomainTransferOut

No body, not charged. The registrant obtains the domain's authorization key in the registry's own domain administration panel and gives it to the new registrar. This call turns the domain's automatic renewal off, withdraws the DS record published for it (ds: none, withdrawn, pending or failed; a domain that leaves with a DS its new DNS host does not serve stops resolving), records the intent and answers what to do next: instructions (registrant-authorization-key), registrant_panel (the panel's address) and transfer_prohibited (true when the registry currently forbids transferring this domain). The domain stays active, manageable and renewable until it has left; afterwards it is listed transferred-out, its automatic renewal stays off, its hosted DNS zone is exported and removed and the holder is emailed. 409 when the registry does not list the domain under this registrar.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Answer 200 (DomainTransferOut): the result

  • domain, object, required
    • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
    • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
      • variant 1: object
        • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
        • id, string, required — the operation's id
        • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
      • variant 2: null
    • expires_at, string or null — the expiry last read from the registry; null until read
    • updated_at, string, required
    • ds_published_at, string or null, required
    • domain, string, required
    • years, integer or null, required — the period of the registration, null for a transfer
    • sensitive, boolean — marked sensitive: its mutations are refused to API keys
    • auto_renew, boolean — the automatic renewal switch
    • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
    • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
      • credits_per_year, string, required — the credits granted each year
      • years, integer — how many yearly grants this order carries (a transfer in: one)
      • expires_after_days, integer, required — how long each grant can be spent
      • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
    • created_at, string, required
    • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
    • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
    • ds, one of, required — the DS record last published at the registry
      • variant 1: object
        • key_tag, integer, required
        • algorithm, integer, required
        • digest_type, integer, required
        • digest, string, required — lowercase hex
      • variant 2: null
    • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here
  • transfer_prohibited, boolean, required — the registry currently forbids transferring this domain
  • instructions, string or null, required — the identifier of what the registrant does: registrant-authorization-key (obtain the authorization key in the registry's panel and give it to the gaining registrar)
  • registrant_panel, string or null, required — the address of the registry's domain administration panel
  • ds, string, required — what happened to the DS record this service had published (one of none, withdrawn, pending, failed)

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
401unauthorizedunauthorized
403access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it), profile-incomplete (complete the profile first: GET /auth/profile says what is missing) or access-denied (the person denied it: start again); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409conflictconflict (not active, an operation is open, or the registry does not answer for the domain)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503unavailableunavailable (try again later)

Example

curl -X POST 'https://api.weird.ro/domains/{domain}/transfer-out' \
  -H "Authorization: Bearer $WEIRD_API_KEY"

With the CLI (weird domains transfer out):

$ weird domains transfer out <domain>

MCP: weird_domains_transfer_out.

Withdraw the intent to move a domain away#

DELETE /domains/{domain}/transfer-out · operation cancelDomainTransferOut

Withdraws the recorded intent only: an authorization key the registrant already obtained stays valid at the registry. The automatic renewal stays off until it is turned on again; the DS record is published again on the next read of the domain. This call is not charged.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissiondomains:write
Strong authenticationa session needs an authenticator enrolled and a recent proof of it (a step-up in the last 15 minutes, or totp_code / backup_code in the body); an API key is not asked — see authentication
Chargedno

Parameters

NameInTypeRequiredDescription
domainpathstringyes

Answer 200 (Domain): the result

  • delegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was asked
  • pending_operation, one of, required — the operation still under way for the domain; null when none. Read the domain later to see its outcome
    • variant 1: object
      • op, string, required (one of register, renew, transfer, nameservers, registrant, adopt-email)
      • id, string, required — the operation's id
      • state, string, required — queued: not sent to the registry yet; verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one of queued, verifying)
    • variant 2: null
  • expires_at, string or null — the expiry last read from the registry; null until read
  • updated_at, string, required
  • ds_published_at, string or null, required
  • domain, string, required
  • years, integer or null, required — the period of the registration, null for a transfer
  • sensitive, boolean — marked sensitive: its mutations are refused to API keys
  • auto_renew, boolean — the automatic renewal switch
  • state, string, required (one of pending, active, transfer-requested, failed, transferred-out)
  • allowance, object — the included allowance an order carries (absent when none): promotional credits granted once a year of the registration, at its start and at each anniversary while the domain is the account's, each grant usable for expires_after_days days; spent before purchased credit on any product, never refunded or paid out, revoked unspent if the order is reversed. The credits are given, not sold: what they cover depends on the credit charges (GET /credits/charges).
    • credits_per_year, string, required — the credits granted each year
    • years, integer — how many yearly grants this order carries (a transfer in: one)
    • expires_after_days, integer, required — how long each grant can be spent
    • promotional, boolean, required — promotional credit: never refunded or paid out (must be true)
  • created_at, string, required
  • transfer_out_requested_at, string or null — when the holder said the domain is moving to another registrar
  • nameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set here
  • ds, one of, required — the DS record last published at the registry
    • variant 1: object
      • key_tag, integer, required
      • algorithm, integer, required
      • digest_type, integer, required
      • digest, string, required — lowercase hex
    • variant 2: null
  • transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted here

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
401unauthorizedunauthorized
403access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-requiredinsufficient-scope (an API key without the scope x-weird-scope names: use a key that holds it), profile-incomplete (complete the profile first: GET /auth/profile says what is missing) or access-denied (the person denied it: start again); enrolment-required (a session caller whose account has no authenticator: enrol one first) or step-up-required (a session without a recent step-up: POST /auth/step-up, then retry); account-suspended (the account is restricted while a report about it is reviewed: reading, support tickets and the copy of its data keep working; contact is the address to write to, GET /auth/account/restrictions says more); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept)
404not-foundnot-found
409conflictconflict (no transfer out was asked)
422invalid-totpinvalid-totp (a wrong or replayed authenticator code)
429rate-limitedrate-limited
502upstream-unavailableupstream-unavailable (try again later)
503unavailableunavailable (try again later)

Example

curl -X DELETE 'https://api.weird.ro/domains/{domain}/transfer-out' \
  -H "Authorization: Bearer $WEIRD_API_KEY"

With the CLI (weird domains transfer cancel):

$ weird domains transfer cancel <domain>

MCP: weird_domains_transfer_out_cancel.

This page is generated from the API's public document; it changes when the document does.