硅云帮助文档中心
搜索文档
热门搜索词:
产品简介
产品定价
常见问题
知识拓展
API参考
此接口功能为获取产品列表,此接口不需要验签,产品类型很少修改,建议缓存下来
/domain-server/api/v1/product/search
GET
| 字段 | 类型 | 最大长度 | 参数位置 | 默认为空 | 描述 |
| domainTlds | set<String> | RequetBody | 域名后缀数组,带. 如 [".com",".cn"] | ||
| languageType | String | 8 | RequetBody | 域名语言,cn表示中文域名,en表示英文域名 |
GET /domain-server/api/v1/product/search HTTP/1.1
Content-Type: application/json
{
"domainTlds":[".com",".cn"],
"languageType":"en"
}实际以真实返回结果为准
{
"status": 2000,
"message": "success",
"data": [
{
"domainTld": ".com",
"languageType": "en",
"languageTypeName": "英文域名",
"regUnitPrice": 4800,
"regPriceInfo": "{\"1\":4900,\"2\":10300,\"3\":14500,\"4\":18000,\"5\":23400,\"6\":36000,\"7\":42000,\"8\":47000,\"9\":52000,\"10\":57000}",
"renewUnitPrice": 6000,
"renewPriceInfo": "{\"1\":5300,\"2\":11300,\"3\":15500,\"4\":19000,\"5\":24400,\"6\":37000,\"7\":43000,\"8\":47000,\"9\":52000,\"10\":57000}",
"description": "描述",
"needTmValid": false,
"pos": 1
},
{
"domainTld": ".cn",
"languageType": "en",
"languageTypeName": "英文域名",
"regUnitPrice": 4800,
"regPriceInfo": "{\"1\":4900,\"2\":10300,\"3\":14500,\"4\":18000,\"5\":23400,\"6\":36000,\"7\":42000,\"8\":47000,\"9\":52000,\"10\":57000}",
"renewUnitPrice": 6000,
"renewPriceInfo": "{\"1\":5300,\"2\":11300,\"3\":15500,\"4\":19000,\"5\":24400,\"6\":37000,\"7\":43000,\"8\":47000,\"9\":52000,\"10\":57000}",
"description": "描述",
"needTmValid": true,
"pos": 12
}
]
}产品类型数据结构:
| 字段 | 类型 | 描述 |
| domainTld | string | 域名后缀 |
| regUnitPrice | int | 注册单价,单位为分 |
| regPriceInfo | string | json字符串,注册价格表,key代表年,value代表价格,单位为分 |
| renewUnitPrice | int | 续费单价,单位为分 |
| renewPriceInfo | string | json字符串,续费价格表,key代表年,value代表价格,单位为分 |
| needTmValid | boolean | true为需要模板实名通过,这个类型的域名才可以注册 |
您对该文档有什么建议?
本文导航