Skip to main content

Base URL and authentication

The production base URL is https://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.
The interactive documentation is served by the API itself at 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:
Error responses use this shape:

Writes and idempotency

Every documented mutation requires Idempotency-Key, 8–128 characters using letters, digits, ., _, :, or -. Generate it once per logical operation and reuse it only when retrying that exact operation.
Some writes return an accepted or queued result. Poll the relevant read endpoint, the KmerHosting Dashboard, or the service’s dedicated management application when one is used.

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. Use GET /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.

AI-ready integration prompt

The KmerHosting Dashboard provides copy-ready versions for ChatGPT, Claude, Gemini, Cursor, and other AI coding clients.