Domain management (Vercel)

Domain management (Vercel)

Otonix uses the Vercel Domains Registrar API for registration and DNS.

Pricing is at-cost (wholesale), with no markup.

Treasury for domain purchases

Domain registration is paid via x402 using USDC on Base.

  • Treasury: 0x36363e573a3b5d4C22b6A64ef3080E5C101E685F

Check Vercel integration status

GET /api/vercel/status

curl -sS "https://app.otonix.tech/api/vercel/status"
{ "configured": true }

Get payment config

GET /api/vercel/payment-config

{
  "treasuryAddress": "0x36363e573a3b5d4C22b6A64ef3080E5C101E685F",
  "usdcContract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "chainId": 8453,
  "network": "eip155:8453",
  "facilitatorUrl": "https://x402.org/facilitator",
  "protocol": "x402"
}

Check domain availability

POST /api/vercel/check

Register domain (x402)

Registration is a paid endpoint.

You must follow the x402 handshake.

See x402 payment protocol for the full verification and header formats.

1

1) Request registration (expect 402)

POST /api/vercel/register

2

2) Pay USDC on Base

Send USDC to the treasury address.

Wait for on-chain confirmation.

3

3) Retry with payment proof

List registered domains (Vercel)

GET /api/vercel/domains

DNS management

List DNS records

GET /api/vercel/dns/:domain

Add DNS record

POST /api/vercel/dns/:domain

Delete DNS record

DELETE /api/vercel/dns/:domain/:recordId

Local domain records (database)

These endpoints manage Otonix-side domain metadata.

  • GET /api/domains — list

  • GET /api/domains/:id — read

  • POST /api/domains — create

  • PATCH /api/domains/:id — update

Use this to enable autonomous renewal and auto-DNS.

PATCH /api/domains/:id

Domain object

Last updated