装扮/收藏集

#1080open in new window 提供

装扮/收藏集搜索API

https://api.bilibili.com/x/garb/v2/mall/home/search

请求方式: GET

URL参数:

参数名类型内容必要性备注
key_wordstr关键词不必要
psint每页返回数据的最大值不必要
pnint当前页数不必要

JSON回复:

根对象:

字段类型内容备注
codenum返回值0:成功
messagestr错误信息默认为0
ttlnum1
dataobj返回数据

data 对象:

字段类型内容备注
listarray返回数据若无则为 null
psint每页返回数据的最大值默认为20
pnint当前页数默认为1
totalint查询到数据的总个数

data 中的 list 数组中的对象:

字段类型内容备注
item_idint装扮对应的id收藏集均为0,需要在properties获取
namestr装扮/收藏集名称
group_idint?分类的id
group_namestr?分类的名称
part_idint类型id装扮为6 收藏集为0
statestr当前状态默认为“active”
propertiesobj见下方
current_activityobj见下方
next_activityint?下次活动的时间
current_sourcesint?活动开始时间
finish_sourcesint?活动结束时间
sale_left_timeint?销售剩余时间
sale_time_endint?销售结束时间
sale_surplusint未知
sale_count_descstr销售量显示文本
total_count_descstr总量显示文本
tagstr当前状态标签
jump_linkstr跳转链接
sales_modeint?销售状态

list 数组中的对象中的 properties 对象:

共有字段:

字段类型内容备注
image_coverstr图片封面
sale_bp_forever_rawstr价格以0.01B币为单位
typestr类型收藏集为dlc_act, 装扮为ip

装扮特有:

字段类型内容备注
descstr介绍文本仅装扮
fan_descstr装扮名称仅装扮
fan_item_idsstr未知仅装扮
fan_midstr该up的uid仅装扮
fan_no_colorstr十六进制颜色仅装扮
fan_recommend_descstr装备说明仅装扮
fan_recommend_jump_typestr跳转类型仅装扮
fan_recommend_jump_valuestr跳转值仅装扮
fan_share_imagestr分享时的背景图仅装扮
gray_rulestr未知仅装扮
gray_rule_typestr未知仅装扮
image_cover_colorstr?图片封面纯色背景仅装扮
is_hidestr是否隐藏仅装扮
item_id_cardstr装扮背景卡片id仅装扮
item_id_emojistr装扮表情包id仅装扮
item_id_thumbupstr装扮点赞动画id仅装扮
open_platform_vip_discountstr是否有大会员减免仅装扮
owner_uidstrUID默认为虚拟主播衍生品小货架, 仅装扮
rank_investor_showstr未知仅装扮
realname_authstr?是否需要实名认证仅装扮
sale_bp_pm_rawstr该装扮基础套餐价格以0.01B币为单位, 仅装扮
sale_buy_num_limitstr购买限额仅装扮
sale_quantitystr该装扮粉丝专属套餐限额仅装扮
sale_quantity_limitstr该装扮粉丝专属套餐是否限额仅装扮
sale_region_ip_limitstr该装扮限制购买地区仅装扮
sale_reserve_switchstr未知仅装扮
sale_time_beginstr开始售卖时的时间戳仅装扮
sale_typestr售卖类型默认为pay, 仅装扮
suit_card_typestr仅装扮

收藏集特有:

字段类型内容备注
book_amountstr购买总数仅收藏集
dlc_act_idstr收藏集活动id仅收藏集
dlc_act_statusstr收藏集活动状态仅收藏集
dlc_is_freestr收藏集抽奖是否免费仅收藏集
dlc_lottery_idstr收藏集抽奖id仅收藏集
dlc_lottery_sale_quantitystr购买总数仅收藏集
dlc_lottery_typestr?抽奖类型仅收藏集
dlc_sale_end_timestr收藏集抽奖结束时间仅收藏集
dlc_sale_modestr未知仅收藏集
dlc_sale_start_timestr收藏集抽奖开始时间仅收藏集
dlc_surplus_stockstr未知仅收藏集

list 数组中的对象中的 current_activity 对象:

字段类型内容备注
typestr当前永久价格活动类型装扮一般是open_platform_vip_discount, 收藏集一般是first_draw_discount
time_limitbool是否存在时间限制
time_leftint剩余时间
tagstr显示标签
price_bp_foreverint永久价格以0.01B币为单位
price_bp_monthint一个月的价格以0.01B币为单位
type_monthstr当前一个月的价格活动类型仅装扮
tag_monthstr显示标签仅装扮
time_limit_monthbool是否存在时间限制仅装扮
time_left_monthint剩余时间仅装扮

示例:

搜索关键词为 2233:

curl -G 'https://api.bilibili.com/x/garb/v2/mall/home/search' \
--data-urlencode 'key_word=2233' \
-b 'SESSDATA=xxx'
查看响应示例:
{
  "code": 0,
  "message": "0",
  "ttl": 1,
  "data": {
    "list": [
      {
        "item_id": 0,
        "name": "2024拜年纪-2233拜年画册",
        "group_id": 70,
        "group_name": "2024拜年纪-2233拜年画册",
        "part_id": 0,
        "state": "active",
        "properties": {
          "book_amount": "1395313",
          "dlc_act_id": "279",
          "dlc_act_status": "2",
          "dlc_is_free": "0",
          "dlc_lottery_id": "256",
          "dlc_lottery_sale_quantity": "313028",
          "dlc_lottery_type": "1",
          "dlc_sale_end_time": "2114406245",
          "dlc_sale_mode": "1",
          "dlc_sale_start_time": "1707458400",
          "dlc_surplus_stock": "0",
          "image_cover": "http://i0.hdslb.com/bfs/archive/f96a8cf6866ccef8f54de4773acf0cb07b915ac6.png",
          "sale_bp_forever_raw": "990",
          "type": "dlc_act"
        },
        "current_activity": null,
        "next_activity": {
          "type": "first_draw_discount",
          "time_limit": false,
          "time_left": -1728418723,
          "tag": "大会员首抽",
          "price_bp_month": 490,
          "price_bp_forever": 490,
          "type_month": "",
          "tag_month": "",
          "time_limit_month": false,
          "time_left_month": 0
        },
        "current_sources": null,
        "finish_sources": null,
        "sale_left_time": -1728418723,
        "sale_time_end": -1728418723,
        "sale_surplus": 0,
        "sale_count_desc": "31万+",
        "total_count_desc": "已售31万+份",
        "tag": "",
        "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=279\u0026hybrid_set_header=2\u0026lottery_id=256",
        "sales_mode": 0
      },
      {
        "item_id": 0,
        "name": "2024 BML\u0026BW 2233收藏集-2233福利卡池",
        "group_id": 70,
        "group_name": "2024 BML\u0026BW 2233收藏集-2233福利卡池",
        "part_id": 0,
        "state": "active",
        "properties": {
          "book_amount": "4376",
          "dlc_act_id": "102962",
          "dlc_act_status": "2",
          "dlc_is_free": "1",
          "dlc_lottery_id": "102966",
          "dlc_lottery_sale_quantity": "2677",
          "dlc_lottery_type": "2",
          "dlc_sale_end_time": "1729828800",
          "dlc_sale_mode": "2",
          "dlc_sale_start_time": "1721876400",
          "dlc_surplus_stock": "0",
          "image_cover": "https://i0.hdslb.com/bfs/garb/4a374316b1e9a07cffeccbdeff585c472dcdcc26.png",
          "sale_bp_forever_raw": "0",
          "type": "dlc_act"
        },
        "current_activity": null,
        "next_activity": null,
        "current_sources": null,
        "finish_sources": null,
        "sale_left_time": -1728418723,
        "sale_time_end": -1728418723,
        "sale_surplus": 0,
        "sale_count_desc": "2千+",
        "total_count_desc": "已发放2千+份",
        "tag": "限时DLC",
        "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=102962\u0026hybrid_set_header=2\u0026lottery_id=102966",
        "sales_mode": 0
      },
      {
        "item_id": 0,
        "name": "2233·幻境序曲-长夜",
        "group_id": 70,
        "group_name": "2233·幻境序曲-长夜",
        "part_id": 0,
        "state": "active",
        "properties": {
          "book_amount": "228065",
          "dlc_act_id": "102161",
          "dlc_act_status": "2",
          "dlc_is_free": "0",
          "dlc_lottery_id": "103087",
          "dlc_lottery_sale_quantity": "71200",
          "dlc_lottery_type": "2",
          "dlc_sale_end_time": "2114406245",
          "dlc_sale_mode": "1",
          "dlc_sale_start_time": "1722139200",
          "dlc_surplus_stock": "0",
          "image_cover": "https://i0.hdslb.com/bfs/garb/f7e4f434ba6b93434b9e60df3c57a07552af4ca1.png",
          "sale_bp_forever_raw": "990",
          "type": "dlc_act"
        },
        "current_activity": null,
        "next_activity": {
          "type": "first_draw_discount",
          "time_limit": false,
          "time_left": -1728418723,
          "tag": "大会员首抽",
          "price_bp_month": 490,
          "price_bp_forever": 490,
          "type_month": "",
          "tag_month": "",
          "time_limit_month": false,
          "time_left_month": 0
        },
        "current_sources": null,
        "finish_sources": null,
        "sale_left_time": -1728418723,
        "sale_time_end": -1728418723,
        "sale_surplus": 0,
        "sale_count_desc": "7万+",
        "total_count_desc": "已售7万+份",
        "tag": "DLC池",
        "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=102161\u0026hybrid_set_header=2\u0026lottery_id=103087",
        "sales_mode": 0
      },
      {
        "item_id": 0,
        "name": "2233·群星闪耀时-双子座",
        "group_id": 70,
        "group_name": "2233·群星闪耀时-双子座",
        "part_id": 0,
        "state": "active",
        "properties": {
          "book_amount": "1164544",
          "dlc_act_id": "113",
          "dlc_act_status": "2",
          "dlc_is_free": "0",
          "dlc_lottery_id": "16",
          "dlc_lottery_sale_quantity": "572712",
          "dlc_lottery_type": "1",
          "dlc_sale_end_time": "2114406245",
          "dlc_sale_mode": "1",
          "dlc_sale_start_time": "1686196800",
          "dlc_surplus_stock": "0",
          "image_cover": "http://i0.hdslb.com/bfs/archive/ed35d12a3dce7764d6cb5b02cb4a459373472522.jpg",
          "sale_bp_forever_raw": "990",
          "type": "dlc_act"
        },
        "current_activity": null,
        "next_activity": {
          "type": "first_draw_discount",
          "time_limit": false,
          "time_left": -1728418723,
          "tag": "大会员首抽",
          "price_bp_month": 90,
          "price_bp_forever": 90,
          "type_month": "",
          "tag_month": "",
          "time_limit_month": false,
          "time_left_month": 0
        },
        "current_sources": null,
        "finish_sources": null,
        "sale_left_time": -1728418723,
        "sale_time_end": -1728418723,
        "sale_surplus": 0,
        "sale_count_desc": "57万+",
        "total_count_desc": "已售57万+份",
        "tag": "",
        "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=113\u0026hybrid_set_header=2\u0026lottery_id=16",
        "sales_mode": 0
      },
      {
        "item_id": 39389,
        "name": "2233人生百戏-花木兰",
        "group_id": 70,
        "group_name": "2233人生百戏-花木兰",
        "part_id": 6,
        "state": "active",
        "properties": {
          "desc": "为从军设妙计女扮男装,涉千山越万水亲赴戎机。2233人生百戏·花木兰装扮上线啦!本套装包括动态卡片、点赞动效和表情包,永久购买还能成为认证粉丝,领取粉丝专属装扮!",
          "fan_desc": "人生百戏-花木兰",
          "fan_id": "人生百戏-花木兰",
          "fan_item_ids": "39335,39384,39353,39354",
          "fan_mid": "35365327",
          "fan_no_color": "#eb3d3e",
          "fan_recommend_desc": "为从军设妙计女扮男装,涉千山越万水亲赴戎机。",
          "fan_recommend_jump_type": "url",
          "fan_recommend_jump_value": "https://space.bilibili.com/35365327?spm_id_from=333.337.0.0",
          "fan_share_image": "https://i0.hdslb.com/bfs/garb/item/5ddd3f72ef2a938e9125851f488068012b841ad4.jpg",
          "gray_rule": "true",
          "gray_rule_type": "all",
          "image_cover": "https://i0.hdslb.com/bfs/garb/item/e21ec12047bcd93e6afb8e52a68eb9835cd54a23.jpg",
          "image_cover_color": "#d8b796",
          "is_hide": "false",
          "item_id_card": "39334",
          "item_id_emoji": "39352",
          "item_id_thumbup": "39336",
          "open_platform_vip_discount": "true",
          "owner_uid": "647193094",
          "rank_investor_show": "false",
          "realname_auth": "false",
          "sale_bp_forever_raw": "5000",
          "sale_bp_pm_raw": "800",
          "sale_buy_num_limit": "100",
          "sale_quantity": "20000",
          "sale_quantity_limit": "true",
          "sale_region_ip_limit": "全球",
          "sale_reserve_switch": "false",
          "sale_time_begin": "1666868400",
          "sale_type": "pay",
          "suit_card_type": "big_img",
          "type": "ip"
        },
        "current_activity": null,
        "next_activity": {
          "type": "open_platform_vip_discount",
          "time_limit": true,
          "time_left": 417469277,
          "tag": "大会员平台折扣",
          "price_bp_month": 640,
          "price_bp_forever": 4000,
          "type_month": "open_platform_vip_discount",
          "tag_month": "大会员平台折扣",
          "time_limit_month": true,
          "time_left_month": 417469277
        },
        "current_sources": null,
        "finish_sources": null,
        "sale_left_time": -61550323,
        "sale_time_end": -1728418723,
        "sale_surplus": 8650,
        "sale_count_desc": "1万+",
        "total_count_desc": "已售1万+份",
        "tag": "",
        "jump_link": "https://www.bilibili.com/h5/mall/suit/detail?navhide=1\u0026id=39389",
        "sales_mode": 0
      },
      {
        "item_id": 4259,
        "name": "2233白色情人节",
        "group_id": 70,
        "group_name": "2233白色情人节",
        "part_id": 6,
        "state": "active",
        "properties": {
          "desc": "shot你的心——无论是谁都拥有爱的权利,快换上白色情人节专属装扮来遇见心里的那个ta吧!本套装包括头像挂件、动态卡片、点赞动效和表情包,永久购买还能成为认证粉丝,领取粉丝专属装扮!",
          "fan_desc": "白色情人节",
          "fan_id": "2233白色情人节",
          "fan_item_ids": "4257,4230,4256,4255,4253,4254",
          "fan_mid": "174501086",
          "fan_no_color": "#f85574",
          "fan_recommend_desc": "平淡日常中迎来浪漫的节日,象征爱情的丘比特们悄悄来到少女们身边,用爱之箭觉醒了懵懂悸动的心。新鲜的玫瑰,闪耀光泽的草莓,白色情人节这天为你准备不一样的惊喜。",
          "fan_recommend_jump_type": "url",
          "fan_recommend_jump_value": "https://b23.tv/54WVWS",
          "fan_share_image": "https://i0.hdslb.com/bfs/garb/item/30e3f1b234dd33a2a5446dd7d05b31835ac74d4b.jpg",
          "gray_rule": "true",
          "gray_rule_type": "all",
          "image_cover": "https://i0.hdslb.com/bfs/garb/item/a8d60a7d4f1f5a5de667b307736f701cb39c0741.jpg",
          "image_cover_color": "#a3a8ec",
          "image_cover_long": "https://i0.hdslb.com/bfs/garb/item/5ac3bb024d42ff0f26de07ce974351d62587c6ea.jpg",
          "image_desc": "https://i0.hdslb.com/bfs/garb/item/cfe753a010d124a95fb311c372a5be69d82c8e13.jpg",
          "is_hide": "false",
          "item_id_card": "4231",
          "item_id_emoji": "4252",
          "item_id_pendant": "4229",
          "item_id_thumbup": "4232",
          "open_platform_vip_discount": "true",
          "owner_uid": "647193094",
          "rank_investor_show": "true",
          "realname_auth": "false",
          "sale_bp_forever_raw": "5900",
          "sale_bp_pm_raw": "800",
          "sale_buy_num_limit": "100",
          "sale_quantity": "52000",
          "sale_quantity_limit": "true",
          "sale_region_ip_limit": "全球",
          "sale_reserve_switch": "false",
          "sale_time_begin": "1615694400",
          "sale_type": "pay",
          "suit_card_type": "big_img",
          "type": "ip"
        },
        "current_activity": null,
        "next_activity": {
          "type": "open_platform_vip_discount",
          "time_limit": true,
          "time_left": 417469277,
          "tag": "大会员平台折扣",
          "price_bp_month": 640,
          "price_bp_forever": 4720,
          "type_month": "open_platform_vip_discount",
          "tag_month": "大会员平台折扣",
          "time_limit_month": true,
          "time_left_month": 417469277
        },
        "current_sources": null,
        "finish_sources": null,
        "sale_left_time": -112724323,
        "sale_time_end": -1728418723,
        "sale_surplus": 0,
        "sale_count_desc": "5万+",
        "total_count_desc": "已售5万+份",
        "tag": "粉丝套装已售罄",
        "jump_link": "https://www.bilibili.com/h5/mall/suit/detail?navhide=1\u0026id=4259",
        "sales_mode": 0
      },
      {
        "item_id": 0,
        "name": "2233·少女日记-蔚蓝幻想曲",
        "group_id": 70,
        "group_name": "2233·少女日记-蔚蓝幻想曲",
        "part_id": 0,
        "state": "active",
        "properties": {
          "book_amount": "100310",
          "dlc_act_id": "103244",
          "dlc_act_status": "2",
          "dlc_is_free": "0",
          "dlc_lottery_id": "103885",
          "dlc_lottery_sale_quantity": "16563",
          "dlc_lottery_type": "2",
          "dlc_sale_end_time": "2114406245",
          "dlc_sale_mode": "1",
          "dlc_sale_start_time": "1727236800",
          "dlc_surplus_stock": "0",
          "image_cover": "http://i0.hdslb.com/bfs/archive/a04b3e9ef354493a0890a9197412f1c77e01ba0f.jpg",
          "sale_bp_forever_raw": "990",
          "type": "dlc_act"
        },
        "current_activity": null,
        "next_activity": {
          "type": "first_draw_discount",
          "time_limit": false,
          "time_left": -1728418723,
          "tag": "大会员首抽",
          "price_bp_month": 490,
          "price_bp_forever": 490,
          "type_month": "",
          "tag_month": "",
          "time_limit_month": false,
          "time_left_month": 0
        },
        "current_sources": null,
        "finish_sources": null,
        "sale_left_time": -1728418723,
        "sale_time_end": -1728418723,
        "sale_surplus": 0,
        "sale_count_desc": "1万+",
        "total_count_desc": "已售1万+份",
        "tag": "DLC池",
        "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=103244\u0026hybrid_set_header=2\u0026lottery_id=103885",
        "sales_mode": 0
      },
      {
        "item_id": 0,
        "name": "2233·少女日记-十四岁生日",
        "group_id": 70,
        "group_name": "2233·少女日记-十四岁生日",
        "part_id": 0,
        "state": "active",
        "properties": {
          "book_amount": "100310",
          "dlc_act_id": "103244",
          "dlc_act_status": "2",
          "dlc_is_free": "0",
          "dlc_lottery_id": "103247",
          "dlc_lottery_sale_quantity": "83747",
          "dlc_lottery_type": "1",
          "dlc_sale_end_time": "2114406245",
          "dlc_sale_mode": "1",
          "dlc_sale_start_time": "1723780800",
          "dlc_surplus_stock": "0",
          "image_cover": "https://i0.hdslb.com/bfs/garb/9c338eb4841cad917665140cc08c7d14b5c7e0bf.png",
          "sale_bp_forever_raw": "990",
          "type": "dlc_act"
        },
        "current_activity": null,
        "next_activity": {
          "type": "first_draw_discount",
          "time_limit": false,
          "time_left": -1728418723,
          "tag": "大会员首抽",
          "price_bp_month": 490,
          "price_bp_forever": 490,
          "type_month": "",
          "tag_month": "",
          "time_limit_month": false,
          "time_left_month": 0
        },
        "current_sources": null,
        "finish_sources": null,
        "sale_left_time": -1728418723,
        "sale_time_end": -1728418723,
        "sale_surplus": 0,
        "sale_count_desc": "8万+",
        "total_count_desc": "已售8万+份",
        "tag": "",
        "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=103244\u0026hybrid_set_header=2\u0026lottery_id=103247",
        "sales_mode": 0
      },
      {
        "item_id": 0,
        "name": "2024 BML\u0026BW 2233收藏集-BML\u0026BW2024",
        "group_id": 70,
        "group_name": "2024 BML\u0026BW 2233收藏集-BML\u0026BW2024",
        "part_id": 0,
        "state": "active",
        "properties": {
          "book_amount": "4376",
          "dlc_act_id": "102962",
          "dlc_act_status": "2",
          "dlc_is_free": "0",
          "dlc_lottery_id": "102963",
          "dlc_lottery_sale_quantity": "1699",
          "dlc_lottery_type": "1",
          "dlc_sale_end_time": "2114406245",
          "dlc_sale_mode": "1",
          "dlc_sale_start_time": "1721876400",
          "dlc_surplus_stock": "0",
          "image_cover": "https://i0.hdslb.com/bfs/garb/6c2d68faf143c33b484b110e2221ab15a0a1f85c.png",
          "sale_bp_forever_raw": "990",
          "type": "dlc_act"
        },
        "current_activity": null,
        "next_activity": {
          "type": "first_draw_discount",
          "time_limit": false,
          "time_left": -1728418723,
          "tag": "大会员首抽",
          "price_bp_month": 490,
          "price_bp_forever": 490,
          "type_month": "",
          "tag_month": "",
          "time_limit_month": false,
          "time_left_month": 0
        },
        "current_sources": null,
        "finish_sources": null,
        "sale_left_time": -1728418723,
        "sale_time_end": -1728418723,
        "sale_surplus": 0,
        "sale_count_desc": "1千+",
        "total_count_desc": "已售1千+份",
        "tag": "",
        "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=102962\u0026hybrid_set_header=2\u0026lottery_id=102963",
        "sales_mode": 0
      }
    ],
    "pn": 1,
    "ps": 20,
    "total": 187
  }
}

收藏集信息API

https://api.bilibili.com/x/vas/dlc_act/lottery_home_detail

请求方式: GET

URL参数:

参数名类型内容必要性备注
act_idint收藏集活动id必要
lottery_idint收藏集抽奖id不必要但缺了不返回数据

JSON回复:

根对象:

字段类型内容备注
codenum返回值0:成功
messagestr错误信息默认为 0
ttlnum1
dataobj返回数据

data 对象:

字段类型内容备注
lottery_idint收藏集抽奖id
namestr收藏集抽奖名称
item_listarray可抽出的物品列表
collect_listobj见下方
button_bubblenull未知
guide_infonull未知
is_bookedint未知
total_book_cntint未知
is_fissionint未知
physical_exchangeint未知

data 中的 item_list 数组中的对象:

字段类型内容备注
item_typeint物品类型目前只拿到个1, 其他值未知
card_infoobj见下方

item_list 数组中的对象中的 card_info 对象:

字段类型内容备注
card_type_idint该卡片id
card_namestr该卡片名称
card_imgstr该卡片图片无水印
card_typeintint未知
video_listarray该卡片动态视频无水印
is_physical_orientationint该卡片旋转方向
card_scarcityint该卡片稀有度
is_muteint该卡片是否静音
widthint该卡片像素宽度
heightint该卡片像素高度
card_ext_textstr?该卡片文件名字符串
card_img_downloadstr该卡片图片有水印
video_list_downloadarray该卡片动态视频有水印
subtitles_url未知
playnull未知
tagnull未知
card_sub_typeint未知
is_new_tagint未知
is_up_tagint未知
is_limited_cardint未知
stock_infonull未知

data 中的 collect_list 对象:

字段类型内容备注
collect_infosarray见下方
collect_chainnull未知

collect_list 中的 collect_infos 数组中的对象:

字段类型内容备注
collect_idint收集品id
start_timeint开始时间
end_timeint结束时间
redeem_textstr兑换条件
redeem_item_typeint兑换物类型
redeem_item_idstr兑换物id
redeem_item_namestr兑换物名称
redeem_item_imagestr兑换物预览图片
owned_item_amountint拥有的数量
require_item_amountint需要的数量
has_redeemed_cntint兑换次数
effective_foreverint是否永久有效
redeem_item_image_downloadstr未知
card_itemobj见下方有时为 null
jump_urlstr?跳转链接
redeem_cond_typestr当前兑换状态
remain_stockint当前库存
total_stockint总库存
lottery_idint抽奖id
reward_tagstr奖励显示标签
redeem_detail_imagestr兑换详情图片
redeem_detail_videosnull未知
sortint排序
redeem_items_optionalnull未知
unlock_conditionobj见下方

collect_infos 数组中的对象中的 card_item 对象:

字段类型内容备注
card_type_infonull
card_asset_infonull
playnull
tagnull

collect_infos 数组中的对象中的 unlock_condition 对象:

字段类型内容备注
unlockedbool是否解锁
lock_typeint解锁类型
expire_atint过期与
unlocked_atint解锁于
unlock_thresholdint?解锁起点
current_thresholdint?当前起点

示例:

curl -G --url 'https://api.bilibili.com/x/vas/dlc_act/lottery_home_detail' \
--url-query 'act_id=111' \
--url-query 'lottery_id=15'
查看响应示例:
{
  "code": 0,
  "message": "0",
  "ttl": 1,
  "data": {
    "lottery_id": 15,
    "name": "夏日萌菜",
    "item_list": [
      {
        "item_type": 1,
        "card_info": {
          "card_type_id": 700903,
          "card_name": "水中嬉戏·隐藏",
          "card_img": "https://i0.hdslb.com/bfs/baselabs/d41acfc3bfcc9032a9759fbd9e64147a6d9a24b0.png",
          "card_type": 2,
          "video_list": [
            "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/2b/y2/_000008vnv2ddoooah248hqoyz2gy22b-1-152111110023.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=d22ca6102adb9ffe257f702047be6ef2&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=753ff946c9e4b3813eb72c744ed3a399ba9a225fe4767a7a03835890fcbe4b8a&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0"
          ],
          "is_physical_orientation": 0,
          "card_scarcity": 40,
          "is_mute": 0,
          "width": 1242,
          "height": 1862,
          "card_ext_text": "",
          "card_img_download": "https://i0.hdslb.com/bfs/garb/d38c42b6f1151298888da5902bca5a41e14f67e1.png",
          "video_list_download": [
            "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/digital_watermark/ib/30/_00003d7cuie74gr9z2322d7js5b30ib-teaser.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=hw&upsig=24512302cfa3b1f762f3ad08a0a2f5fe&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=5dc3cdfca31fca94c29a2ec945589ff319e97c3291dec2685184ec4083616cc2&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0"
          ],
          "subtitles_url": "",
          "play": null,
          "tag": null,
          "card_sub_type": 0,
          "is_new_tag": 0,
          "is_up_tag": 0,
          "is_limited_card": 0,
          "stock_info": null
        }
      },
      {
        "item_type": 1,
        "card_info": {
          "card_type_id": 700902,
          "card_name": "轻纱花语·隐藏",
          "card_img": "https://i0.hdslb.com/bfs/baselabs/e4721d06a5c435be216b5011f0604c9e07d5e4af.png",
          "card_type": 2,
          "video_list": [
            "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/jb/4u/_00001f04wekkvpmr92osvwpej1e4ujb-1-152111110023.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=ad574839c71e5327783acf248b552b3d&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=49276ec1afce1a8f571e257fb6d2ab7488f623aa50c2c3b7252258be72315c5e&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0"
          ],
          "is_physical_orientation": 0,
          "card_scarcity": 30,
          "is_mute": 0,
          "width": 1242,
          "height": 1862,
          "card_ext_text": "",
          "card_img_download": "https://i0.hdslb.com/bfs/garb/0e49e7c8108a98944a96bfa594cf7f74c72398cf.png",
          "video_list_download": [
            "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/digital_watermark/nb/58/_000007ovzgblf574s1ywvm7inwx58nb-teaser.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=ec9de21147240e94494d736f277dfb64&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=2370473349a25fae0ea023f65f1e09c70b45d086831eef5f4727b8443acdf9f5&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0"
          ],
          "subtitles_url": "",
          "play": null,
          "tag": null,
          "card_sub_type": 0,
          "is_new_tag": 0,
          "is_up_tag": 0,
          "is_limited_card": 0,
          "stock_info": null
        }
      },
      {
        "item_type": 1,
        "card_info": {
          "card_type_id": 700904,
          "card_name": "甜心女仆",
          "card_img": "https://i0.hdslb.com/bfs/baselabs/e1f9c56a8f49910d07852f2bd648fee910f36ff6.png",
          "card_type": 2,
          "video_list": [
            "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/gb/j6/_000015vmteklku8oj1ypmp1yjijj6gb-1-152111110023.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=c7412fe7b155deecbfea939f7c3d1b21&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=8989673c367aa0ffbe747cdc66129a6d1698f1c2b60ace24861ad62127cdd6da&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0"
          ],
          "is_physical_orientation": 0,
          "card_scarcity": 20,
          "is_mute": 0,
          "width": 1242,
          "height": 1862,
          "card_ext_text": "",
          "card_img_download": "https://i0.hdslb.com/bfs/garb/e6c69329d843603166fac8d41682c3489fd137d4.png",
          "video_list_download": [
            "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/digital_watermark/zb/eq/_000018oi0e68wv4id2vkrk9ovpteqzb-teaser.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=hw&upsig=f972e8cd996d058deb4e0ffb1d57671e&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=99054c626717b4ba61c01bbb0fe59f67feac394b89e19e4bbf95290d3a425f94&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0"
          ],
          "subtitles_url": "",
          "play": null,
          "tag": null,
          "card_sub_type": 0,
          "is_new_tag": 0,
          "is_up_tag": 0,
          "is_limited_card": 0,
          "stock_info": null
        }
      },
      {
        "item_type": 1,
        "card_info": {
          "card_type_id": 700901,
          "card_name": "约会憧憬",
          "card_img": "https://i0.hdslb.com/bfs/baselabs/924ef9a71bf39010935b4a43845bec13c8a2022c.png",
          "card_type": 1,
          "video_list": null,
          "is_physical_orientation": 0,
          "card_scarcity": 10,
          "is_mute": 0,
          "width": 1242,
          "height": 1863,
          "card_ext_text": "",
          "card_img_download": "https://i0.hdslb.com/bfs/garb/40a9ff949ca7a50dbce146ad28fbb567c2583261.png",
          "video_list_download": null,
          "subtitles_url": "",
          "play": null,
          "tag": null,
          "card_sub_type": 0,
          "is_new_tag": 0,
          "is_up_tag": 0,
          "is_limited_card": 0,
          "stock_info": null
        }
      },
      {
        "item_type": 1,
        "card_info": {
          "card_type_id": 700900,
          "card_name": "夏日小憩",
          "card_img": "https://i0.hdslb.com/bfs/baselabs/0eddbfc70200f16bef06acc88ef132eb25ede52d.png",
          "card_type": 1,
          "video_list": null,
          "is_physical_orientation": 0,
          "card_scarcity": 10,
          "is_mute": 0,
          "width": 1242,
          "height": 1863,
          "card_ext_text": "",
          "card_img_download": "https://i0.hdslb.com/bfs/garb/61e26e17705e06ecdfdb9ff97befb19c702cf81e.png",
          "video_list_download": null,
          "subtitles_url": "",
          "play": null,
          "tag": null,
          "card_sub_type": 0,
          "is_new_tag": 0,
          "is_up_tag": 0,
          "is_limited_card": 0,
          "stock_info": null
        }
      },
      {
        "item_type": 1,
        "card_info": {
          "card_type_id": 700899,
          "card_name": "微风校园",
          "card_img": "https://i0.hdslb.com/bfs/baselabs/bbeaf7993566684e328e74d8ef7c47e6242869a2.png",
          "card_type": 1,
          "video_list": null,
          "is_physical_orientation": 0,
          "card_scarcity": 10,
          "is_mute": 0,
          "width": 1242,
          "height": 1863,
          "card_ext_text": "",
          "card_img_download": "https://i0.hdslb.com/bfs/garb/8ac61045334699d621363ccac87153a7128ef0c3.png",
          "video_list_download": null,
          "subtitles_url": "",
          "play": null,
          "tag": null,
          "card_sub_type": 0,
          "is_new_tag": 0,
          "is_up_tag": 0,
          "is_limited_card": 0,
          "stock_info": null
        }
      },
      {
        "item_type": 1,
        "card_info": {
          "card_type_id": 700898,
          "card_name": "萌宠幻想",
          "card_img": "https://i0.hdslb.com/bfs/baselabs/f93f200ec862b4520b30e8f03219fbaca91a2089.png",
          "card_type": 1,
          "video_list": null,
          "is_physical_orientation": 0,
          "card_scarcity": 10,
          "is_mute": 0,
          "width": 1242,
          "height": 1863,
          "card_ext_text": "",
          "card_img_download": "https://i0.hdslb.com/bfs/garb/93e59f3080f6b8070b0d0621496e4ed6cb20cf8f.png",
          "video_list_download": null,
          "subtitles_url": "",
          "play": null,
          "tag": null,
          "card_sub_type": 0,
          "is_new_tag": 0,
          "is_up_tag": 0,
          "is_limited_card": 0,
          "stock_info": null
        }
      },
      {
        "item_type": 1,
        "card_info": {
          "card_type_id": 700897,
          "card_name": "空中环游",
          "card_img": "https://i0.hdslb.com/bfs/baselabs/fc0c020091c0a9fb1778c420bc4f9773a72ea7ba.png",
          "card_type": 1,
          "video_list": null,
          "is_physical_orientation": 0,
          "card_scarcity": 10,
          "is_mute": 0,
          "width": 1242,
          "height": 1863,
          "card_ext_text": "",
          "card_img_download": "https://i0.hdslb.com/bfs/garb/c1c6c9ca84b584bf5f2b0e1ec7d239eb935e4d44.png",
          "video_list_download": null,
          "subtitles_url": "",
          "play": null,
          "tag": null,
          "card_sub_type": 0,
          "is_new_tag": 0,
          "is_up_tag": 0,
          "is_limited_card": 0,
          "stock_info": null
        }
      }
    ],
    "collect_list": {
      "collect_infos": [
        {
          "collect_id": 0,
          "start_time": 1685372400,
          "end_time": 2114406245,
          "redeem_text": "1抽必得勋章,可应用为评论背景&动态卡片",
          "redeem_item_type": 1001,
          "redeem_item_id": "",
          "redeem_item_name": "夏日萌菜勋章",
          "redeem_item_image": "http://i0.hdslb.com/bfs/archive/b3d915c6ad88609fb658393585f018459a7e620d.png",
          "owned_item_amount": 0,
          "require_item_amount": 1,
          "has_redeemed_cnt": 0,
          "effective_forever": 1,
          "redeem_item_image_download": "",
          "card_item": null,
          "jump_url": "",
          "redeem_cond_type": "",
          "remain_stock": 0,
          "total_stock": -1,
          "lottery_id": 0,
          "reward_tag": "",
          "redeem_detail_image": "",
          "redeem_detail_videos": null,
          "sort": 0,
          "redeem_items_optional": null,
          "unlock_condition": {
            "unlocked": true,
            "lock_type": 0,
            "expire_at": 0,
            "unlocked_at": 0,
            "unlock_threshold": 0,
            "current_threshold": 0
          }
        },
        {
          "collect_id": 172,
          "start_time": 1691640000,
          "end_time": 2114406245,
          "redeem_text": "抽出任意5张不同卡牌,即可领取,单UID仅可领取一次",
          "redeem_item_type": 5,
          "redeem_item_id": "56658",
          "redeem_item_name": "夏日萌菜个性主题",
          "redeem_item_image": "https://i0.hdslb.com/bfs/garb/48f755d6d08d96bfebcadee0be4bc34ce42421de.jpg",
          "owned_item_amount": 0,
          "require_item_amount": 5,
          "has_redeemed_cnt": 0,
          "effective_forever": 1,
          "redeem_item_image_download": "",
          "card_item": {
            "card_type_info": null,
            "play": null,
            "tag": null,
            "card_asset_info": null
          },
          "jump_url": "",
          "redeem_cond_type": "scarcity",
          "remain_stock": -1,
          "total_stock": -1,
          "lottery_id": 0,
          "reward_tag": "任务奖励限定",
          "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/48f755d6d08d96bfebcadee0be4bc34ce42421de.jpg",
          "redeem_detail_videos": null,
          "sort": 0,
          "redeem_items_optional": null,
          "unlock_condition": {
            "unlocked": true,
            "lock_type": 0,
            "expire_at": 0,
            "unlocked_at": 0,
            "unlock_threshold": 0,
            "current_threshold": 0
          }
        },
        {
          "collect_id": 51,
          "start_time": 1685372400,
          "end_time": 2114406245,
          "redeem_text": "抽出任意1张隐藏卡牌,即可领取,单UID仅可领取一次",
          "redeem_item_type": 3,
          "redeem_item_id": "53199",
          "redeem_item_name": "夏日萌菜头像框",
          "redeem_item_image": "https://i0.hdslb.com/bfs/garb/item/9fcb99ccfd057c5eac165832d71fb63f07f26097.png",
          "owned_item_amount": 0,
          "require_item_amount": 1,
          "has_redeemed_cnt": 0,
          "effective_forever": 1,
          "redeem_item_image_download": "",
          "card_item": {
            "card_type_info": null,
            "play": null,
            "tag": null,
            "card_asset_info": null
          },
          "jump_url": "",
          "redeem_cond_type": "scarcity",
          "remain_stock": -1,
          "total_stock": -1,
          "lottery_id": 0,
          "reward_tag": "任务奖励限定",
          "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/item/9fcb99ccfd057c5eac165832d71fb63f07f26097.png",
          "redeem_detail_videos": null,
          "sort": 0,
          "redeem_items_optional": null,
          "unlock_condition": {
            "unlocked": true,
            "lock_type": 0,
            "expire_at": 0,
            "unlocked_at": 0,
            "unlock_threshold": 0,
            "current_threshold": 0
          }
        },
        {
          "collect_id": 50,
          "start_time": 1685372400,
          "end_time": 2114406245,
          "redeem_text": "抽出任意3张不同卡牌,即可领取,单UID仅可领取一次",
          "redeem_item_type": 2,
          "redeem_item_id": "53178",
          "redeem_item_name": "夏日萌菜表情包",
          "redeem_item_image": "https://i0.hdslb.com/bfs/garb/462ae9b5735fef4bb9ed87a6d6467a4768b06006.png",
          "owned_item_amount": 0,
          "require_item_amount": 3,
          "has_redeemed_cnt": 0,
          "effective_forever": 1,
          "redeem_item_image_download": "",
          "card_item": {
            "card_type_info": null,
            "play": null,
            "tag": null,
            "card_asset_info": null
          },
          "jump_url": "",
          "redeem_cond_type": "scarcity",
          "remain_stock": -1,
          "total_stock": -1,
          "lottery_id": 0,
          "reward_tag": "任务奖励限定",
          "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/462ae9b5735fef4bb9ed87a6d6467a4768b06006.png",
          "redeem_detail_videos": null,
          "sort": 0,
          "redeem_items_optional": null,
          "unlock_condition": {
            "unlocked": true,
            "lock_type": 0,
            "expire_at": 0,
            "unlocked_at": 0,
            "unlock_threshold": 0,
            "current_threshold": 0
          }
        },
        {
          "collect_id": 366,
          "start_time": 1694768400,
          "end_time": 1696953600,
          "redeem_text": "抽齐全部8张卡牌领取,直接获得全图鉴进度条标记,10月28日前人工发放头像",
          "redeem_item_type": 5,
          "redeem_item_id": "59374",
          "redeem_item_name": "水中嬉戏·隐藏出框头像",
          "redeem_item_image": "https://i0.hdslb.com/bfs/garb/ff981dbdca5c6b539e22596674265ef1cb110c9c.png",
          "owned_item_amount": 0,
          "require_item_amount": 8,
          "has_redeemed_cnt": 0,
          "effective_forever": 0,
          "redeem_item_image_download": "",
          "card_item": {
            "card_type_info": null,
            "play": null,
            "tag": null,
            "card_asset_info": null
          },
          "jump_url": "",
          "redeem_cond_type": "scarcity",
          "remain_stock": -1,
          "total_stock": -1,
          "lottery_id": 0,
          "reward_tag": "任务奖励限定",
          "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/ff981dbdca5c6b539e22596674265ef1cb110c9c.png",
          "redeem_detail_videos": null,
          "sort": 0,
          "redeem_items_optional": null,
          "unlock_condition": {
            "unlocked": true,
            "lock_type": 0,
            "expire_at": 0,
            "unlocked_at": 0,
            "unlock_threshold": 0,
            "current_threshold": 0
          }
        }
      ],
      "collect_chain": null
    },
    "button_bubble": null,
    "guide_info": null,
    "is_booked": 0,
    "total_book_cnt": 0,
    "is_fission": 0,
    "physical_exchange": 0
  }
}