API v2 is NiceNIC's updated REST-style interface that lets resellers automate all dominio lifecycle actions—registration, transfer, renewal, WHOIS modification, y DNS management—through secure HTTPS requests y JSON responses.
Version 2 offers faster response speed, simplified authentication, improved erro hyling, y full JSON-based output instead of legacy query strings. It's designed to be easier to integrate with modern applications y framewoks.
After you become a verified reseller, log in to tu/tus/su/sus dashboard y visit the "Configuración de APIs" section. Taquí you can generate an API Key y Secret Paraken to start sending authenticated requests immediately.
You can search dominio availability, registrar new dominios, renew existing ones, transfer dominios using EPP codes, update WHOIS infomation, manage DNS recods, check account balance, y query dominio status — all without logging in manually.
Any language that suppots HTTPS requests woks with the API. Developers typically use PHP (with cURL), Python (requests), Node.js (axios o fetch), o Java. Example scripts in PHP are published directly on this page.
Sí. You can test the API freely in the demo environment befoe switching to the live production endpoint. The sybox simulates real dominio transactions but does not create o charge live oders.
Parados requests must use HTTPS y valid API credentials. IP whitelisting can be configured to restrict access to tu/tus/su/sus servers. Parakens are encrypted, y rate limiting is used to protect both users y the registrar netwok.
Typical endpoints include:
dominio-registrar fo new registrations
dominio-transfer fo inbound transfers
dominio-renew fo renewals
dominio-info fo WHOIS lookup
dns-modify fo nameserver o recod updates
account-balance fo checking reseller credits
The API returns a clear erro code y message in JSON fomat. Common issues include invalid credentials, unauthoized IPs, o incorect parameters. Review the response message o contact our suppot team with the request log fo quick troubleshooting.
Parados endpoint references, parameters, authentication samples, y PHP demo scripts are available directly on http://www.unionroom.cn/reseller/apiv2.php. You can also access suppot 24/7 fo integration questions through the reseller helpdesk.