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 Resolution List

Obtain domain resolution record

Request URL
/api/resolution/list
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domain resolution
page page Integer No
pagesize limit Integer No
Request Demo
{
	"url": "http://api.gname.net/api/resolution/list",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618999236,
		"limit": "20",
		"page": "1",
		"ym": "gname.com",
		"gntoken": "AD50DA6C019261CDEADFB7CD1E8EEC05"
	}
}
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 Array return the requested operation result data
total count Integer total data
page page Integer page
data per page pagesize Integer number per page
Return Data
Field Parameter Description
resolution ID id resolution ID
domain resolution ym gname.com
host header zjt wwww
resolution type lx A
resolution value jxz 127.0.0.1
MX value mx MX value 0-50
circuit xlid 0 default circuit
status zt 1 normal 2 disable
Response Demo
{
    "code": 1,
    "msg": "OK",
    "data": [
        {
            "id": "1279",
            "ym": "qingdaoguidao.com",
            "zjt": "aaa",
            "lx": "A",
            "jxz": "127.0.0.1",
            "mx": "0",
            "xlid": "0",
            "zt": "1"
        }
    ],
    "count": 4,
    "page": 1,
    "pagesize": 20
}