API Documentation

A WHMCS-compatible registrar API for programmatic domain monitoring and management.

Your Credentials

Log in to see your API key. Login

Base URL

http://app.domainhunter.tr/api/registrar/1.0

Authentication

Every request must include your account email and API key as POST fields.

{
  "email": "[email protected]",
  "api_key": "your-api-key",
  ...
}

Domain Tags

GetDomainInfo and Renew only match domains tagged "my_domain". Backorder creates or looks up domains tagged "hunt".

Endpoints

Endpoint Params Description
POST /Register domain, years, nameservers[ns1..ns5] Creates a domain_registrations record with this app as registrar of record.
POST /GetNameservers domain Returns the ns1..ns5 nameservers for a registration.
POST /SetNameservers domain, nameserver1..5 Updates nameservers for a registration.
POST /GetLockStatus domain Returns "locked" or "unlocked".
POST /SetLockStatus domain, registrarlock Sets the registrar lock.
POST /GetWhoisInformation domain Returns registrant/tech/billing/admin contact fields.
POST /UpdateWhoisInformation domain Compatibility stub, no-op.
POST /GetDomainInfo domain Returns expirydate/active/expired/transferredAway. Checks domain_registrations first, then my_domain-tagged monitored domains.
POST /Renew domain, years Registrations: adds years. my_domain-tagged monitored domains: re-fetches WHOIS instead of blindly adding years.
POST /RequestEPPCode domain Returns (generating if needed) the EPP auth code.
POST /CheckDomainTransfer Compatibility stub, no-op.
POST /Backorder domain Starts WHOIS monitoring tagged "hunt". Idempotent — returns 200 if already tracked, 201 if newly created.

Every request must include your account email and API key as POST fields.

Examples

POST /Backorder

> {
  "email": "[email protected]",
  "api_key": "your-api-key",
  "domain": "example.com"
}

< 201 Created
{
  "status": "monitoring",
  "domain": "EXAMPLE.COM",
  "tag": "hunt",
  "registered": true
}

POST /GetDomainInfo

> {
  "email": "[email protected]",
  "api_key": "your-api-key",
  "domain": "example.com"
}

< 200 OK
{
  "expirydate": "2027-01-01",
  "active": true,
  "expired": false,
  "transferredAway": false
}

Prefer natural language? Domain Hunter also has an MCP server for AI assistants — see the homepage.