间接获取b站账户注册时间,精确到秒

破站现在默认隐藏收藏,只有公开了收藏的账户能用这方法,就看看自己的注册时间吧,23333

1
https://api.bilibili.com/medialist/gateway/base/created?pn=1&ps=10&up_mid=你的uid&jsonp=jsonp

返回实例

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"code": 0,
"data": {
"count": 1,
"list": [
{
"attr": 0,
"cnt_info": {
"coin": 0,
"collect": 0,
"danmaku": 0,
"play": 0,
"reply": 0,
"share": 0,
"thumb_down": 0,
"thumb_up": 0
},
"cover": "http://i0.hdslb.com/bfs/archive/123456.png",
"cover_type": 2,
"ctime": 1460248046, //收藏夹创建时间戳
"fav_state": 0,
"fid": 845607,
"id": 84560727,
"intro": "",
"like_state": 0,
"media_count": 2,
"mid": 123456, //uid
"mtime": 1463250523,
"state": 0,
"title": "默认收藏夹",
"type": 11,
"upper": {
"face": "http://i0.hdslb.com/bfs/face/123456.jpg",
"followed": 0,
"mid": 123456, //uid
"name": "", //用户名
"vip_pay_type": 0,
"vip_statue": 0,
"vip_type": 0
}
}
]
},
"message": "success"
}

默认收藏夹是在账户注册时自动生成的,所以默认收藏夹创建时间即为账户注册时间

注意事项

  1. 对在2015-08-07 04:34:56前注册的用户无效
  2. 对把默认收藏夹删了的用户无效
分享到: