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.

Add Domain Resolution

Users add domain resolution record

Request URL
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domain
record type lx String Yes type:A,CNAME,MX,URL,TXT
host record zj String Yes host record
record value jlz String Yes record value
Request Demo
	"url": "http://api.gname.net/api/resolution/add",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618998657,
		"jlz": "",
		"lx": "A",
		"ym": "gname.com",
		"zj": "www",
		"gntoken": "E6A63DA0BE38EC69B9C36A3D1188A5C5"
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
return data data Integer return domain resolution record ID
Response Demo
    "code": 1,
    "msg": "make domain resolution successfully",
    "data": 1277