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 Registration

User registration domain

Request URL
/api/domain/reg
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 name to be registered
templete ID mbid Integer No e.g.: 123456
DNS dns String No e.g: ns1.gname-dns.com,ns2.gname-dns.com
Premium amount qian Float No Registration premium domain name amount
Request Demo
{
    "appid": "testappid",
    "dns": "ns1.gname-dns.com,ns2.gname-dns.com",
    "gntime": 1618998008,
    "mbid": "1234",
    "ym": "gname.com",
    "gntoken": "0A7C4D1EE08E4F59C3FC1DF9C4A748A8"
}
Response Data
Field Parameter Type Description
return code code Integer 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
}


{
    "code": -3,
    "msg": "Sorry,example.co is a premium domain name. Please confirm before proceeding",
    "data": {
        "price": "110.00"
    }
}

Current system time:2025-01-14 21:00:02(UTC+8) Privacy PolicyRegistrants' Benefits And Responsibilities SpecificationRegistrant Educational Information

Copyright© 2025 GNAME.COM. All rights reserved.