xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
I

Buy Domain Crypto

buy_domain_crypto

Start the purchase flow for a domain using USDC crypto payment (x402 protocol). This is a 2-step process for autonomous agent payments: Step 1: Call this tool to get an order_id and pay_url. Step 2: Make an HTTP GET request to the pay_url. Your x402-enabled HTTP client will receive an HTTP 402 response with payment requirements, then automatically pay with USDC on Base. The payment and settlement happen via the x402 protocol (no browser or human needed). After payment, call get_domain_status(order_id) to poll until complete. Requires: An x402-compatible HTTP client with a funded USDC wallet on Base. 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 GET with x402 client), price_usdc, price_cents, network, and asset contract address.

$0.02/call
Flat rate
InstaDomain
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to start the purchase flow for a domain using usdc crypto payment (x402 protocol).

this is a 2-step process for autonomous agent payments:

step 1: call this tool to get an order_id and pay_url. step 2: make an http get request to the pay_url. your x402-enabled http client will receive an http 402 response with payment requirements, then automatically pay with usdc on base. the payment and settlement happen via the x402 protocol (no browser or human needed).

after payment, call get_domain_status(order_id) to poll until complete.

requires: an x402-compatible http client with a funded usdc wallet on base.

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 get with x402 client), price_usdc, price_cents, network, and asset contract address.. 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:

  1. xpay_details — Get full input schema: xpay_details("instadomain/buy_domain_crypto")
  2. xpay_run — Execute: xpay_run("instadomain/buy_domain_crypto", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
countrystringYes
citystringYes
phonestringYes
address1stringYes
domainstringYes
last_namestringYes
statestringYes
postal_codestringYes
org_namestringNo
first_namestringYes
emailstringYes

Pricing

  • Cost: $0.02/call
  • Balance check: Use xpay_balance to 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 — $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-crypto/
  • Provider: https://xpay.tools/instadomain/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("instadomain/buy_domain_crypto")
// 2. Execute
xpay_run("instadomain/buy_domain_crypto", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

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

stringNo

-

first_name

string
Yes

-

email

string
Yes

-

Related Tools from InstaDomain
Check Domain — $0.02Buy Domain — $0.02Get Domain Status — $0.02Get Transfer Code — $0.02Unlock Domain — $0.02Renew Domain — $0.02Check Domains Bulk — $0.02Suggest Domains — $0.02
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/instadomain/buy-domain-crypto/SKILL.md
CLI
npx @xpaysh/cli install instadomain/buy-domain-crypto
Manual
curl -o SKILL.md https://xpay.tools/skills/instadomain/buy-domain-crypto/SKILL.md
Pricing

Cost

$0.02/call

Model

Flat rate

Provider

InstaDomain

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service