最新活动 七周年庆典

产品

硅云帮助文档中心

搜索文档

热门搜索词:

检查域名是否可以注册

更新时间:2020-05-21 17:02  版本:v1.0
分享到:
我要反馈 
收藏 我的收藏

请求说明:


    检查域名是否可以注册,此接口不需要验签


请求url:


/domain-server/api/v1/product/check


请求方式:


GET


请求参数:


字段类型最大长度参数位置默认必填描述
domainPrefix
string
64RequetBody
域名前缀,如注册z8z87878.com 前缀为z8z87878
domainTld
String8RequetBody
域名后缀,如注册z8z87878.com 后缀为.com


请求示例:


GET /domain-server/api/v1/product/check HTTP/1.1
Content-Type: application/json

{
	"domainPrefix":"z8z87878",
	"domainTld":".com"
}


返回示例:


实际以真实返回结果为准


{
    "status": 2000,
    "message": "success",
    "data": {
        "domainName": "z8z87878.com",
        "regUnitPrice": 0,
        "renewUnitPrice": 0,
        "needTmValid": false,
        "canReg": false,
        "isHighPrice": false,
        "overCount": false
    }
}


产品类型数据结构:


字段类型
描述
domainName
string域名
regUnitPrice
int注册单价,单位为分
renewUnitPrice
int续费单价,单位为分
needTmValid
booleantrue为需要模板实名通过才能注册
canReg
booleantrue才能注册
isHighPrice
booleantrue为高价域名
overCount
boolean注册域名数是否超过一定数量,true注册域名加收5元








您对该文档有什么建议?

您对该文档的评分:

本文导航

请求说明:

请求参数:

请求示例:

返回示例:

搜索文档