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
/api/resolution/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 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": "123.123.123.123",
		"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
}

Current system time:2024-12-22 00:18:40(UTC+8) Privacy PolicyRegistrants' Benefits And Responsibilities SpecificationRegistrant Educational Information

Copyright© 2024 GNAME.COM. All rights reserved.