写点什么

自媒体平台数据统计分析爬虫之【趣头条】模拟登陆分析详解及数据统计接口详解

用户头像
ucsheep
关注
发布于: 2021 年 03 月 24 日
自媒体平台数据统计分析爬虫之【趣头条】模拟登陆分析详解及数据统计接口详解

声明:本文仅用于学习研究,实现对自己账号的数据统计和分析

1.登录流程

趣头条的用户认证并非通过 cookie 或者 Header 中的认证信息,而是通过在每一个请求中增加 token 参数来实现的。如下:

https://xxx/**/**?xxx=xxx&token=779cxdcfgeXTYBX7hizW3WBCa2Tax1h-75Q0O8BdXHy5lEd7h6w4NyQk5YIse7PxWpH9Qm8heCERMPo&dtu=200
复制代码


1.1 登录字段 DES 加密算法

趣头条的登录字段进行了 DES 加密

逆向源码截取

e.encryptDes = function(t) {            var e = n.default.enc.Utf8.parse("XXXX");            return n.default.DES.encrypt(t, e, {                mode: n.default.mode.ECB,                padding: n.default.pad.Pkcs7            }).toString()        }
复制代码

DES 加密关键参数

1.2 模拟登陆,获取 token

模拟页面登录请求如下

curl 'https://qac-qupost.qutoutiao.net/member/login' -H 'authority: qac-qupost.qutoutiao.net' -H 'accept: application/json, text/plain, */*' -H 'origin: https://mp.qutoutiao.net' -H 'user-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36' -H 'content-type: application/x-www-form-urlencoded' -H 'sec-fetch-site: same-site' -H 'sec-fetch-mode: cors' -H 'referer: https://mp.qutoutiao.net/login' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: zh-CN,zh;q=0.9' --data 'email=&telephone=xxx&password=xxx&keep=&captcha=&source=1&k=&is_secret=1&token=undefined&dtu=200' --compressed
复制代码

请求接口

POST https://qac-qupost.qutoutiao.net/member/login
复制代码

请求参数说明

请求响应如下:

{	"code": 0,	"message": "成功",	"currentTime": 1582770257,	"data": {		"token": "xxx",		"is_first": 0,		"status": "3",		"member_id": "xxx",		"type": "8",		"first_edit": 0	}}
复制代码

响应参数说明

2.视频内容数据

2.1 全部

请求如下

curl 'https://mpapi.qutoutiao.net/video/getList?status=&page=1&title=&submemberid=&nickname=&start_date=&end_date=&isMotherMember=false&act=&video_id=&old_page=&token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/content-manage/video?status=&page=1&title=&submemberid=&nickname=&start_date=&end_date=&isMotherMember=false' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/video/getList
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582770555,	"data": {		"total": 803,		"page": 1,		"pageSize": 20,		"videos": [{			"id": "1492212943",			"publish_id": "2054543",			"title": "聊斋奇女子:喝酒误事啊,小伙一觉醒来成了杀人犯了",			"cover_image_id": "2618754824",			"size": "48225569",			"publish_at": "0000-00-00 00:00:00",			"is_weighted": "0",			"workflow_status": "2",			"cloud_status": "0",			"type": "1",			"is_original": "1",			"is_reward": "1",			"status": "4",			"has_synchronized": "1",			"synchronized_at": "2020-02-18 22:59:07",			"audit_at": "2020-02-18 22:59:07",			"auditor_id": "1339",			"reviewer_id": "0",			"content_id": "1492212943",			"proscenium_url": "detail\/2020\/02\/18\/1492212943.html",			"reason": "",			"cpm": "",			"duration": "133",			"score": "100000000",			"updated_at": "2020-02-26 05:40:24",			"created_at": "2020-02-18 11:05:25",			"list_pv": "556",			"pv": 8,			"comment_num": 0,			"fav_num": 0,			"share_num": 0,			"extend": {				"originalSettlement": 1,				"strategy": "",				"title_exaggerated": 0.52,				"update_time": "2020-02-18 11:05:46",				"video_cover_ids": "36,32,19,3,2",				"video_cover_json": "\"[{\\\"Score\\\":0.999938,\\\"UrlId\\\":\\\"36\\\"},{\\\"Score\\\":0.999922,\\\"UrlId\\\":\\\"32\\\"},{\\\"Score\\\":0.999879,\\\"UrlId\\\":\\\"19\\\"},{\\\"Score\\\":0.999869,\\\"UrlId\\\":\\\"3\\\"},{\\\"Score\\\":1,\\\"UrlId\\\":\\\"2\\\"}]\"",				"video_cover_path": "videosnapshot_self\/8c5640f8af4f588e982aad583405b2a6\/{Count}.jpg",				"quality": "2",				"isFrozen": 2,				"closeComment": "0",				"hitSpecial": "0",				"hideComment": "1",				"firstPublishTime": 1582037947000			},			"quality": "2",			"life": "0",			"can_comment": "1",			"two_level_category": [{				"category_id": "101101"			}],			"classifications": [{				"id": "11",				"name": "影视"			}],			"publisher": {				"member_id": "2054543",				"nickname": "空之境界",				"operators_name": "杨文静",				"level": "4",				"type_name": "MCN子账号"			},			"url": "http:\/\/file-oss.1sapp.com\/detail\/2020\/02\/18\/1492212943.html",			"cover_image": {				"id": "2618754824",				"video_id": "1492212943",				"type": "1",				"updated_at": "2020-02-18 11:05:46",				"created_at": "2020-02-18 11:05:46",				"url": "http:\/\/static.1sapp.com\/videosnapshot_self\/8c5640f8af4f588e982aad583405b2a6\/00007.jpg"			},			"tagIds": ["14902292", "75", "68005"],			"tags": [{				"id": "14902292",				"name": "聊斋奇女子",				"updated_at": "2017-11-20 01:42:30",				"created_at": "2017-11-20 01:42:30"			}, {				"id": "75",				"name": "电视剧",				"updated_at": "2017-02-28 18:21:46",				"created_at": "2017-02-28 18:21:46"			}, {				"id": "68005",				"name": "小伙子",				"updated_at": "2017-03-09 14:32:18",				"created_at": "2017-03-09 14:32:18"			}],			"tagStr": "聊斋奇女子,电视剧,小伙子",			"disabled": 0,			"update_at": "2020-02-18 22:59:07",			"rec_show_pv": "556",			"rec_show_number": 556,			"push_show_number": 0,			"submit_time": "2020-02-18 11:05:46",			"draft_time": "2020-02-18 11:05:46",			"is_frozen": false,			"title_exaggerated": "",			"tort_link": "",			"tort_title": "",			"tort_qupost_id": "",			"is_display_feedback_complain": false		},		...		],		"total_page": 41	}}
复制代码

重要响应参数说明

2.2 待审核

请求如下

curl 'https://mpapi.qutoutiao.net/video/getList?status=2&page=1&title=&submemberid=&nickname=&start_date=&end_date=&isMotherMember=false&act=&video_id=&old_page=&token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/content-manage/video?status=&page=1&title=&submemberid=&nickname=&start_date=&end_date=&isMotherMember=false' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/video/getList
复制代码

请求参数说明(详细参考 2.1)

响应及参数说明参见 2.1

2.3 已发布

请求如下

curl 'https://mpapi.qutoutiao.net/video/getList?status=4&page=1&title=&submemberid=&nickname=&start_date=&end_date=&isMotherMember=false&act=&video_id=&old_page=&token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/content-manage/video?status=&page=1&title=&submemberid=&nickname=&start_date=&end_date=&isMotherMember=false' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/video/getList
复制代码

请求参数说明(详细参考 2.1)

响应及参数说明参见 2.1

2.4 审核失败

请求如下

curl 'https://mpapi.qutoutiao.net/video/getList?status=3&page=1&title=&submemberid=&nickname=&start_date=&end_date=&isMotherMember=false&act=&video_id=&old_page=&token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/content-manage/video?status=&page=1&title=&submemberid=&nickname=&start_date=&end_date=&isMotherMember=false' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/video/getList
复制代码


请求参数说明(详细参考 2.1)

响应及参数说明参见 2.1

响应参数说明(详细参考 2.1)

3.粉丝数据

3.1 粉丝概况(7 日内概况及昨日收益)

请求如下

curl 'https://mpapi.qutoutiao.net/memberfan/brief?start_date=2020-02-20&end_date=2020-02-26&page_size=10&token=XXX&dtu=200'  -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/fans-manage/fans-brief' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/memberfan/brief
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582772157,	"data": {		"list": [{			"newfollow": "4",			"unfollow": "0",			"total": "165",			"date": "2020-02-20"		}, {			"newfollow": "2",			"unfollow": "0",			"total": "167",			"date": "2020-02-21"		}, {			"newfollow": "0",			"unfollow": "0",			"total": "167",			"date": "2020-02-22"		}, {			"newfollow": "1",			"unfollow": "0",			"total": "168",			"date": "2020-02-23"		}, {			"newfollow": "2",			"unfollow": "0",			"total": "170",			"date": "2020-02-24"		}, {			"newfollow": "3",			"unfollow": "0",			"total": "173",			"date": "2020-02-25"		}, {			"newfollow": "2",			"unfollow": "0",			"total": "175",			"date": "2020-02-26"		}],		"page": 1,		"page_size": 10,		"page_total": 1,		"page_count": 6,		"yesterday_fan_balance": "0.01",		"30day_fan_balance": "0.20",		"yesterday_fan_coin": "0",		"30day_fan_coin": "--"	}}
复制代码

参数说明

3.2 说明

可以在 3.1 的基础上,改变页标并获取 6 周内的数据

4.数据分析

4.1 全部概览(7 日内数据汇总及每日详情)

请求如下

curl 'https://mpapi.qutoutiao.net/report/brief?start_date=2020-02-20&end_date=2020-02-27&submemberid=&token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/data/indexAnalysis/report-brief?start_date=2020-02-20&end_date=2020-02-27&submemberid=' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/report/brief
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582772927,	"data": {		"data": {			"total": {				"list_pv": 76650,				"pv": 11567,				"comment_num": 9,				"share_num": 0,				"fav_num": 17			},			"daily": [{				"event_day": "2020-02-20",				"list_pv": "13470",				"pv": "1724",				"comment_num": "3",				"share_num": "0",				"fav_num": "2"			}, {				"event_day": "2020-02-21",				"list_pv": "17463",				"pv": "3351",				"comment_num": "3",				"share_num": "0",				"fav_num": "3"			}, {				"event_day": "2020-02-22",				"list_pv": "10100",				"pv": "1278",				"comment_num": "1",				"share_num": "0",				"fav_num": "2"			}, {				"event_day": "2020-02-23",				"list_pv": "9474",				"pv": "1120",				"comment_num": "0",				"share_num": "0",				"fav_num": "1"			}, {				"event_day": "2020-02-24",				"list_pv": "7063",				"pv": "912",				"comment_num": "1",				"share_num": "0",				"fav_num": "1"			}, {				"event_day": "2020-02-25",				"list_pv": "8409",				"pv": "1455",				"comment_num": "1",				"share_num": "0",				"fav_num": "3"			}, {				"event_day": "2020-02-26",				"list_pv": "10671",				"pv": "1727",				"comment_num": "0",				"share_num": "0",				"fav_num": "5"			}]		}	}}
复制代码

参数说明

4.2 视频完播率

请求如下

curl 'https://mpapi.qutoutiao.net/broadcast/getVideoBroadcastByIds?content_ids=1491511526&token=XXX&dtu=200'  -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/data/indexAnalysis/report-video?start_date=2020-02-20&end_date=2020-02-27&submemberid=' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/broadcast/getVideoBroadcastByIds
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582773520,	"data": [{		"id": "43515074",		"content_id": "1491511526",		"member_id": "2054543",		"rate_avg": "36.26%",		"read_pv_all": "4",		"rate_0_10_pv": "2",		"rate_10_20_pv": "0",		"rate_20_30_pv": "0",		"rate_30_40_pv": "0",		"rate_40_50_pv": "0",		"rate_50_60_pv": "0",		"rate_60_70_pv": "0",		"rate_70_80_pv": "0",		"rate_80_90_pv": "0",		"rate_90_100_pv": "1",		"create_time": "2020-02-17 07:03:45",		"update_time": "2020-02-20 07:01:50",		"rangeInfo": [{			"left": 0,			"right": 20,			"pv": 2,			"ratio": "66.67%"		}, {			"left": 20,			"right": 80,			"pv": 0,			"ratio": "0.00%"		}, {			"left": 80,			"right": 100,			"pv": 1,			"ratio": "33.33%"		}]	}]}
复制代码

响应参数说明

4.3 最近视频列表

请求如下

curl 'https://mpapi.qutoutiao.net/video/getRecentPublishedList?page=1&submemberid=&token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/data/indexAnalysis/report-video?start_date=2020-02-20&end_date=2020-02-27&submemberid=' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/video/getRecentPublishedList
复制代码

参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582774432,	"data": {		"list": [{			"id": "1492212943",			"content_id": "1492212943",			"title": "聊斋奇女子:喝酒误事啊,小伙一觉醒来成了杀人犯了"		}, {			"id": "1491511526",			"content_id": "1491511526",			"title": "聊斋奇女子:看着兄弟和新娘成亲,小伙竟还心中有所惦记?不要脸"		},		... 		],		"page": 1,		"page_size": 20,		"page_total": 3,		"page_count": 46	}}
复制代码

响应参数说明

4.4 视频详细数据统计

请求如下

curl 'https://mpapi.qutoutiao.net/report/video?start_date=2020-02-20&end_date=2020-02-27&submemberid=&token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/data/indexAnalysis/report-video?start_date=2020-02-20&end_date=2020-02-27&submemberid=' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/report/video
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582774432,	"data": {		"data": [{			"content_id": "1492212943",			"title": "聊斋奇女子:喝酒误事啊,小伙一觉醒来成了杀人犯了",			"url": "http:\/\/html2.qktoutiao.com\/detail\/2020\/02\/18\/1492212943.html",			"publish_time": "2020-02-18 22:59:07",			"list_pv": "327",			"pv": "1",			"comment_num": "0",			"share_num": "0",			"fav_num": "0"		},		... 		]	}}
复制代码

响应参数说明

5.收益明细数据

5.1 账号收益

请求如下

curl 'https://mpapi.qutoutiao.net/income/detail?page=1&start_date=2020%2F01%2F27&end_date=2020%2F02%2F27&submemberid=&token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/income/income-detail/account-income?page=1&start_date=2020%2F01%2F27&end_date=2020%2F02%2F27&submemberid=' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/income/detail
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582777147,	"data": {		"data": {			"list": [{				"id": "125732723",				"date": "20200226",				"user_id": "2054543",				"balance": "1.20",				"list_pv": "10671",				"pv": "1727",				"ad_pv": "431",				"activity_balance": "0.00",				"nickname": "空之境界",				"extra_income_str": "--",				"total_balance": "1.20"			},			... 			],			"balance": "0.00",			"total_balance": "60.30",			"total_cash_balance": "0.00",			"process_balance": "0.00",			"total_extra_income": "--",			"total_record": 31,			"total_page": 3,			"total_ad_income": "60.30"		}	}}
复制代码

响应参数说明

5.2 当前金币

请求如下

curl 'https://mpapi.qutoutiao.net/membercoin/brief?token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/income/income-detail/goldCoin-income?page=1&start_date=2020%2F01%2F28&end_date=2020%2F02%2F27&submemberid=' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/membercoin/brief
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582777577,	"data": {		"coins": 2572,		"total_coins": 0,		"award_coins": 0,		"withdrawed_coins": 0	}}
复制代码

响应参数说明

5.3 打赏记录列表

请求如下

curl 'https://mpapi.qutoutiao.net/membercoin/list?page=1&start_date=2020%2F01%2F28&end_date=2020%2F02%2F27&submemberid=&token=XXX&dtu=200' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'Origin: https://mp.qutoutiao.net' -H 'Sec-Fetch-Site: same-site' -H 'Sec-Fetch-Mode: cors' -H 'Referer: https://mp.qutoutiao.net/income/income-detail/goldCoin-income?page=1&start_date=2020%2F01%2F28&end_date=2020%2F02%2F27&submemberid=' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://mpapi.qutoutiao.net/membercoin/list
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582777577,	"data": [{		"date": "2020-02-13",		"remark": "用户打赏",		"amount": "100"	},	...	]}
复制代码

参数说明

6.账号等级数据

6.1 账号信息

请求如下

curl 'https://qac-qupost.qutoutiao.net/member/getMemberInfo?token=XXX&dtu=200' -H 'authority: qac-qupost.qutoutiao.net' -H 'accept: application/json, text/plain, */*' -H 'user-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'origin: https://mp.qutoutiao.net' -H 'sec-fetch-site: same-site' -H 'sec-fetch-mode: cors' -H 'referer: https://mp.qutoutiao.net/account/account-grade' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://qac-qupost.qutoutiao.net/member/getMemberInfo
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582778262,	"data": {		"member_id": "2054543",		"email": "",		"telephone": "16634213914",		"telephone_show": "166****3914",		"nickname": "空之境界",		"avatar": "https:\/\/qurl.qutoutiao.net\/image\/U2FsdGVkX1_FTZ_s2PlCM3xpjQOBYUMuYDbQFqK12RqJO5-2Sxsapx__ZrJzSfRoHs0KduA05nIhWS0yLGdVsznXMtzXLgTKunScYNJ7yQo",		"balance": "0.00",		"total_balance": "60.30",		"pv": 101003,		"exponent": "290",		"status": "3",		"level": "4",		"level_proportion": "53%",		"credibility": "100",		"type": "8",		"description": "空之境界带你看最新最全的影视大全",		"location": "{\"prov\":\"重庆\",\"city\":\"渝中\"}",		"territory_id": "11",		"territory": "影视",		"operators_name": "*静",		"operators_identity": "",		"operators_identity_card": "1403***********62X",		"operators_phone": "166****3914",		"operators_email": "3252937710@qq.com",		"yesterday_income": "1.20",		"yesterday_ad_income": "1.20",		"yesterday_extra_income": "--",		"yesterday_list_pv": "1727",		"perm": {			"video_original_label": true		},		"mark": "0",		"mark_to_time": "0",		"lock_to_time": "0",		"deny_message": [],		"operators_id_card_avatar": "http:\/\/file-oss.1sapp.com\/qupost\/privacyFile\/2019\/10\/14\/1571025607779400673.jpg?OSSAccessKeyId=LTAIYfvi4oWX0K2M&Expires=1582778562&Signature=6gj6Ab7pR3mQ2vN5stAZxxolXOM%3D",		"extend": {			"media_type": "1",			"identity_front": "http:\/\/file-oss.1sapp.com\/qupost\/privacyFile\/2019\/10\/14\/1571025602122306798.jpg?OSSAccessKeyId=LTAIYfvi4oWX0K2M&Expires=1582778562&Signature=Xn94OS197KBjA188pQk29m4jnzg%3D",			"identity_negative": "http:\/\/file-oss.1sapp.com\/qupost\/privacyFile\/2019\/10\/14\/1571025605382477064.jpg?OSSAccessKeyId=LTAIYfvi4oWX0K2M&Expires=1582778562&Signature=a3vD341jvjcBjLAcbgQAd9mUFi0%3D",			"certificate": "",			"company_book": "",			"notes": "",			"other_contact": "",			"intellectual_agreement": 1,			"wx_public_number": "gh_b1e63978da5f",			"wx_public_nickname": "动画直通车",			"wx_public_info": "爱生活,爱动漫,我们一起来讨论吧",			"wx_public_is_show": 1		},		"can_modify_territory": 0,		"is_show_ad_profit": 1,		"can_purchase": 1,		"sum_total_income": "0.00",		"sum_total_pv": 0,		"mcn_member": "小町影视录",		"id_card_status": "2",		"source_type": "1",		"verified_state": "0",		"verified_level": "0",		"real_operators_phone": "16634213914",		"quick_complain": true,		"cid": "854843707",		"wx_public_number": "gh_b1e63978da5f",		"wx_public_is_show": 1,		"new_information": [],		"upload_video_size": 1024,		"deny_edit": 0,		"has_apply_permission": 0,		"check_status": 1,		"y_tel_edit_cnt_left": 2,		"bind_other_content_source": {			"auto_import_other_content": 0,			"bind_tth": 0		},		"is_modify_territory": 0,		"member_statics_task": 0,		"atlas_total_open": 1,		"short_video_open": 1,		"short_video_list_open": 1,		"yesterday_fan": 175	}}
复制代码


响应参数说明

6.2 指数分及趋势(近七日和近 30 日)

请求如下

curl 'https://qac-qupost.qutoutiao.net/memberexponent/historyDetail?member_id=2054543&token=XXX&dtu=200' -H 'authority: qac-qupost.qutoutiao.net' -H 'accept: application/json, text/plain, */*' -H 'user-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' -H 'origin: https://mp.qutoutiao.net' -H 'sec-fetch-site: same-site' -H 'sec-fetch-mode: cors' -H 'referer: https://mp.qutoutiao.net/account/account-grade' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: zh-CN,zh;q=0.9' --compressed
复制代码

请求接口

GET https://qac-qupost.qutoutiao.net/memberexponent/historyDetail
复制代码

请求参数说明

响应如下

{	"code": 0,	"message": "成功",	"currentTime": 1582778262,	"data": {		"last_thirty_day": [{			"id": "134526827",			"date": "2020-02-25",			"member_id": "2054543",			"create_time": "2020-02-26 15:17:25",			"update_type": "2",			"out_exponent": "290.4",			"delta": "-31.5",			"real_exponent": "290.4",			"note": "{\"vulgar\":-1,\"publish_day_weekly\":-9,\"publish_count_weekly\":-8,\"pv_weekly\":-5,\"valid_pv_rate\":1,\"complete_rate\":1,\"publish_category_weekly\":-37.5}",			"content_quality": "60.0",			"member_active": "27.0",			"content_hot": "57.0",			"content_original": "77.0",			"content_vertical": "62.5"		},		... 		],		"last_seven_day": [{			"id": "134526827",			"date": "2020-02-25",			"member_id": "2054543",			"create_time": "2020-02-26 15:17:25",			"update_type": "2",			"out_exponent": "290.4",			"delta": "-31.5",			"real_exponent": "290.4",			"note": "{\"vulgar\":-1,\"publish_day_weekly\":-9,\"publish_count_weekly\":-8,\"pv_weekly\":-5,\"valid_pv_rate\":1,\"complete_rate\":1,\"publish_category_weekly\":-37.5}",			"content_quality": "60.0",			"member_active": "27.0",			"content_hot": "57.0",			"content_original": "77.0",			"content_vertical": "62.5"		}		...		],		"levelTips": {			...		}	}}
复制代码


参数说明


发布于: 2021 年 03 月 24 日阅读数: 13
用户头像

ucsheep

关注

譬如朝露 去日苦多 2021.03.22 加入

还未添加个人简介

评论

发布
暂无评论
自媒体平台数据统计分析爬虫之【趣头条】模拟登陆分析详解及数据统计接口详解