Start the purchase flow for a domain using USDC crypto payment (x402 protocol).
Autonomous two-step payment flow — no browser required:
Step 1: Call this tool to reserve the domain and get a pay_url.
Step 2: Pay the pay_url using your x402 wallet:
- If you have Coinbase Payments MCP: call its x402 payment tool with the pay_url.
- Otherwise: run `curl -L <pay_url>` — your x402-enabled HTTP client will handle
the 402 handshake and USDC payment on Base automatically.
After payment succeeds, call get_domain_status(order_id) to poll until
registration is complete (usually under 60 seconds).
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.
IMPORTANT: Before calling this tool, you MUST first call check_domain
to get the price and confirm it with the user.
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, pay_url (full URL to pay via x402),
price_usdc, price_cents, network, and USDC contract address.
Connector