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.

Bulk Bid

Users can bid on multiple domains in auction at the same time.

Request URL
http://api.gname.net/api/auction/bulk
Request Method
POST
Request Parameter
Field Parameter Type Required Description
bid amount of domain ymqian String Yes domain in auction|bid amount, e.g: [gname.com|1000.00], domains separated by [\n]
Request Demo
{
    "url": "http://api.gname.net/api/auction/bulk",
    "method": "POST",
    "data": {
        "appid": "10xxxxxxxxxxxx6f7",
        "gntime": 1627972484,
        "ymqian": "tesl.com|100.01
aaaa.com|111
bnzj.net|123",
        "gntoken": "C8740AA42CD56A1B574E85B6F51EB3F5"
    }
}
Response Data
Field Parameter Type Description
return code code Int 1:return successfully -1:return failed
return description msg String return the description of request operation
return data data Object return the requested operation result data
Return Data
Field Parameter Description
number of successes oksl
number of failures errsl
successful domain ok
failed domain err
Response Demo
{
    "code": 1,
    "msg": "OK",
    "data": {
        "oksl": 1,
        "errsl": 2,
        "ok": [
            {
                "code": 1,
                "msg": "successfully place bid",
                "data": {
                    "ym": "tesl.com"
                },
                "ym": "tesl.com"
            }
        ],
        "err": [
            {
                "code": -1,
                "msg": "sorry, the auction does not exist",
                "data": "",
                "ym": "aaaa.com"
            },
            {
                "code": -1,
                "msg": "sorry, bid failed. Reason: The auction status is "closed soon". This status does not allow bidding. Please keep attention and wait for the system to confirm whether you can place bid.",
                "data": "",
                "ym": "bnzj.net"
            }
        ]
    }
}

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