# Hermoso: buy_domain: Get a new domain · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/buy_domain/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / buy_domain

# `buy_domain`

Get a new domain (payment link)

Area: LAUNCH PAGES · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Buy a domain through Hermoso, priced in dollars. The registrant (firstName, lastName, email, phone +1.4155550100, address1, city, state, zip, country) owns it; WHOIS privacy is free; auto-renew is on. Without confirm:true nothing happens and you get the exact fees and the domain registration agreement to show the user; once they accept it, confirm:true with acceptRegistrationAgreement:true returns a Stripe payment link for the USER to open and pay by card (nothing is charged in the chat), and the domain registers within about a minute of paying. Needs a paid plan or bought credits. page optionally names the hosted project it is for.

## Parameters

Parameter Type Description

`domain` required `string` the domain, e.g. yourbrand.com

`registrant` required `object` who will own the domain (ICANN needs real details)

`registrant.firstName` required `string`

`registrant.lastName` required `string`

`registrant.email` required `string`

`registrant.phone` required `string` +<country>.<number>, e.g. +1.4155550100

`registrant.address1` required `string`

`registrant.city` required `string`

`registrant.state` required `string`

`registrant.zip` required `string`

`registrant.country` required `string` two letters, e.g. US

`registrant.companyName` `string`

`page` `string` the hosted project this domain is for

`acceptRegistrationAgreement` `boolean` true only after the user accepted the domain registration agreement

`confirm` `boolean` true only after the user approved it

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/buy_domain`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"buy_domain","arguments":{"domain":"<string>","registrant":"<object>"}}}`
**CLI**

`hermoso call buy_domain --json '{"domain":"<string>","registrant":"<object>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [find_domain](https://hermoso.ai/docs/reference/publish/find_domain/) Check a domain and its price
- [list_domains](https://hermoso.ai/docs/reference/publish/list_domains/) List bought domains
- [delete_site_user](https://hermoso.ai/docs/reference/publish/delete_site_user/) Delete a hosted project's user
- [get_domain](https://hermoso.ai/docs/reference/publish/get_domain/) Read a bought domain
- [update_site_user](https://hermoso.ai/docs/reference/publish/update_site_user/) Disable, enable or reset a hosted project's user
- [set_domain_autorenew](https://hermoso.ai/docs/reference/publish/set_domain_autorenew/) Turn domain auto-renew on or off
- [list_site_users](https://hermoso.ai/docs/reference/publish/list_site_users/) List a hosted project's users
- [renew_domain](https://hermoso.ai/docs/reference/publish/renew_domain/) Renew a domain now
- [set_site_email_suppression](https://hermoso.ai/docs/reference/publish/set_site_email_suppression/) Edit a hosted project's email suppression list
- [transfer_out](https://hermoso.ai/docs/reference/publish/transfer_out/) Move a domain to another registrar

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
