CLI & API
Web for most people. CLI when you are in a terminal. API when your agent should do the work — same domain services underneath.
Get started
- 1. Sign in
Create an account and sign in to Domenebutikken.
- 2. Create an API token
Call POST /api/account/api-tokens while signed in. The token is shown once (dbk_…).
- 3. Run the CLI
Set DOM_API_TOKEN and run npm run cli — or point DOM_API_BASE at production.
Useful commands
npm run cli -- search examplenpm run cli -- listnpm run cli -- inspect example.comnpm run cli -- dns list example.com
HTTP API
Versioned under /api/v1 with Bearer tokens. Scopes: domains:search, domains:read, domains:write. Mutations require confirmed: true.