POST/domains/check
Check availability and prices
Availability and your prices (in your account currency) for up to 50 names.
Scope domains:readReturns array of object
Version 1.7.0 · base URL /api/reseller/v1
Sell domains under your own brand. Every purchase is paid from your prepaid wallet at your reseller prices.
Authentication. Create an API key in the reseller panel (Account, Reseller). Send it as Authorization: Bearer nmc_xxxxxxxx.<secret>. A key has scopes (below) and can be limited to IP addresses.
Errors. Every error is JSON {"detail", "code", "params"}. detail is English text for people; branch on code, which never changes within v1. Validation errors (reseller.invalidRequest, 422) also carry errors.
Idempotency. Send a unique Idempotency-Key header (up to 120 characters, e.g. a UUID). Repeating the request with the same key returns the first response instead of doing it again; the same key with a different request is refused (422 reseller.idempotencyKeyReused). Only successful responses are kept, so a failed request can be retried with the same key. Chargeable calls (order, renew, restore, transfer, paying an invoice) require the header; every other change accepts it.
Pagination. Lists take offset and limit (at most 500) and return a JSON array. The X-Total-Count header holds the total and X-Next-Offset the offset of the next page (absent on the last page).
Rate limits. Each key may make 120 requests a minute unless we agreed another limit with you, and all the keys of one account together 300 a minute. Over either the API answers 429 reseller.rateLimited with Retry-After in seconds.
Spending. A key can have a daily spend cap, set in the panel. Every wallet payment made with the key (orders, renewals, restores, transfers and paying invoices) counts from midnight Nepal time; a purchase that would go over it is refused with 403 reseller.spendCapReached and creates nothing.
Transfers away. Unlocking a domain, revealing its auth code and pushing it to another account need the transfers:out scope; domains:write doesn't cover them. Give it only to the keys that move domains out.
Versioning. v1 only grows: new endpoints, new optional fields, new response fields, new event types and new error codes can appear at any time, so ignore fields you don't know. Removing or renaming anything, or making an optional field required, would be a v2 at a new base URL. A deprecated endpoint, field or event keeps working for at least 6 months after its deprecation is announced in the changelog and by email to resellers, and is marked deprecated here.
Webhooks. Events are POSTed as JSON, signed with X-Namence-Signature: t=<unix time>,v1=<hex HMAC-SHA256 of "<t>.<raw body>"> using your signing secret, and retried with backoff up to 8 times over about a day. Choose events in the panel or with PUT /webhooks.
Each API key holds only the scopes you choose when you create it. A call without its scope is refused with reseller.missingScope.
The most common codes. Every error carries a code; branch on it rather than on the English text.
Choose the events to receive in the reseller panel or with PUT /webhooks. You can send a test of each one.
Availability, registration, the domain list and per-domain settings
Renew and restore, with the expiry stage rules (grace, redemption, released)
Incoming transfers: pre-check, order, timeline and resubmit
DNS records, presets with undo, zone export, DNSSEC and glue records
Registrant contacts
Hand a domain to your end client's own account
Wallet, statement, price list and invoices
Event settings, test events and the delivery log
/domains/checkCheck availability and prices
Availability and your prices (in your account currency) for up to 50 names.
Scope domains:readReturns array of object
/domains/orderRegister, transfer, renew or restore
Register, transfer, renew or restore one domain, paid from wallet credit. The dedicated calls (POST /domains/{name}/renew, /restore and POST /transfers) do the same with simpler bodies. Some extensions need extra registrant details (.us nexus, .ca legal type): send them in fields, keyed as listed by GET /api/v1/public/tlds/fields. To hand a registered domain to your end client's own account, use the push calls.
Scope domains:writeIdempotency-Key requiredReturns Purchase
/domainsList domains
Your domains (cancelled ones left out), by name. Filter by status or a part of the name (q). Paginated: see X-Total-Count.
Scope domains:readReturns array of Domain
/domains/{name}Domain detail
The domain and its last 10 registrar operations.
Scope domains:readReturns DomainDetail
/domains/{name}/nameserversSet nameservers
Two to twelve nameservers.
Scope domains:writeIdempotency-Key acceptedReturns Domain
/domains/{name}/auth-codeReveal the auth code
The EPP auth code for a transfer away. The account owners get the same email as when a person reveals it, and it is refused (403 reseller.lockPlusOn) while the client has transfer lock+ on.
Scope transfers:out
/domains/{name}/privacyTurn WHOIS privacy on or off
Scope domains:writeIdempotency-Key acceptedReturns Domain
/domains/{name}/auto-renewTurn auto-renew on or off
Our auto-renew, paid from your wallet before expiry (the registrar's own auto-renew stays off).
Scope domains:writeIdempotency-Key acceptedReturns Domain
/domains/{name}/lockLock or unlock for transfer
Locking is immediate and cancels a waiting unlock. Unlocking emails the account owners; while the client has transfer lock+ on it is scheduled instead (unlock_scheduled_for) and can be stopped from the email or with DELETE /domains/{name}/unlock-request. Scope: domains:write to lock, transfers:out to unlock.
Scopes domains:write, transfers:outIdempotency-Key accepted
/domains/{name}/unlock-requestWaiting unlock (transfer lock+)
Scope domains:read
/domains/{name}/unlock-requestStop a waiting unlock
Scope domains:write
/domains/{name}/registrantChange the registrant
Make another of your contacts the registrant. For gTLDs the registrar may apply a 60-day transfer lock (ICANN change of registrant).
Scope domains:writeIdempotency-Key acceptedReturns Domain
/domains/{name}/renewalCan it be renewed or restored now
The expiry stage and whether renew or restore can be bought now, with the reason code when not (checkout.restoreInstead, checkout.notInRedemption, checkout.domainReleased, checkout.renewalOpen), the prices and the most years a renewal may add (the registry's 10-year cap).
Scope domains:read
/domains/{name}/renewRenew a domain
Renew for years, paid from your wallet. The same rules as the client area: refused in redemption (restore instead), after release, while another renewal is unpaid (pay it with POST /invoices/{id}/pay) and beyond the 10-year cap (pricing.termCap). In grace the late-renewal fee is added.
Scope domains:writeIdempotency-Key requiredReturns Purchase
/domains/{name}/restoreRestore a domain from redemption
Restore a domain in redemption, paid from your wallet: the restore fee plus the renewal year the registry bundles.
Scope domains:writeIdempotency-Key requiredReturns Purchase
/transfers/checkPre-check transfers
For each {domain, auth_code}: offered here, registered elsewhere, unlocked, past the 60-day window, auth code format, and your transfer price. Each failed check has a plain-language fix.
Scope domains:read
/transfersList transfers
The latest incoming transfer of each of your domains, newest first. Paginated.
Scope domains:readReturns array of object
/transfersTransfer a domain in
Order a transfer, paid from your wallet. It usually completes within 5 days; follow it with GET /domains/{name}/transfer or the domain.transfer.* webhooks.
Scope domains:writeIdempotency-Key requiredReturns Purchase
/domains/{name}/transferTransfer timeline
Stages (requested, submitted, pending_losing, completed or failed) with times, the failure reason and the next step. 404 reseller.noTransfer when the domain wasn't transferred in.
Scope domains:read
/domains/{name}/transfer/resubmitResubmit a failed transfer
Try a failed transfer again, usually with a new auth code. Nothing is charged again.
Scope domains:writeIdempotency-Key accepted
/domains/{name}/dnsList DNS records
Scope domains:readReturns array of DnsRecord
/domains/{name}/dnsReplace all DNS records
The zone becomes exactly records (an empty list removes every record). Undoable.
Scope dns:writeIdempotency-Key accepted
/domains/{name}/dns/recordsAdd a DNS record
Adding a record that already exists changes nothing.
Scope dns:writeIdempotency-Key acceptedReturns DnsRecord
/domains/{name}/dns/records/{record_id}Update a DNS record
Replace the record with this id. The id changes with the record: use the one returned.
Scope dns:writeIdempotency-Key acceptedReturns DnsRecord
/domains/{name}/dns/records/{record_id}Delete a DNS record
Scope dns:writeIdempotency-Key accepted
/domains/{name}/dns/zoneExport the zone file
The records as a BIND zone file (text/dns).
Scope domains:readReturns string
/dns-presetsList DNS presets
Ready-made record sets (Google Workspace, Microsoft 365, Zoho Mail …) and the inputs each takes.
Scope domains:readReturns array of object
/domains/{name}/dns/presets/{slug}/previewPreview a DNS preset
What applying the preset would add, replace and remove, and a fingerprint to pass to apply.
Scope domains:read
/domains/{name}/dns/presets/{slug}/applyApply a DNS preset
Replaces only the records the preset owns (e.g. the MX records for a mail preset). Undoable.
Scope dns:writeIdempotency-Key accepted
/domains/{name}/dns/last-changeThe change undo would take back
Scope domains:read
/domains/{name}/dns/undoUndo the last DNS change
Takes back the last change (a preset, a zone import or an API change), keeping anything edited since. Only the last change can be undone.
Scope dns:writeIdempotency-Key accepted
/domains/{name}/dnssecList DS records
Scope domains:readReturns array of object
/domains/{name}/dnssecAdd a DS record
Send the record as text or as its four fields.
Scope dns:writeIdempotency-Key accepted
/domains/{name}/dnssecRemove a DS record
Scope dns:writeIdempotency-Key accepted
/domains/{name}/glueList glue records
Scope domains:readReturns array of object
/domains/{name}/glueCreate or update a glue record
A host under the domain (ns1.example.com) and its addresses.
Scope dns:writeIdempotency-Key accepted
/domains/{name}/glue/{host}Delete a glue record
Scope dns:writeIdempotency-Key accepted
/contactsList contacts
Paginated.
Scope contacts:readReturns array of Contact
/contactsCreate a contact
If organization is set, the organization is the legal registrant (ICANN).
Scope contacts:writeIdempotency-Key acceptedReturns Contact
/contacts/{contact_id}Contact detail
Scope contacts:readReturns Contact
/contacts/{contact_id}Update a contact
Updates our copy. Domains using it get the new details at the registrar with their next registrant update (PUT /domains/{name}/registrant).
Scope contacts:writeIdempotency-Key acceptedReturns Contact
/domains/{name}/pushReseller Push State
Scope domains:read
/domains/{name}/pushReseller Push
Offer the domain to your end client's Namence account (by email). They accept it in their client area within the offer period; nothing is charged. Refused while transfer lock+ is on: push from the client area instead.
Scope transfers:out
/domains/{name}/pushReseller Cancel Push
Scope domains:write
/balanceWallet balance
available is what purchases can spend (the balance less holds).
Scope billing:readReturns Balance
/transactionsWallet ledger
The latest wallet movements, newest first (at most 500). For a date range use GET /statement.
Scope billing:readReturns array of Transaction
/statementAccount statement
Wallet ledger for the range with opening and closing balance, plus the invoices issued and payments made in it (the client area's statement). Default: this month; at most three years.
Scope billing:read
/pricingYour price list
Register, renew, transfer and restore prices of every extension at your price tier, in your currency, with the grace and redemption periods. Scope: billing:read (or domains:read).
Scopes billing:read, domains:readReturns array of object
/invoicesList invoices
Newest first; filter by status (unpaid, paid, cancelled, refunded). Paginated.
Scope billing:readReturns array of InvoiceList
/invoices/{invoice_id}Invoice detail
With its lines, seller and buyer details and payments.
Scope billing:readReturns Invoice
/invoices/{invoice_id}/pdfInvoice PDF
The PDF stored when the invoice was issued (or paid), as application/pdf.
Scope billing:readReturns string
/invoices/{invoice_id}/payPay an invoice from the wallet
Pay an unpaid invoice (for example a renewal our system issued before expiry) from your wallet, all or nothing. It counts towards the key's daily spend cap (403 reseller.spendCapReached).
Scope billing:writeIdempotency-Key requiredReturns Invoice
/webhooksWebhook settings and event types
Your endpoint, the events you subscribe to and every event type. The signing secret is only shown in the reseller panel.
Scope webhooks:manage
/webhooksChange webhook settings
Set the https endpoint and the events to receive. A signing secret is created with the first URL; reveal or rotate it in the reseller panel.
Scope webhooks:manageIdempotency-Key accepted
/webhooks/testSend a test event
Send webhook.test, or a sample of any event type (its payload has "test": true), to your endpoint now, whether or not you subscribe to it. Returns the delivery.
Scope webhooks:manage
/webhooks/deliveriesDelivery log
Newest first, with each attempt's response code and an excerpt of the reply. Paginated.
Scope webhooks:manageReturns array of object
/webhooks/deliveries/{delivery_id}/redeliverRedeliver an event
Send the same event again as a new delivery with the same event id.
Scope webhooks:manage
required fields are always needed, required_if fields only when another field has one of the listed values (e.g. .us us_nexus_country for us_nexus_category C31 or C32). Checkbox answers are true or false. A missing or invalid answer returns 400 naming the field. Example for .us: {"us_nexus_category": "C31", "us_nexus_country": "NP", "us_purpose": "P1"}2371 13 2 1F987C…2371 13 2 1F987C…