# 获取账号收集的留资数据详情

# 接口调用请求说明

POST https://api.weixin.qq.com/channels/finderlive/get_finder_live_leads_data?access_token=ACCESS_TOKEN

# 请求参数示例

{
    "start_time": 1694142436,
    "end_time": 1694228836,
    "source_type": 0
}

# 回包示例

{
    "errcode": 0,
    "errmsg": "ok",
    "item": [
        {
            "component_type": 0,
            "traffic_type": 0,
            "leads_count": 1000
        },
        {
            "component_type": 0,
            "traffic_type": 1,
            "leads_count": 1000
        },
        {
            "component_type": 1,
            "traffic_type": 0,
            "leads_count": 1000
        },
        {
            "component_type": 1,
            "traffic_type": 1,
            "leads_count": 1000
        },
        {
            "component_type": 2,
            "traffic_type": 0,
            "leads_count": 1000
        },
        {
            "component_type": 2,
            "traffic_type": 1,
            "leads_count": 1000
        }
    ]
}

# 请求参数说明

参数 类型 是否必填 说明
start_time number 查询范围的开始时间(与用户留资时间对比)
end_time number 查询范围的结束时间(与用户留资时间对比)
source_type number 来源类型

说明:该接口只统计2023.9.13号起的数据,所以start_time应大于等于1694534400

# 回包参数说明

参数 类型 说明
errcode number 错误码
errmsg string 错误信息
item[].component_type number 组件类型
item[].traffic_type number 流量来源
item[].leads_count number 留资条数

# 来源类型

source_type 来源类型
0 直播

# 组件类型

component_type 组件类型
0 表单
1 企微名片
2 企微客服

# 流量类型

traffic_type 组件类型
0 自然流量
1 广告流量

# 错误码

错误码 错误信息
公共错误码 点击查看
-2 请求的参数错误
1 请求的信息不存在
100000 没有权限访问