原神角色卡池信息API
本接口总调用:117次·今日调用:0次

接口地址: https://api.suyanw.cn/api/mihoyo_ys_pool.php

返回格式: 请看返回示例

请求方式: GET

请求示例: https://api.suyanw.cn/api/mihoyo_ys_pool.php

请求参数说明:

名称必填说明

系统级错误:

名称说明
400请求错误!
403请求被服务器拒绝!
405客户端请求的方法被禁止!
408请求时间过长!
500服务器内部出现错误!
501服务器不支持请求的功能,无法完成请求!
503系统维护中!

返回示例:

{
    "code": 1,
    "text": "Success/成功",
    "data": [
        {
            "id": 129,
            "title": "「鲨鲨逐浪游」祈愿",
            "activity_url": "https://www.miyoushe.com/ys/article/67480620",
            "content_before_act": "",
            "pool": [
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2025/08/19/345102903/b4d09debafb72291ca91f50e3e9b5a4e_1164306477732779147.png",
                    "url": "https://baike.mihoyo.com/ys/obc/content/501625/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2025/08/19/345102903/4b939bc2ef49ec4462f632ddec20758d_7257482524053192016.png",
                    "url": "https://baike.mihoyo.com/ys/obc/content/105/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2025/08/19/345102903/d92e3d2bd6922b79f2e11c46f14b57f0_206602881236737842.png",
                    "url": "https://baike.mihoyo.com/ys/obc/content/502927/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2025/08/19/345102903/be4fd055d207dc9737ace25cdb3383ed_8115224253600121790.png",
                    "url": "https://baike.mihoyo.com/ys/obc/content/504977/detail?bbs_presentation_style=no_header",
                    "ext": ""
                }
            ],
            "voice_icon": "",
            "voice_url": "",
            "voice_status": 1,
            "start_time": "2025-08-19 18:00:00",
            "end_time": "2025-09-09 14:59:59"
        },
        {
            "id": 128,
            "title": "「饮羽散红」祈愿",
            "activity_url": "https://www.miyoushe.com/ys/article/67480618",
            "content_before_act": "",
            "pool": [
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2025/08/19/345102903/829cff45ca08dafd2ae4b6a530777ecb_3809139891982496187.png",
                    "url": "https://baike.mihoyo.com/ys/obc/content/502928/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2025/08/19/345102903/4b939bc2ef49ec4462f632ddec20758d_4459217876881668723.png",
                    "url": "https://baike.mihoyo.com/ys/obc/content/105/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2025/08/19/345102903/d92e3d2bd6922b79f2e11c46f14b57f0_5337445273498604837.png",
                    "url": "https://baike.mihoyo.com/ys/obc/content/502927/detail?bbs_presentation_style=no_header",
                    "ext": ""
                },
                {
                    "icon": "https://act-upload.mihoyo.com/ys-obc/2025/08/19/345102903/be4fd055d207dc9737ace25cdb3383ed_6089225207105982088.png",
                    "url": "https://baike.mihoyo.com/ys/obc/content/504977/detail?bbs_presentation_style=no_header",
                    "ext": ""
                }
            ],
            "voice_icon": "",
            "voice_url": "",
            "voice_status": 1,
            "start_time": "2025-08-19 18:00:00",
            "end_time": "2025-09-09 14:59:59"
        }
    ]
}

错误码格式说明:

名称说明
1获取成功
-1获取失败

代码示例:

暂无示例