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.

DNS Details

Obtain user's domain DNS details

Request URL
/api/dns/info
Request Parameter
Field Parameter Type Required Description
DNS record id id Integer Yes DNS record id
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 Object return the requested operation result data
Return Data
Field Parameter Description
DNS record id id 2
submission time sj 2020-06-24 14:31:04
domain DNS dns ns1.gname-dns.com,ns2.gname-dns.com
user ID uid 105
DNS remark sm Gname DNS
whether it is default DNS ismr 1 default,0 non-default
Response Demo
{
	"code": 1,
	"msg": "OK",
	"data": {
		"id": "2",
		"sj": "2020-06-24 14:31:04",
		"dns": "ns1.gname-dns.com,ns2.gname-dns.com",
		"uid": "105",
		"sm": "Gname DNS",
		"ismr": "0"
	}
}