API Services

With the API, you can engage in domain name registration and account management! Our API supports domain search, registration, renewal, dropcatch, and the use of your own software and servers, among other functions. You can easily configure domain name servers, select renewals, and create folders for your domains.

Domain Renewal

Users renew domain

Request URL
/api/renew/add
Request Method
POST
Request Parameter
Field Parameter Type Required Description
APPID appid String Yes Application Client Id
Timestamp gntime String Yes The current UNIX timestamp
Signature gntoken String Yes Signature string. For details, please refer to the Signature Method page.
domain ym String Yes domains which need to renew
year nian Integer Yes domains which need to renew
Premium amount qian Float No Renewal premium domain name amount
Response Data
Field Parameter Type Description
return code code Integer 1:return successfully -1:return failed
return description msg String description of the return request operation result
return data data Object return the requested operation result data
Return Data
Field Parameter Description
renewal record ID id 59
renewal amount qian 9.52
Response Demo
{
	"code": 1,
	"msg": "submit renewal domain(gname.com) successfully,please wait for system to process[frozen $9.52]",
	"data": {
		"id": 59,
		"qian": 9.52
	}
}


{
    "code": -1,
    "msg": "Sorry,gname.com is a premium domain name. Please confirm before proceeding",
    "data": {
        "price": "220.00"
    }
}

Current system time:2024-12-25 15:11:46(UTC+8) Privacy PolicyRegistrants' Benefits And Responsibilities SpecificationRegistrant Educational Information

Copyright© 2024 GNAME.COM. All rights reserved.