淘宝直播弹幕API接口协议

最近的淘宝直播弹幕接口很火,电商大数据分析 、打标等等场景都是刚需,为此刚好分析了一下淘宝/天猫的这个电商直播接口协议,但是容易出现 {“ret”:[“FAIL_SYS_USER_VALIDATE::亲,访问被拒绝了哦!请检查是否使用了代理软件或VPN哦~”],“data”:{}} 或 { “ret”: [ “FAIL_SYS_USER_VALIDATE::哎哟喂,被挤爆啦,请稍后重试!” ], “data”: {} } 这种提示,好在我都解决了,封账成了API接口,支持PHP、Java、Python、C#等方法的调用,是GET请求,内容丰富,带userid和旺旺号还有弹幕内容,配合别的接口其实可以拿到很多数据,例如商品宝贝等 。

获取直播间弹幕(暂时就不对外公测了,测试的服务器顶不住)
http://171.121.***.*** /?token=2valubbc334ddiap17&code=live&topic=49e54d36-7e32-4b84-a734-003aaa70b4d4
get方法
code=live
topic=直播间号码

分享一下该接口的原始代码(基于的xisgn算法)

GET https://acs.m.taobao.com/gw/mtop.mediaplatform.lightlive.videolist/1.0/?data=%7B%22channelId%22%3A%220%22%2C%22versionDate%22%3A%2220191201%22%2C%22n%22%3A%2220%22%2C%22s%22%3A%220%22%2C%22moduleIndex%22%3A%220%22%2C%22PARCELABLE_WRITE_RETURN_VALUE%22%3A%221%22%2C%22CREATOR%22%3A%22%7B%7D%22%2C%22CONTENTS_FILE_DESCRIPTOR%22%3A%221%22%7D HTTP/1.1
x-region-channel: CN
x-appkey: 25443018
x-mini-wua: HHnB_tUnVJBVvoVFGcyHLOygOrsz0QrvTQ1%2BLlxMF2WZ1qWf8w6IzKgFhkn%2BVOuNJkkx41M5chp6YY6ulsbfCvpI%2B8BcrkjkcMsGCovX62x8FGJMHHGQSewKE%2FiARug1IcHEJ
x-c-traceid: XWi8k%2BondBsDABR0sTlpyr0%2F15806436553340010110892
x-m-biz-live-bizcode: TAOBAO
x-app-conf-v: 0
content-type: application/x-www-form-urlencoded;charset=UTF-8
x-features: 27
x-pv: 6.2
x-t: 1580643655
f-refer: mtop
user-agent: MTOPSDK%2F3.1.1.7+%28Android%3B5.1.1%3BXiaomi%3B2014813%29
x-ttid: 10005533%40taobaolive_android_1.5.3
cache-control: no-cache
a-orange-q: appKey=25443018&appVersion=1.5.3&clientAppIndexVersion=1120200128150250377&clientVersionIndexVersion=0
x-utdid: XWi8k%2BondBsDABR0sTlpyr0%2F
x-umt: QO1LRrdLOm%2FaPjVwBZRzlIDEs6shmjtB
x-devid: Asnm-8t56t0xmXzy7j23HpLVneMfsz5ScVgZtz6JssKb
x-sign: ab29200090017a47227840af86f1a47eed202b2f30eb661dc7
Host: acs.m.taobao.com
Accept-Encoding: gzip
Connection: Keep-Alive

淘宝直播弹幕API接口协议_第1张图片

你可能感兴趣的:(淘系,淘宝直播接口,淘宝直播接口API,直播接口API,天猫直播接口,购物直播接口)