Sandbox
Base URL:
Purpose: Testing and development in a safe environment with no real charges.
https://dev.namify.hostPurpose: Testing and development in a safe environment with no real charges.
Production
Base URL:
Purpose: Live domain purchases, renewals and domain management
https://namify.hostPurpose: Live domain purchases, renewals and domain management
Versioning
The version is embedded in the URL path (/v1/). Breaking changes increment the major version with at least 6 months of parallel support. Non-breaking changes (new fields, new endpoints) ship continuously.Request format
All request bodies must be JSON with Content-Type: application/json. Query parameters are used for filtering and pagination on GET requests.Response structure
Response shapes vary by endpoint. Most successful responses return a flat JSON object:message field. Errors originating from the upstream registrar also include a status field:
Pagination
The/api/v1/domains/orders endpoint is the only paginated endpoint. It uses page-based pagination via the page query parameter (defaults to 1). The response includes total_orders (total matching records) and orders_on_page (count on the current page).
Common headers
| Type | Description |
|---|---|
| Authorization | Bearer nk_live_ or Bearer nk_test_ |
| Content-Type | Application/json (required on POST PUT PATCH) |
| X-RateLimit-Remaining | Requests remaining in the current window. |
| X-RateLimit-Reset | Unix timestamp when the window resets. |
HTTP status codes
| Code | Description |
|---|---|
| 200 | Success. |
| 201 | Resource created (e.g. customer signup). |
| 400 | Upstream request error. |
| 401 | Unauthorized. API key is missing or invalid. |
| 422 | Unprocessable. Validation failed or the registrar rejected the request. |
| 500 | Unexpected server error. |
| 502 | Upstream registrar returned an unexpected or unparseable response. |