{"uid":"cap_9su2XFHWRHHy6_joDy8kD","slug":"stableemail-0ecc0338","name":"StableEmail Subdomain Purchase","description":"Purchase a custom subdomain","url":"https://stableemail.dev/api/subdomain/buy","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"subdomain":{"type":"string","allOf":[{"pattern":"^[a-z0-9][a-z0-9-]{1,28}[a-z0-9]$"},{"pattern":"^(?!.*--)"}]}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","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":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wGRCMjQuN7LJ1wBuSF45G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase a custom subdomain on stableemail.dev for use as a personalized email address","exampleAgentPrompt":"Register the subdomain 'acmebot' on StableEmail so I have a custom email address at acmebot.stableemail.dev — go ahead and pay the $5 USDC fee.","exampleUseCases":null,"resultDescription":"Returns confirmation that the custom subdomain has been purchased and registered on stableemail.dev, making it available as a personalized email address for sending and receiving email.","failureModes":["Subdomain already taken — returns conflict error","Insufficient USDC balance — payment failure","Invalid subdomain format — returns validation error","Subdomain contains reserved or disallowed characters — rejected"],"whenToPreferThis":"Use this endpoint when you need to register a custom, branded subdomain on stableemail.dev for a user, agent, or application that will send and receive email under a personalized address. Prefer this over buying a full inbox (which costs $1 for 30 days) when the primary goal is a persistent custom domain identity rather than a temporary forwarding inbox.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:00.379Z","isFirstParty":false}