BetaClaim your site
Developers

Sell .ng domains from your own platform.

A REST API paid from a prepaid wallet, with signed webhooks and a sandbox. Use it from any billing system, store or app, or install our WHMCS module.

REST API

Check, register, renew and transfer .ng domains, change nameservers and contacts, and read your wallet and price sheet.

API reference →

Webhooks and events

Signed events when a transfer completes, a renewal fails or a domain is close to expiry. Prefer polling? Read the same events from /events.

Webhooks guide →

Sandbox

Test keys work against a pretend registry with a test balance, failures included, so you can build before your account is approved.

Sandbox guide →

WHMCS module

On WHMCS? Our registrar module talks to the API for you: install it, paste a key and import your prices.

Get the module →

Quick start

  1. Sign up and apply in the reseller dashboard. Tell us what you sell through.
  2. While we review, create a sandbox key (rk_test_) there and build against the sandbox. Nothing in it is charged or registered.
  3. Once approved, fund your wallet and create a live key (rk_live_). Your code does not change: only the key does.
  4. Add a webhook endpoint for each mode and check every delivery's signature, or poll GET /events.
shell
# Your sandbox key from the reseller dashboard
KEY="rk_test_xxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyyyyyyyyyy"
API="https://hostnownow.com/api/reseller/v1"

# Is the name free?
curl -s -X POST "$API/domains/check" \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"domain": "obistores.com.ng"}'

# Register it (sandbox: nothing is charged or registered for real)
curl -s -X POST "$API/domains/register" \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-1042" \
  -d '{
    "domain": "obistores.com.ng",
    "years": 1,
    "registrant": {
      "firstName": "Ada", "lastName": "Obi", "email": "ada@example.com",
      "phone": "+2348030000000", "address1": "12 Marina Road", "city": "Lagos"
    }
  }'

The whole API is described as OpenAPI 3.1 at /api/reseller/v1/openapi.json for Postman, Insomnia or a client generator.