某音APP查询直播历史动态 正常
更多API推荐>>
查询某音APP直播历史动态

接口地址: https://api.itfaba.com/userlivehistory

返回格式: JSON

请求方式: POST

请求示例: https://api.itfaba.com/userlivehistory?apiKey=testkey

直连路由服务地址1: https://api-1.itfaba.com/userlivehistory?apiKey=xxx

直连路由服务地址2: https://api-2.itfaba.com/userlivehistory?apiKey=xxx

注意:{apiKey}参数接口密钥登陆用户平台获取

请求参数说明:

名称 必填 类型 说明
uid string 抖音用户UID,例如:100331988158
max_time string 默认为0,翻页参数,上次返回的max_time做为下页翻页参数,如果是展开明细则为父级中的fold_max_time,这里说明数据中type==1代表是收缩明细
min_time string 展开明细必填参数,为父级中的start_time
type string 展开明细填写1,默认为空

返回参数说明:

名称 类型 说明

返回示例:

{
	"result": 1,
	"info": "成功",
	"data": {
		"max_time": 1675008863,
		"has_more": false,
		"push_status": 0,
		"announcement_data": [],
		"preview_data": [],
		"history_data": [
			{
				"start_time": 1675008864,
				"end_time": 1689870884,
				"room_id": 0,
				"title": "",
				"is_hide": false,
				"moment_list": [],
				"record_list": [],
				"replay_list": [],
				"total_user": 0,
				"unpublish_moment_list": [],
				"unpublish_replay_list": [],
				"type": 1,
				"fold_count": 24,
				"fold_max_time": 1689860579,
				"room_id_str": "0",
				"recreation_moment_list": [],
				"unpublish_recreation_moment_list": [],
				"paid_live_type": 0,
				"subscribe_type": 0,
				"ecom_explain_replay_list": []
			}
		],
		"hide_all_history": false,
		"anchor_nick_name": "",
		"banner": [],
		"appointment_share_switch": 0,
		"is_fans": 0
	}
}

请求参数设置:

参数名称 参数值


{
	"result": 1,
	"info": "成功",
	"data": {
		"max_time": 1675008863,
		"has_more": false,
		"push_status": 0,
		"announcement_data": [],
		"preview_data": [],
		"history_data": [
			{
				"start_time": 1675008864,
				"end_time": 1689870884,
				"room_id": 0,
				"title": "",
				"is_hide": false,
				"moment_list": [],
				"record_list": [],
				"replay_list": [],
				"total_user": 0,
				"unpublish_moment_list": [],
				"unpublish_replay_list": [],
				"type": 1,
				"fold_count": 24,
				"fold_max_time": 1689860579,
				"room_id_str": "0",
				"recreation_moment_list": [],
				"unpublish_recreation_moment_list": [],
				"paid_live_type": 0,
				"subscribe_type": 0,
				"ecom_explain_replay_list": []
			}
		],
		"hide_all_history": false,
		"anchor_nick_name": "",
		"banner": [],
		"appointment_share_switch": 0,
		"is_fans": 0
	}
}

错误码格式说明:

名称 类型 说明
code int 0:异常消息,1:正常,2:警告
result int 0:异常消息,1:正常

代码示例:

apiKey登录用户平台获取