logo
OpenapiBase route

Instant Register domain With X402

API Docs with browser client
GET
/x402/domain/{normalizedDomainName}

Purchase a single domain instantly without adding to cart. Validates domain availability, creates payments and order, then starts the order processing workflow.

Authorization

headerx-api-key<token>

Path Parameters

normalizedDomainName*string
Match^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$
Lengthlength <= 255

Query Parameters

durationInYears?integer
Range0 <= value <= 10
Default1
nftReceivingWalletAddress?string
domainSetupOptions?

Per-item domain setup overrides (autoPark, autoEns, autoRenew, dnssec, nameservers, keepExistingNameservers). Explicit nonempty nameserver hostnames override keepExistingNameservers; external nameservers cannot enable Namefi DNSSEC. Defaults applied when omitted.

Response Body

OK

application/json
  1. response
status*unknown
message*string
purchaseId*string
domain*string
Match^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$
Lengthlength <= 255
buyerWallet?unknown
nftReceivingWalletAddress?unknown
estimatedCompletionSeconds*integer
Range-9007199254740991 <= value <= 9007199254740991
Example Request
curl -X GET 'https://example.com/v4/x402/domain/string'
Example Response
{  "status": "accepted",  "message": "string",  "purchaseId": "string",  "domain": "string",  "buyerWallet": null,  "nftReceivingWalletAddress": null,  "estimatedCompletionSeconds": -9007199254740991}