Buy Domain
buy_domainStart the purchase flow for an available domain via Stripe checkout. IMPORTANT: Before calling this tool, you MUST first call check_domain to get the price, then clearly show the user the price and get their explicit confirmation before proceeding. Never call buy_domain without the user seeing and approving the price first. The registrant contact details are required because the domain will be registered in the buyer's name (they become the legal owner). WHOIS privacy is enabled by default, so these details are not publicly visible. Creates a Stripe checkout session. Returns a checkout URL that the user should open in their browser to complete payment securely via Stripe, plus the order ID for tracking. Args: domain: The domain to purchase (e.g. "coolstartup.com"). first_name: Registrant's first name. last_name: Registrant's last name. email: Registrant's email address. address1: Registrant's street address. city: Registrant's city. state: Registrant's state or province. postal_code: Registrant's postal/zip code. country: 2-letter ISO country code (e.g. "US", "GB", "DE"). phone: Phone number in format +1.5551234567. org_name: Organization name (optional, leave empty for individuals). Returns: Dict with order_id, checkout_url, price_cents, and price_display.
When to Use
Use this tool when you need to start the purchase flow for an available domain via stripe checkout.
important: before calling this tool, you must first call check_domain to get the price, then clearly show the user the price and get their explicit confirmation before proceeding. never call buy_domain without the user seeing and approving the price first.
the registrant contact details are required because the domain will be registered in the buyer's name (they become the legal owner). whois privacy is enabled by default, so these details are not publicly visible.
creates a stripe checkout session. returns a checkout url that the user should open in their browser to complete payment securely via stripe, plus the order id for tracking.
args: domain: the domain to purchase (e.g. "coolstartup.com"). first_name: registrant's first name. last_name: registrant's last name. email: registrant's email address. address1: registrant's street address. city: registrant's city. state: registrant's state or province. postal_code: registrant's postal/zip code. country: 2-letter iso country code (e.g. "us", "gb", "de"). phone: phone number in format +1.5551234567. org_name: organization name (optional, leave empty for individuals).
returns: dict with order_id, checkout_url, price_cents, and price_display.. This is part of the InstaDomain provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 8+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("instadomain/buy_domain")xpay_run— Execute:xpay_run("instadomain/buy_domain", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
country | string | Yes | |
city | string | Yes | |
phone | string | Yes | |
address1 | string | Yes | |
domain | string | Yes | |
last_name | string | Yes | |
state | string | Yes | |
postal_code | string | Yes | |
org_name | string | No | |
first_name | string | Yes | |
email | string | Yes |
Pricing
- Cost: $0.02/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- InstaDomain (all tools) — 9 tools
- Check Domain — $0.02/call
- Buy Domain Crypto — $0.02/call
- Get Domain Status — $0.02/call
- Get Transfer Code — $0.02/call
- Unlock Domain — $0.02/call
Links
- Tool page: https://xpay.tools/instadomain/buy-domain/
- Provider: https://xpay.tools/instadomain/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
country | string | Yes | - |
city | string | Yes | - |
phone | string | Yes | - |
address1 | string | Yes | - |
domain | string | Yes | - |
last_name | string | Yes | - |
state | string | Yes | - |
postal_code | string | Yes | - |
org_name | string | No | - |
first_name | string | Yes | - |
| string | Yes | - |
Install Skill
Pricing
Cost
$0.02/call
Model
Flat rate
Provider
InstaDomain

