Menu
Domains
Availability, registering, renewing and transferring .ro domains, nameservers, registrant details, change of holder.
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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:read |
| Charged | yes — see the charges below |
| Retry safety | a 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
domains.reads | per_request | after a successful answer | — | see the credit charges |
Answer 200 (DomainList): the result
domains, array of objects, requireddelegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 401 | unauthorized | unauthorized |
| 403 | insufficient-scope, profile-incomplete, terms-acceptance-required | insufficient-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) |
| 429 | rate-limited | rate-limited |
| 503 | unavailable | unavailable (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 listMCP: 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).
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | yes — see the charges below |
| Retry safety | send 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
domains.register | per_year | before it runs | years | 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Accept-Language | header | string | no | honoured 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-Key | header | string | no | 1..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 asexample.royears, integer (default1; 1 to 10)enable_hosting, boolean — opt-in: create and seed the caller's DNS zone for the domain once it is registered (defaultfalse)immediate_start_requested, boolean, required — required, true: you ask us to send the order to the registry at once, within the withdrawal period (must betrue)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 betrue)acknowledgement_version, string — optional: the version of the text you showedlang, string — optional: the language of the text you showed (recorded with it); else thelangquery parameter, else the Accept-Language header, else the account's language, else Romanian; any other value is refused 400 invalid-params (field lang) (one ofro,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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted herednssec, object, requiredstate, string, required (one ofin-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, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
message, string — onfailed: what failed; onpending: 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 registrationstatesays what happened:enabled,deferredorfailed(withmessage); the registration stands either way.deferred: nothing is set up yet (nozone, nodelegation) 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 (delegationonGET /domains/{domain}).POST /domains/{domain}/hostinganswers withoutstate.state, string — on a registration only:enabled,deferred(set up automatically once the registration is active) orfailed(one ofenabled,deferred,failed)message, stringdelegation, 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 isdeferred.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 (withmessage); 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 ofdelegated,pending,verifying,failed,not-hosted,unavailable)nameservers, array of strings — ondelegated: the nameserver pair now set at the registrymessage, string — onfailed,verifyingorunavailable: what happened
zone, objectorigin, string, required — the domain, lowercased and dottedrecords, array of objects, required — the apex NS records naming the pair, then the caller's recordsname, string, required — a name inside the zone, answered lowercased and dottedtype, string, requiredclass, 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 nullrestriction, object — on a resource held after a review:suspended(its account is restricted) orblocked(its content or hostname may not be served); the one reason code isabuse-reviewstate, string, required (one ofsuspended,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/restrictionslists it; contest it with a support ticket naming it); null when it cannot be told which of your decisions it iscontact, 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 atdeletes_atis deleted (and the DS of a domain registered here withdrawn)since, string, required — the first hour that could not be chargedreminded_at, string or null — when the account was told the serving would stopstops_at, string or null — when the serving stops unless the account paysstopped_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
- variant 1: object — the zone's hosting hours are not paid: it is served until
activated_at, string or nullid, string, requiredcheck, one of- variant 1: object — the last delegation check of the zone; null before the first
checked_at, string or null, requirednext_check_at, string or null, requiredverdict, string or null, required — what the domain's parent answered: delegated (it names the zone's pair), not-delegated, lame or erroroutcome, 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
- variant 1: object — the last delegation check of the zone; null before the first
seed, one of- variant 1: object
snapshot_id, stringat, stringmode, string (one ofmerge,replace)records, integer — the records taken from the copy
- variant 2: null
- variant 1: object
domain, string, requireddefault_ttl, integer, requiredstate, 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 ofpending,active,suspended)created_at, string, requiredserved_at, string or null — pending zones: since when our DNS servers answer for it before its delegationnameservers, 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 ofserved,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 ofclaimed-elsewhere,starting,unavailable,null)since, string or null
- variant 2: null
- variant 1: object
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 reusedsnapshot, one of- variant 1: object
authoritative, boolean, requiredorigin, string, requiredrecords, array of objectsname, string, required — a name inside the zone, answered lowercased and dottedtype, string, requiredclass, 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 nullzone_id, string or nullid, string, requireddiff, object or null — re-syncs: {added, removed, changed, against}unusable_reason, string or null — own-nameservers, no-records or capture-failederrors, array of objects, requiredquery, stringerror, string
usable, boolean, required — whether it can seed the zoneextra_names, array of stringsdomain, string, requiredaddresses, array of strings, required — their IPv4 and IPv6 addressesdiscovered, integeraxfr, boolean, requiredsource, string, required (one ofcustomer,resync,registration)taken_at, string, requiredrecord_count, integer, requirednameservers, array of strings, required — the domain's nameservers the copy was read fromds, array of objects — the DS records the domain's parent publisheskey_tag, integeralgorithm, integerdigest_type, integer
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field domain, years or profile; a registry refusal); invalid-params (field Idempotency-Key: a malformed key, or one used for a different request) |
| 401 | unauthorized | unauthorized |
| 402 | insufficient-funds | insufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry) |
| 403 | account-suspended, cnp-required, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 409 | acknowledgement-outdated, conflict | acknowledgement-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) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | charges-not-published, ledger-unavailable, unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:read |
| Charged | yes — see the charges below |
| Retry safety | a 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
domains.reads | per_request | after a successful answer | — | see the credit charges |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | yes | the domain name, such as example.ro |
Answer 200 (DomainAvailability): the result
domain, string, requiredavailable, boolean, requiredstatus, string or null, required — the registry's own word, such asAvailableallowance, 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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field domain) |
| 401 | unauthorized | unauthorized |
| 403 | insufficient-scope, terms-acceptance-required | insufficient-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) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (the registry did not answer: try again later) |
| 503 | unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:read |
| Charged | yes — see the charges below |
| Retry safety | a 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
domains.reads | per_request | after a successful answer | — | see the credit charges |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted hereregistry, one of, required — the registry's record of anactivedomain; null in any other state- variant 1: object
- variant 2: null
dnssec, object, requiredstate, string, required (one ofin-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, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
message, string — onfailed: what failed; onpending: 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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field domain) |
| 401 | unauthorized | unauthorized |
| 403 | insufficient-scope, profile-incomplete, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found (a domain the caller does not hold; another customer's alike) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field enabled) |
| 401 | unauthorized | unauthorized |
| 403 | access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | conflict | conflict (a transfer out is under way: renewal cannot be turned on until it ends) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 503 | unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | grants:read |
| Charged | yes — see the charges below |
| Retry safety | a 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
domains.reads | per_request | after a successful answer | — | see the credit charges |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
Answer 200 (DomainGrantList): the result
grants, array of objects, requiredinvited_email, string, requiredid, string, requiredpayer, string, required (one ofowner,grantee,split)owner_email, string — on the grantee's listingowner_user_id, string, requiredended_at, string or nullscopes, array of strings, requiredended_reason, string or nullmirror_state, string, required (one ofsynced,pending)domain, string, requiredaccepted_at, string or nullstate, string, required (one ofpending,active,declined,revoked,left,lapsed)created_at, string, requiredinactive, boolean, required — pending or active, but the domain no longer holdsgrantee_user_id, string or null, required
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 401 | unauthorized | unauthorized |
| 403 | insufficient-scope, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found (not a domain the caller holds) |
| 429 | rate-limited | rate-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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | grants:write |
| Strong authentication | the body itself must carry totp_code or backup_code, from a session and an API key alike — see authentication |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
Request body (CreateDomainGrant):
email, string, required — an address the invitee's account controlsscopes, array of strings, required (1 to any items; no duplicates)payer, string (one ofowner,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, requiredinvited_email, string, requiredid, string, requiredpayer, string, required (one ofowner,grantee,split)owner_email, string — on the grantee's listingowner_user_id, string, requiredended_at, string or nullscopes, array of strings, requiredended_reason, string or nullmirror_state, string, required (one ofsynced,pending)domain, string, requiredaccepted_at, string or nullstate, string, required (one ofpending,active,declined,revoked,left,lapsed)created_at, string, requiredinactive, boolean, required — pending or active, but the domain no longer holdsgrantee_user_id, string or null, required
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field email: no account holds the address, or it is the caller's own; scopes; payer) |
| 401 | unauthorized | unauthorized |
| 403 | access-denied, account-suspended, enrolment-required, insufficient-scope, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found (not a domain the caller holds) |
| 409 | conflict | conflict (the account has access already; an invite to that address is pending) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | grants:write |
| Strong authentication | a 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 |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes | |
id | path | string | yes |
Request body (ChangeDomainGrant):
payer, string, required (one ofowner,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, requiredinvited_email, string, requiredid, string, requiredpayer, string, required (one ofowner,grantee,split)owner_email, string — on the grantee's listingowner_user_id, string, requiredended_at, string or nullscopes, array of strings, requiredended_reason, string or nullmirror_state, string, required (one ofsynced,pending)domain, string, requiredaccepted_at, string or nullstate, string, required (one ofpending,active,declined,revoked,left,lapsed)created_at, string, requiredinactive, boolean, required — pending or active, but the domain no longer holdsgrantee_user_id, string or null, required
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field payer) |
| 401 | unauthorized | unauthorized |
| 403 | account-suspended, enrolment-required, insufficient-scope, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | conflict | conflict (the grant ended) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | grants:write |
| Strong authentication | a 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 |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes | |
id | path | string | yes |
Answer 200 (DomainGrantResult): the result
grant, object, requiredinvited_email, string, requiredid, string, requiredpayer, string, required (one ofowner,grantee,split)owner_email, string — on the grantee's listingowner_user_id, string, requiredended_at, string or nullscopes, array of strings, requiredended_reason, string or nullmirror_state, string, required (one ofsynced,pending)domain, string, requiredaccepted_at, string or nullstate, string, required (one ofpending,active,declined,revoked,left,lapsed)created_at, string, requiredinactive, boolean, required — pending or active, but the domain no longer holdsgrantee_user_id, string or null, required
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 401 | unauthorized | unauthorized |
| 403 | enrolment-required, insufficient-scope, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found (an ended grant included) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | yes — see the charges below |
| Retry safety | send 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
dns.manage | per_request | before it runs | — | see the credit charges |
recurring.dns-entry-hourly | per_entry_hour | every hour while it exists | records | see the credit charges |
dns.traffic-hourly | per_answer | per use | — | see the credit charges |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes | |
Idempotency-Key | header | string | no | 1..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) orfailed(one ofenabled,deferred,failed)message, stringdelegation, 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 isdeferred.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 (withmessage); 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 ofdelegated,pending,verifying,failed,not-hosted,unavailable)nameservers, array of strings — ondelegated: the nameserver pair now set at the registrymessage, string — onfailed,verifyingorunavailable: what happened
zone, objectorigin, string, required — the domain, lowercased and dottedrecords, array of objects, required — the apex NS records naming the pair, then the caller's recordsname, string, required — a name inside the zone, answered lowercased and dottedtype, string, requiredclass, 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 nullrestriction, object — on a resource held after a review:suspended(its account is restricted) orblocked(its content or hostname may not be served); the one reason code isabuse-reviewstate, string, required (one ofsuspended,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/restrictionslists it; contest it with a support ticket naming it); null when it cannot be told which of your decisions it iscontact, 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 atdeletes_atis deleted (and the DS of a domain registered here withdrawn)since, string, required — the first hour that could not be chargedreminded_at, string or null — when the account was told the serving would stopstops_at, string or null — when the serving stops unless the account paysstopped_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
- variant 1: object — the zone's hosting hours are not paid: it is served until
activated_at, string or nullid, string, requiredcheck, one of- variant 1: object — the last delegation check of the zone; null before the first
checked_at, string or null, requirednext_check_at, string or null, requiredverdict, string or null, required — what the domain's parent answered: delegated (it names the zone's pair), not-delegated, lame or erroroutcome, 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
- variant 1: object — the last delegation check of the zone; null before the first
seed, one of- variant 1: object
snapshot_id, stringat, stringmode, string (one ofmerge,replace)records, integer — the records taken from the copy
- variant 2: null
- variant 1: object
domain, string, requireddefault_ttl, integer, requiredstate, 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 ofpending,active,suspended)created_at, string, requiredserved_at, string or null — pending zones: since when our DNS servers answer for it before its delegationnameservers, 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 ofserved,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 ofclaimed-elsewhere,starting,unavailable,null)since, string or null
- variant 2: null
- variant 1: object
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 reusedsnapshot, one of- variant 1: object
authoritative, boolean, requiredorigin, string, requiredrecords, array of objectsname, string, required — a name inside the zone, answered lowercased and dottedtype, string, requiredclass, 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 nullzone_id, string or nullid, string, requireddiff, object or null — re-syncs: {added, removed, changed, against}unusable_reason, string or null — own-nameservers, no-records or capture-failederrors, array of objects, requiredquery, stringerror, string
usable, boolean, required — whether it can seed the zoneextra_names, array of stringsdomain, string, requiredaddresses, array of strings, required — their IPv4 and IPv6 addressesdiscovered, integeraxfr, boolean, requiredsource, string, required (one ofcustomer,resync,registration)taken_at, string, requiredrecord_count, integer, requirednameservers, array of strings, required — the domain's nameservers the copy was read fromds, array of objects — the DS records the domain's parent publisheskey_tag, integeralgorithm, integerdigest_type, integer
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field domain); invalid-params (field Idempotency-Key: a malformed key, or one used for a different request) |
| 401 | unauthorized | unauthorized |
| 402 | insufficient-funds | insufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry) |
| 403 | account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found (not a domain of the caller) |
| 409 | conflict | conflict (the domain's registration is not active yet); conflict (the same operation is still in progress: retry shortly) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 451 | hostname-blocked | hostname-blocked (the hostname or content was blocked after a review: reason abuse-review; contest it through a support ticket or contact) |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | charges-not-published, ledger-unavailable, unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field nameservers; a registry refusal) |
| 401 | unauthorized | unauthorized |
| 403 | access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | conflict | conflict (not active, or an operation is open) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
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 lettersaddress2, 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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (the field named; a registry refusal) |
| 401 | unauthorized | unauthorized |
| 403 | access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | conflict | conflict (not active, an operation is open, or no registrant contact on record) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
Request body (AdoptDomainRegistrantEmail):
email, string, requiredtotp_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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field email; reason email-unverified; a registry refusal) |
| 401 | unauthorized | unauthorized |
| 403 | access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | conflict | conflict (not active, an operation open, not transferred in by this account, the window over, already used, or the contact cannot be read) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | unavailable | unavailable (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).
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | yes — see the charges below |
| Retry safety | send 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
domains.renew | per_year | before it runs | years | 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes | |
Accept-Language | header | string | no | honoured 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-Key | header | string | no | 1..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 (default1; 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 betrue)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 betrue)acknowledgement_version, string — optional: the version of the text you showedlang, string — optional: the language of the text you showed (recorded with it); else thelangquery parameter, else the Accept-Language header, else the account's language, else Romanian; any other value is refused 400 invalid-params (field lang) (one ofro,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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
transferred_in_at, string or null — when a transfer to this registrar arrived; null for a domain registered or adopted hererenewed_years, integer, required
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-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) |
| 401 | unauthorized | unauthorized |
| 402 | insufficient-funds | insufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry) |
| 403 | account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | acknowledgement-outdated, conflict | acknowledgement-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) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | charges-not-published, ledger-unavailable, unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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) |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
Request body (SetDomainSensitive):
enabled, boolean, requiredtotp_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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field enabled) |
| 401 | unauthorized | unauthorized |
| 403 | access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | conflict | conflict (the domain left or failed) |
| 422 | invalid-totp | invalid-totp (a wrong or used authenticator code); invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 503 | unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:read |
| Charged | yes — see the charges below |
| Retry safety | a 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
domains.reads | per_request | after a successful answer | — | see the credit charges |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
Answer 200 (DomainTradeQuote): the result
domain, string, requiredcontract, string, requiredper_year, string, required — a decimal amount as textperiods, array of objects, requiredyears, integer, requiredcharge, string, required — a decimal amount as textexpires_at, string, required
warning, string, requiredcurrent_expires_at, string or nulltrade, one of, required- variant 1: object
id, string, requireddomain, string, requiredyears, integer, requiredstate, string, required (one ofcharged,opening,awaiting-registry,confirming,cancelling,verifying,completed,failed,cancelled)error, string or nulldeadline_at, stringcreated_at, string, requiredupdated_at, string, required
- variant 2: null
- variant 1: object
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (field domain) |
| 401 | unauthorized | unauthorized |
| 403 | insufficient-scope, profile-incomplete, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | unavailable | unavailable (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).
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | yes — see the charges below |
| Retry safety | send 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
domains.register | per_year | before it runs | years | 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes | |
Accept-Language | header | string | no | honoured 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-Key | header | string | no | 1..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 storedyears, 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 betrue)withdrawal_terms_acknowledged, boolean, required — required, true: you confirm the domain order acknowledgement (GET /legal/acknowledgements, kind domain-order) (must betrue)acknowledgement_version, string — optional: the version of the text you showedlang, string — optional: the language of the text you showed (recorded with it); else thelangquery parameter, else the Accept-Language header, else the account's language, else Romanian; any other value is refused 400 invalid-params (field lang) (one ofro,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, requireddomain, string, requiredyears, integer, requiredstate, string, required (one ofcharged,opening,awaiting-registry,confirming,cancelling,verifying,completed,failed,cancelled)error, string or nulldeadline_at, stringcreated_at, string, requiredupdated_at, string, required
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-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) |
| 401 | unauthorized | unauthorized |
| 402 | insufficient-funds | insufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry) |
| 403 | access-denied, account-suspended, cnp-required, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | acknowledgement-outdated, conflict | acknowledgement-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) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | charges-not-published, ledger-unavailable, unavailable | unavailable (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).
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | yes — see the charges below |
| Retry safety | send 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):
| Contract | Rate | When | Times | Credit charge in force |
|---|---|---|---|---|
domains.transfer | per_request | before 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes | |
Accept-Language | header | string | no | honoured 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-Key | header | string | no | 1..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 registrarimmediate_start_requested, boolean, required — required, true: you ask us to send the order to the registry at once, within the withdrawal period (must betrue)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 betrue)acknowledgement_version, string — optional: the version of the text you showedlang, string — optional: the language of the text you showed (recorded with it); else thelangquery parameter, else the Accept-Language header, else the account's language, else Romanian; any other value is refused 400 invalid-params (field lang) (one ofro,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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-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) |
| 401 | unauthorized | unauthorized |
| 402 | insufficient-funds | insufficient-funds (the credits do not cover it: top up with POST /credits/topup, then retry) |
| 403 | account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 409 | acknowledgement-outdated, conflict | acknowledgement-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) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | charges-not-published, ledger-unavailable, unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
Answer 200 (DomainTransferOut): the result
domain, object, requireddelegation, string or null — the automatic delegation to the platform's nameserver pair: pending, verifying, delegated or failed; null when none was askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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 domaininstructions, 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 panelds, string, required — what happened to the DS record this service had published (one ofnone,withdrawn,pending,failed)
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 401 | unauthorized | unauthorized |
| 403 | access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | conflict | conflict (not active, an operation is open, or the registry does not answer for the domain) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | unavailable | unavailable (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.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | domains:write |
| Strong authentication | a 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 |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
domain | path | string | yes |
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 askedpending_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 ofregister,renew,transfer,nameservers,registrant,adopt-email)id, string, required — the operation's idstate, string, required —queued: not sent to the registry yet;verifying: sent, its outcome being confirmed (do not repeat the operation meanwhile) (one ofqueued,verifying)
- variant 2: null
- variant 1: object
expires_at, string or null — the expiry last read from the registry; null until readupdated_at, string, requiredds_published_at, string or null, requireddomain, string, requiredyears, integer or null, required — the period of the registration, null for a transfersensitive, boolean — marked sensitive: its mutations are refused to API keysauto_renew, boolean — the automatic renewal switchstate, string, required (one ofpending,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 forexpires_after_daysdays; 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 yearyears, integer — how many yearly grants this order carries (a transfer in: one)expires_after_days, integer, required — how long each grant can be spentpromotional, boolean, required — promotional credit: never refunded or paid out (must betrue)
created_at, string, requiredtransfer_out_requested_at, string or null — when the holder said the domain is moving to another registrarnameservers, array of strings or null — the nameserver set last stored at the registry through this service; null when never set hereds, one of, required — the DS record last published at the registry- variant 1: object
key_tag, integer, requiredalgorithm, integer, requireddigest_type, integer, requireddigest, string, required — lowercase hex
- variant 2: null
- variant 1: object
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):
| Status | Codes | When |
|---|---|---|
| 401 | unauthorized | unauthorized |
| 403 | access-denied, account-suspended, enrolment-required, insufficient-scope, profile-incomplete, step-up-required, terms-acceptance-required | insufficient-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) |
| 404 | not-found | not-found |
| 409 | conflict | conflict (no transfer out was asked) |
| 422 | invalid-totp | invalid-totp (a wrong or replayed authenticator code) |
| 429 | rate-limited | rate-limited |
| 502 | upstream-unavailable | upstream-unavailable (try again later) |
| 503 | unavailable | unavailable (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>This page is generated from the API's public document; it changes when the document does.