Base URL and authentication
The production base URL ishttps://api.kmerhosting.com. Authenticate with an API key or, for the hosted MCP flow, a user-scoped OAuth access token.
Open interactive API docs
Try the REST API in Swagger UI and inspect the live schema.
Download the OpenAPI document
Use the machine-readable contract with generators and API clients.
Domain availability API
Check domain availability publicly, with single and bulk search.
api.kmerhosting.com/docs. It always reflects the deployed gateway contract; use the reference pages in this site for KmerHosting workflows and security guidance.
The health endpoint is public: GET /health. All /v1/* operations require an appropriate scope.
For public domain availability checks without an API key, use the separate Domain availability API. It is not part of the api.kmerhosting.com OpenAPI contract.
Response envelopes
Successful responses use this shape:Writes and idempotency
Every documented mutation requiresIdempotency-Key, 8–128 characters using letters, digits, ., _, :, or -. Generate it once per logical operation and reuse it only when retrying that exact operation.
Resource families
The exact endpoint definitions are generated in the OpenAPI reference: account and API activity, service inventory, domains/DNS, Email Hosting, Shared Hosting, LXC inventory/actions/metrics/snapshots/credentials/reinstall/terminal/subscription, and KVM management. UseGET /v1/account/api-usage with account:usage:read to audit every call, including operation IDs and source IPv4 values. The former /v1/vps/* resource is retired; use /v1/lxc/* or /v1/kvm/* explicitly.

