Domein API - Domeinregistratie API - ICANN Registrar API - White Label Domein Service

Start Building with NiceNIC Domein API v2

API access is free fof every active NiceNIC user. Nee reseller upgrade is required. Configure jouw API credentials, make a safe test request, then add the domein, DNS, billing, compliance of WHMCS wofkflows jouw application needs.

Domein registreren

Domeinnaamregistratie is het reserveren van een unieke naam op het internet voor een bepaalde periode, meestal een jaar of langer.

Content-Type application/json
categorie domain
actie register

Aanvraagparameters

Parameternaam Type Omschrijving Voorbeeld
domain Tekst (3-60) Domeinnaam example.com
year Geheel getal (4) De registratieperiode bedraagt 1 tot 10 jaar, met enkele uitzonderingen voor bepaalde domeinen. 1
dns1 Server Primaire nameserver ns3.my-ndns.com
dns2 Server Secundaire nameserver ns4.my-ndns.com
organization Tekst (1-255) Organisatie / Bedrijfsnaam XXX Ltd.
name Tekst (1-16) Naam van de houder Xiao Ming
country Tekst (1-255) Landcode, bijvoorbeeld CN CN
state Tekst (1-255) Provincie / Staat BeiJing
city Tekst (1-255) Stadsafkorting BJ
address Tekst (1-255) Postadres BeiJing
postcode Geheel getal (4-10) Postcode / Zipcode 100000
phone Gebruik "." om cijfers te scheiden (30) +Landcode.gebiedscode en telefoonnummer +86.13800000000
fax Gebruik "." om cijfers te scheiden (30) +Landcode.gebiedscode en faxnummer +86.13800000000
email E-mailadres E-mailadres [email protected]
contact_source Tekst (1-255) Contactbron, indien ingesteld op lid, zullen de contactgegevens hetzelfde zijn als de ledeninformatie, en zullen andere contactgegevens worden genegeerd member

Responseparameters

Parameternaam Type Omschrijving
domain Tekst Domeinnaam
created_date Datum Registratietijd van het domein
expired_date Datum Vervaldatum van het domein

Voorbeeld aanvraag

                                    
{
    curl https://api.nicenic.net/v2/?category=domain&action=register&domain={domain}&year={year}&dns1={dns1}&dns2={dns2}&organization={organization}&name={name}&country={country}&state={state}&city={city}&address={address}&postcode={postcode}&phone={phone}&fax={fax}&email={email}&contact_source={contact_source} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

Resultaat teruggeven

0 OK Succesvolle respons
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "domain":"example.com",
        "created_date":"2025-01-21",
        "expired_date":"2026-01-21"        
    }
}
201 In behandeling In behandeling ofder
                                        
{
    "code": 201,
    "msg" : "Pending order, please wait for the order to be processed!"
    }
}

Opmerking: code "201" means the registration ofder was submitted successfully en the fee was deducted. Final domein activation is still subject to registry confirmation. Als the domein cannot be activated, the registration fee will be refunded to jouw account balance within 24 hours.

400 Ongeldig verzoek
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Alle rechten voorbehouden. · U.S. Affiliate: NICENIC LLC