Doménové API - API na registráciu domén - API ICANN registrátora - White Label doménové služby

Začnite vyvíjať s NiceNIC Doménové API v2

Prístup k API je bezplatný pre každého aktívneho používateľa NiceNIC. Nevyžaduje sa žiadny prechod na partnerský program. Nastavte si svoje prihlasovacie údaje k API, vykonajte bezpečný testovací dopyt a potom pridajte pracovné postupy pre domény, DNS, fakturáciu, compliance alebo WHMCS, ktoré vaša aplikácia vyžaduje.

Získať cenník domén

Retrieve pricing information for domain registration, renewal, and transfer operations

Content-Type application/json
category domain
action get_price

Request parameters

Parameter Name Type Describe Example
domain String (3-60) Domain name example.com
type String Domain name type: register, transfer, renew, all register
year Integer (4) Choose the registration/renewal/transfer period (1-10 years) 1

Response parameters

Parameter Name Type Describe
domain String Domain name
type String Domain name type (register/transfer/renew)
currency String Currency type
price Number Price amount
is_premium Boolean Whether the domain is a premium domain (only for register type)

Request Example

                                    
{
    curl https://api.nicenic.net/v2/?category=domain&action=get_price&domain={domain}&type={type}&year={year} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

Return result

0 OK Successful response
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        [
            {
                "domain": "example.com",
                "type": "register",
                "currency": "USD",
                "price": 15.99,
                "is_premium": false
            },
            {
                "domain": "example.com",
                "type": "renew",
                "currency": "USD",
                "price": 15.99
            }
        ]        
    }
}
400 Bad Request
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Všetky práva vyhradené.