Three surfaces, one contract.
The API is the product. The CLI follows its operation table, and MCP exposes the operations an agent can perform. Steps that require a person are marked below. This page is generated from the operation table and the MCP policy.
Manual installation
Authentication
One bearer token, issued by whydot login and stored by the CLI. It is shown once and never retrievable afterwards. There is no password, and this website has no login form.
The marketplace: listing and offers are open, buying is not
An account can list a domain name it controls for sale, and other whydot accounts can find it. A person first reads and accepts the marketplace agreement; that step is a person’s and is not an MCP tool. The account then starts a proof that it controls the name, publishes the DNS record the proof names, creates a listing and publishes it. A listing goes live only on a proof whose check has passed, within the last ten minutes or at the moment of publishing. Any signed-in account can search and read live listings, and can make an offer on one that takes offers; the seller can answer with another amount or decline, and so can the buyer. An offer binds nobody until it is accepted. That is all that works on whydot.com today: accepting an offer and taking a payment are switched off there, and whydot moves no name from a seller to a buyer. These operations are in the API, and in whydot and whydot-mcp from version 0.7.0. A client older than that has none of them: whydot --version says which one you have. The four order operations take a listing’s buy-now price as an unpaid order, and accepting an offer makes one at the offer’s amount; all five are refused on whydot.com, where payments are switched off. They are in the API; the published client 0.8.0 carries them.
What is retired
whydot no longer registers new domains. 5 operations are retired since 2026-11-15: checking a name, the price list, registering a domain, the balance top-up and the premium checkout. Each answers 410 before it looks at a key, and its message says that the request did nothing and nothing was charged. Two more are retired since 2026-11-26: the ones that opened and closed the read-only console, which has closed. They answer 410 the same way, with a message that says the request did nothing. Clients before 0.8.0 may still carry the five purchase names above. The 0.8.0 CLI and MCP server do not have those five. The two console commands remain in the client and still answer 410. All 7 are marked in the table below.
DNS on whydot.com
whydot does not register domains and does not serve hosted DNS zones of its own on whydot.com. Reading, planning or applying DNS records works only for a domain you have bound to your own verified Cloudflare account, and changing a domain’s nameservers at the registrar does not work in the hosted service today. A tracked domain with no bound Cloudflare connection has no zone for whydot to read: GET /v1/domains/:id/dns answers 409 dns_not_served. A damaged or unauthentic stored credential answers 409 (reconnect your provider); temporary key-service unavailability answers 503 with Retry-After.
Operations
| Route | What it does | Scope |
|---|---|---|
| POST /v1/tenants | Create an account and its first API key. writes | no key |
| GET /v1/keys | List the API keys on this account, by prefix. | keys:manage |
| POST /v1/keys | Issue a new API key. writes | keys:manage |
| DELETE /v1/keys/:id | Revoke an API key immediately. writes | keys:manage |
| POST /v1/console | Retired on 2026-11-26: the service answers 410, does nothing and charges nothing. Before that: Mint a single-use URL that opened this account's read-only console in a browser. The console is closed. Retired · answers 410 Person only · API/CLI | keys:manage |
| DELETE /v1/console | Retired on 2026-11-26: the service answers 410, does nothing and charges nothing. Before that: Close every open console session on this account. The console is closed. Retired · answers 410 | keys:manage |
| GET /v1/domains | List the domains in this account. | domains:read |
| GET /v1/domains/:id | Fetch one domain by id or by name. | domains:read |
| POST /v1/domains | Track a domain in this account. Spends nothing and registers nothing. writes | domains:write |
| POST /v1/registrant-contacts | Create a registrant contact for this account. writes | domains:write |
| GET /v1/availability | Retired on 2026-11-15: the service answers 410, does nothing and charges nothing. Before that: Is a domain available, and what would it cost. Retired · answers 410 | domains:read |
| GET /v1/prices | Retired on 2026-11-15: the service answers 410, does nothing and charges nothing. Before that: Per-TLD registration prices. Retired · answers 410 | domains:read |
| POST /v1/domains/:id/register | Retired on 2026-11-15: the service answers 410, does nothing and charges nothing. Before that: Register a tracked domain with the registrar. Spends money; requires an idempotency key. Retired · answers 410 | domains:write |
| GET /v1/domains/:id/dns | Read the managed DNS records of a domain bound to your Cloudflare connection, and what cannot be modelled. | dns:read |
| POST /v1/domains/:id/dns/plan | Plan what would change on a domain bound to your Cloudflare connection. Writes nothing. | dns:read |
| POST /v1/domains/:id/dns/apply | Apply a plan to a domain bound to your Cloudflare connection. Deleting needs allowDelete on THIS request. writes | dns:write |
| POST /v1/dns-connections | Connect the customer's own Cloudflare account. The token is proved, then sealed. writes | dns:write |
| GET /v1/dns-connections | The connected DNS provider accounts. Never the credentials. | dns:read |
| POST /v1/dns-connections/:id/verify | Ask the provider again whether the stored credential still works. writes | dns:write |
| POST /v1/dns-connections/:id/archive | Retire a connection. Refused while a live zone is served through it. writes | dns:write |
| POST /v1/domains/:id/dns/zone | Serve this domain's DNS through a connection. Creates the zone and reports the nameservers. writes | dns:write |
| POST /v1/domains/:id/dns/zone/delegate | Point the registrar at the serving zone's nameservers. Populate the zone first. writes | dns:write |
| POST /v1/domains/:id/dns/zone/release | Stop serving this domain's DNS through a connection. The zone at the provider is left alone. writes | dns:write |
| GET /v1/domains/:id/dns/zone | Where this domain's DNS is served, now and before. The serving row is first. | dns:read |
| POST /v1/labels | Create a label for this account. writes | domains:write |
| GET /v1/labels | Every label in this account. | domains:read |
| PATCH /v1/labels/:id | Rename or recolour a label. An omitted field is left alone; an explicit null clears it. writes | domains:write |
| DELETE /v1/labels/:id | Delete a label and every attachment of it. The things it was attached to are untouched. writes | domains:write |
| POST /v1/labels/:id/attachments | Attach a label to a domain, an address or a template, or detach it. Idempotent. writes | domains:write |
| GET /v1/domains/:id/labels | The labels on one domain. | domains:read |
| GET /v1/registrant-contacts/:id/labels | The labels on one registrant address. | domains:read |
| GET /v1/dns-templates/:id/labels | The labels on one DNS record template. | dns:read |
| GET /v1/registrant-contacts | Every registrant address in this account. Retired ones only when asked for. | domains:read |
| GET /v1/registrant-contacts/:id | One registrant address. | domains:read |
| PATCH /v1/registrant-contacts/:id | Edit an address. Refused once a domain has been registered under it. writes | domains:write |
| POST /v1/registrant-contacts/:id/default | Make this the account's default contact. Exactly one account default. writes | domains:write |
| POST /v1/registrant-contacts/:id/archive | Retire an address. Never deleted: a registered domain still points at it. writes | domains:write |
| POST /v1/dns-templates | Store a reusable set of records. Checked whole: every placeholder must be declared. writes | dns:write |
| GET /v1/dns-templates | Every template in this account, with its records and variables. | dns:read |
| GET /v1/dns-templates/:id | One template, whole. | dns:read |
| POST /v1/dns-templates/:id/archive | Archive a template. Never deleted: a record of having applied it must still resolve. writes | dns:write |
| POST /v1/domains/:id/dns/templates/:templateId/plan | What applying this template to this domain would change. Writes nothing. | dns:read |
| GET /v1/market/ownership-proofs | Ownership proofs in this account, with the record to publish. | market:read |
| GET /v1/market/ownership-proofs/:id | One ownership proof, by id or by domain name. | market:read |
| POST /v1/market/ownership-proofs | Start proving ownership of a domain. Returns the TXT record to publish. writes | market:write |
| POST /v1/market/ownership-proofs/:id/verify | Check the proof now, against the name's own nameservers. writes | market:write |
| GET /v1/agreements | Which whydot agreements this account has accepted. | market:read |
| GET /v1/agreements/marketplace | The published marketplace agreement, and whether this account has accepted it. | market:read |
| POST /v1/agreements/marketplace | Accept the marketplace agreement. Needed once per version before anything can be listed. writes Person only · API/CLI | market:write |
| GET /v1/market/listings | Search the marketplace. Returns live listings from every account, never their sellers. | market:read |
| GET /v1/market/listings/:id | One listing, by id, reference or domain name. | market:read |
| GET /v1/market/seller/listings | Listings this account is selling, drafts included, with the private terms. | market:read |
| POST /v1/market/listings | Create a draft listing. It is not live until ownership is proven and it is published. writes | market:write |
| PATCH /v1/market/listings/:id | Change a listing's terms. The name cannot be changed; withdraw and list again. writes | market:write |
| POST /v1/market/listings/:id/publish | Take a listing live. Needs the marketplace agreement and a proof of ownership whose latest check passed in the last ten minutes, or that passes when it is checked then. writes | market:write |
| POST /v1/market/listings/:id/withdraw | Withdraw a listing. It stops being shown and cannot be published again. writes | market:write |
| POST /v1/market/reports | Report that a listed name infringes a right. Needs no account. A person at whydot checks it; the report itself hides nothing. The same report sent again under the same Idempotency-Key answers 200 with the report it made. writes Person only · API/CLI | no key |
| GET /v1/market/seller/reports | Reports on this account's own listings that it has been told about: what is claimed and where, never who reported. | market:read |
| POST /v1/market/seller/reports/:id/answer | Answer a report that hides one of this account's listings. One answer, within fourteen days of the listing being hidden. writes Person only · API/CLI | market:write |
| GET /v1/market/offers | Offers this account made or received, newest first. An offer binds nobody until it is accepted. | market:read |
| GET /v1/market/offers/:id | One negotiation, oldest offer first, by the id or reference of any offer in it. | market:read |
| POST /v1/market/offers | Make an offer on a live listing that takes offers. It binds nobody until the seller accepts it, which makes an order to pay within one hour; accepting is refused where payments are switched off. writes | market:write |
| POST /v1/market/offers/:id/counter | Answer an open offer made to this account with another amount. writes | market:write |
| POST /v1/market/offers/:id/decline | Decline an open offer made to this account. The negotiation ends. writes | market:write |
| POST /v1/market/offers/:id/withdraw | Withdraw an open offer this account made. The negotiation ends. writes | market:write |
| POST /v1/market/offers/:id/accept | Accept an open offer made to this account: makes an order at the offer's amount, to be paid by the buyer within one hour, and holds the listing for it. No payment is made. Refused wherever an order would be, and then the offer stays open. Refused where payments are switched off. Payments are switched off on whydot.com writes | market:write |
| GET /v1/market/seller/payouts | This account's Stripe account for being paid: whether buyers can pay it by card, whether Stripe can pay it out, and what Stripe still needs, read from Stripe now. Payments are switched off on whydot.com | market:read |
| POST /v1/market/seller/payouts | Make this account's Stripe account for being paid, if it has none, and hold its payouts until whydot releases them. Needs the marketplace agreement, like listing a name. Repeating it changes nothing. A person then completes Stripe's form at setupUrl. Payments are switched off on whydot.com writes | market:write |
| GET /v1/market/orders | Orders this account made as a buyer or received as a seller, newest first. Refused where payments are switched off. Payments are switched off on whydot.com | market:read |
| GET /v1/market/orders/:id | One order, by id or reference, for its buyer or its seller. Refused where payments are switched off. Payments are switched off on whydot.com | market:read |
| POST /v1/market/orders | Take a live listing's buy-now price: makes an order to be paid within one hour and holds the listing for it. No payment is made. Refused where payments are switched off. Payments are switched off on whydot.com writes | market:write |
| POST /v1/market/orders/:id/cancel | Cancel an order this account made, before paying. Its listing goes back on sale. Refused where payments are switched off. Payments are switched off on whydot.com writes | market:write |
| POST /v1/market/orders/:id/pay | Pay an order this account made: answers the address of its payment page, Stripe's, for a person to open and pay by card. One page per order; asking again answers the same page. The order shows as paid once Stripe confirms the payment. Refused where payments are switched off. Payments are switched off on whydot.com writes | market:write |
| POST /v1/market/orders/:id/transferred | As the seller, say the name has been transferred to the buyer's registrar. The order then waits for the buyer to confirm it arrived, for seven days. Sends no transfer code: never put one in the note, and a note with a word shaped like one is refused (400 transfer_note_looks_like_a_code). Saying it again with the same note changes nothing. Refused where payments are switched off. Payments are switched off on whydot.com writes Person only · API/CLI | market:write |
| POST /v1/market/orders/:id/arrived | As the buyer, confirm the name arrived: its registration is in your own account at your registrar. Not that it resolves, and not that its DNS points where you want. This establishes delivery. Refused where payments are switched off. Payments are switched off on whydot.com writes Person only · API/CLI | market:write |
| POST /v1/market/orders/:id/not-arrived | As the buyer, say the name has not arrived after the seller said it was transferred. The order goes to whydot for review; the seller is not paid out. Refused where payments are switched off. Payments are switched off on whydot.com writes Person only · API/CLI | market:write |
| POST /v1/market/orders/:id/withdraw-confirmation | As the buyer, take back the confirmation that the name arrived, before the hold on the order has run (releaseAfter). The order goes to whydot for review; the seller is not paid out while it is there. Refused once the hold has run. Refused where payments are switched off. Payments are switched off on whydot.com writes Person only · API/CLI | market:write |
| GET /v1/acquisitions | This account's acquisitions of names that are not listed, newest first. Refused where acquiring is switched off. | market:read |
| GET /v1/acquisitions/:id | One acquisition of this account, by id or reference. Refused where acquiring is switched off. | market:read |
| POST /v1/acquisitions | Ask whydot to acquire a domain that is registered and not listed, with a ceiling and an end date. whydot looks up in public registry data whether the owner can be reached and answers; it sends nothing to anyone and charges nothing for asking. whydot's fee for a name it acquires is 10% of the price paid to the owner, at least 1.00 US dollars, added on top of the ceiling and charged only if the name is bought and arrives; nothing is charged in this version. Refused where acquiring is switched off. writes | market:write |
| POST /v1/acquisitions/:id/cancel | Cancel an open acquisition of this account. Its name is free for other buyers at once. Refused where acquiring is switched off. writes | market:write |
| POST /v1/agents/connect | Exchange a one-time code from the Agents screen for an agent's key. The code works once, for ten minutes. writes Person only · API/CLI | no key |
| GET /v1/agents/asks | What agents asked this account's person, newest first. An agent's key sees its own asks only. | market:read |
| GET /v1/agents/asks/:id | One ask and its answer. When the answer is approved, offerId is the offer that was made. | market:read |
| GET /v1/billing/terms | The current Terms version, and whether this account has accepted it. | billing:read |
| POST /v1/billing/terms | Record that the person accepted the Terms. writes Person only · API/CLI | billing:write |
| GET /v1/billing | The account balance and its ledger. Every charge and credit, with its cause. | billing:read |
| POST /v1/billing/topup | Retired on 2026-11-15: the service answers 410, does nothing and charges nothing. Before that: Start a top-up. Returns a Checkout URL for a human to open; no card touches this API. Retired · answers 410 | billing:write |
| POST /v1/billing/premium/checkout | Retired on 2026-11-15: the service answers 410, does nothing and charges nothing. Before that: Start a premium subscription. Returns a Checkout URL for a human to open. Retired · answers 410 | billing:write |
MCP
Point your agent at whydot-mcp for the agent operations above, with the same scopes. Terms acceptance is a human step through the API or CLI; it is not an MCP tool. An agent can read Terms status to know when your action is needed. Accepting the marketplace agreement is a human step in the same way, and is not an MCP tool either.