Apply API

Gname API is available for domain drop catch, account management, domain query, registration, renewal, deletion, using for apps and servers etc. You are able to easily set domain servers, choose renewal and create folder.

Domain Registration

User registration domain

Request URL
http://api.gname.net/api/domain/reg
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domain name to be registered
templete ID mbid Int No e.g.: 123456
DNS dns String No e.g: ns1.gname-dns.com,ns2.gname-dns.com
Request Demo
{
	"url": "http://api.gname.net/api/domain/reg",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"dns": "ns1.gname-dns.com,ns2.dngame-dns.com",
		"gntime": 1618998008,
		"mbid": "1234",
		"ym": "gname.com",
		"gntoken": "0A7C4D1EE08E4F59C3FC1DF9C4A748A8"
	}
}
Response Data
Field Parameter Type Description
return code code Int returned status code
return description msg String description of the return request operation
return data data Float return price of the request operation registration
Response Demo
{
    "code": 1,
    "msg": "submit domain registration successfully, please wait for system processing, frozen $ 9.52,
    "data": 9.52
}

Copyright© 2021 GNAME.COM. All rights reserved. Legal Statement | Privacy Policy