大淘客,让选品更简单! |

{{item.type_name}}:

API 市场 / 采集群列表
 

采集群列表
吐槽建议
应用场景:
可用于发单工具、应用内采集群或社群搭建,实现采集群跟推或线上社群推广
接口说明:
采集群有淘宝、京东平台的商品,可按需获取,需要结合【采集群商品列表】接口才能获取采集群内的商品
使用人数: 10+
采集群列表 接口测试 建议使用通用GET方法调用
  • 接口说明
  • 更新日志
  • 接口版本号:v1.0.0

请求地址:https://openapi.dataoke.com/api/collect-group 复制

请求方式:GET

公共参数:
请求参数:

注:请求参数须区分大小写

返回数据:
调用示例:
String url = "https://openapi.dataoke.com/api/collect-group";
String appKey = "xxx";
String appSecret = "xxx";
TreeMap<String, String> paraMap = new TreeMap<>();
paraMap.put("version", "v1.0.0");
paraMap.put("platform", 0);
paraMap.put("cid", );
paraMap.put("sort", 0);
String data = ApiClient.sendReq(url, appSecret, paraMap);

SDK调用示例
String appKey = "xxx";
String appSecret = "xxx";
DtkApiClient client = DtkApiClient.getInstance(appKey,appSecret);
        DtkCommodityMaterialsRequest request = new DtkCommodityMaterialsRequest();
        request.setVersion("v1.0.0");
        request.setId("1");
        DtkApiResponse<List<DtkCommodityMaterialsResponse>> execute = client.execute(request);
返回示例:
{

    "cache": false,

    "code": 0,

    "data": {

        "list": [

            {

                "avgGoodsNum": "30-50个",

                "circleTag": "素材优质#精选爆品",

                "contentType": [],

                "currentPushNum": 1145,

                "historyPushNum": 79063,

                "id": 1,

                "mainGoodsPrice": "20-49.9",

                "materialsTag": "优质(多为3图2文)",

                "name": "官方精推采集1群",

                "orderIssuanceTime": "08:00-20:30",

                "platform": [

                    "淘宝"

                ],

                "todaySellnum": 12018

           ]
    },

        "page": 1,

        "total": 1

    },

    "msg": "成功",

    "requestId": "fe264887f2c890ef244b046a44d2282b",

    "time": 1724291077297077

}
错误码列表: