{"uid":"cap_EcfqeoHYYTykozcvD47mZ","slug":"stabledomains-register-domain-0aa5a9e6","name":"StableDomains Register Domain","description":"Buy domain: domain registration paid in USDC via x402. Registers a domain name. POST {domain, years}; the 402 quotes the exact live price for that name (a request without a body shows the lowest from-price). Premium or taken names are refused before payment.","url":"https://stabledomains.net/api/v1/register?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"years":{"type":"integer","default":1,"maximum":10,"minimum":1},"domain":{"type":"string","description":"Domain to register (second-level, e.g. myagent.xyz)"},"nameservers":{"type":"array","items":{"type":"string"},"maxItems":6}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1000","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1000","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M07jwrzpXqjTDIlR4L9Uu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1000","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Registers a domain name for 1–10 years, quoting and collecting the live USDC price via x402 payment before completing registration.","exampleAgentPrompt":"Register myagent.xyz for 2 years on StableDomains — go ahead and pay whatever the live USDC price is.","exampleUseCases":[{"title":"Launch a startup's web presence","prompt":"Register launchpad-ai.xyz for 1 year on StableDomains and pay the USDC price — that's the domain we're using for the new product."},{"title":"Secure a domain with custom nameservers","prompt":"Buy mypersonalbrand.com for 3 years on StableDomains and point it to ns1.cloudflare.com and ns2.cloudflare.com — pay whatever USDC price they quote."},{"title":"Agent fleet acquires project domain","prompt":"I need to register autonomousops.xyz for 2 years right now through StableDomains — just pay the live price in USDC and confirm it's ours."}],"resultDescription":"Returns a confirmation that the domain has been registered, including the domain name, registration term, expiry date, and the USDC amount charged. If the domain is already taken, premium-priced beyond threshold, or the payment fails, registration is refused before funds are collected.","failureModes":["Domain already registered — 4xx response before payment is taken","Domain is a premium name above the quoted price — refused pre-payment","Invalid domain format or unsupported TLD — validation error","Payment authorization fails or USDC balance insufficient — 402 not satisfied","years out of range (must be 1–10) — schema validation error","Nameserver list exceeds 6 entries — rejected","Network timeout during registration — partial state possible, should retry with idempotency care"],"whenToPreferThis":"Choose this endpoint when an agent or user wants to actually purchase and lock in a domain name with immediate effect, paying in USDC via x402. Use it after confirming availability (e.g. via StableDomains Bulk Availability) and choosing a name (e.g. via StableDomains Name Generator). Prefer this over manual registrar flows when operating in a crypto-native or autonomous-agent context where credit card payments are not feasible and stablecoin settlement is preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:47:34.842Z","isFirstParty":false,"canonicalSlug":"stabledomains-register-domain-0aa5a9e6"}