Renew a domain
POST /domains/renew
Renews an existing domain registration. This endpoint uses x402 dynamic pricing — the first request returns a 402 with payment details, and the client must retry with a valid x402 payment header. Rate limited: 10 requests per day per IP.
Request Body required
Section titled “Request Body required ”object
Fully qualified domain name to renew (e.g. “example.com”)
Renewal period in years
Responses
Section titled “ Responses ”Domain renewed successfully
object
Unique transaction identifier
The renewed domain name
Renewal period in years
Price paid in USD
New domain expiration date
Current name servers
Validation error
object
Short error description
Human-readable error message
Machine-readable error code
Payment required. Retry the request with a valid x402 payment header.
object
The domain name
Total price in USD (e.g. “12.99”)
Registration/renewal period
Payment network in CAIP-2 format
Headers
Section titled “Headers ”X402 payment requirements encoded as a JSON object
Domain not found
object
Short error description
Human-readable error message
Machine-readable error code
Rate limit exceeded
object
Short error description
Human-readable error message
Machine-readable error code