Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 23

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 24

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Common.php on line 185

Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Common.php on line 186

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 24

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 23

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 24

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 23

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 24

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Common.php on line 186

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Widget/Base/Contents.php on line 588

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 23

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 24

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Common.php on line 186

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Widget/Base/Contents.php on line 588

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 23

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 24

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Common.php on line 186

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Widget/Base/Contents.php on line 588

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 23

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 24

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Common.php on line 186

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Widget/Base/Contents.php on line 588

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Common.php on line 186
分类 原神 下的文章 - 奶香的一刀

分类 原神 下的文章


Deprecated: mb_split(): Passing null to parameter #2 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 2623

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 2703

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

原神基础信息 API 使用说明

api已和api-v4合并,两个api版本请求&数据格式一致,仅为底层代码优化,3.1版本的数据已完成更新

可以在本 API 中搜索游戏所有支持的语言的数据(14 种语言)。默认输入输出语言均为简体中文

支持的语言语言缩写语言全称
简体中文CHS/CNChineseSimplified
繁体中文CHTChineseTraditional
日语JP/JAJapanese
英语EN/ENGEnglish
法语FRFrench
德语DEGerman
印度尼西亚语IDIndonesian
韩语KR/KAKorean
葡萄牙语PTPortuguese
俄语RURussian
西班牙语ESSpanish
泰语THThai
越南语VIVietnamese
使用matchCategories参数时,query参数请输入类别,支持例如:武器类型(如:单手剑、法器等)、角色元素类型(如:冰、雷等)角色生日月份(如:八月)、所需材料类型(如:最胜紫晶碎屑、绯樱绣球等)
默认支持简写,但不可以错字,例如查询尘世之锁可输入

接口同时支持Post和Get请求

接口通用参数

参数名必须参数值默认值备注
queryLanguages参考语言缩写或全称ChineseSimplified指定查询时使用的语言
resultLanguage参考语言缩写或全称ChineseSimplified指定查询结果显示语言
matchCategories任意值false如果包含该参数,query会查询类别

角色相关信息查询地址:https://api.minigg.cn/characters

参数名必须参数值默认值备注
query✔️需要查询的名字角色名字或者类别名字
costs任意值如果包含该参数,显示查询角色需要的花费
stats等级范围[1-90]查询指定角色在这个等级的基础面板

武器相关信息查询地址:https://api.minigg.cn/weapons

参数名必须参数值默认值备注
query✔️需要查询的名字武器名字或者类别名字
costs任意值如果包含该参数,显示查询武器需要的花费
stats等级范围[1-90]查询指定武器在这个等级的基础面板

命座相关信息查询:https://api.minigg.cn/constellations

参数名必须参数值默认值备注
query✔️需要查询的名字需要查询的角色名字
c数字1-6如果包含该参数,显示对应命座层数的信息

天赋相关信息查询:https://api.minigg.cn/talents

参数名必须参数值默认值备注
query✔️需要查询的名字需要查询的角色名字
costs任意值如果包含该参数,显示查询角色需要的花费
talents普通攻击:acombat1
元素战技:ecombat2
元素爆发:qcombat3
固有天赋1:1passive1
固有天赋2:2passive2
固有天赋3:3passive3
特殊天赋:4sp
推荐包含该参数,带有该参数时返回指定天赋的说明

更多资源接口正在施工中


Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

DEMO 接口地址:

API 列表

GET 图片下载

/images/filename.png 下载图片

POST 图片生成

/generator/user_info 生成角色图片

附加参数:

style: 样式名称(如果不带样式参数,默认以fancy样式返回)

目前支持的样式&样式支持的参数:

样式名称支持参数
text暂无参数支持
fancybg_url: 背景图片链接
adachiuid: 查询结果显示的uid
avatar: 查询者的QQ号码或自定义头像的url (仅支持http/https)
nickname: 查询者的昵称
egenshinuid: 查询结果显示的uid
avatar: 查询者的QQ号码或自定义头像的url (仅支持http/https)
nickname: 查询者的昵称
带^参数可省略

请求Demo(以egenshin样式为例)

请求地址:https://igs.minigg.cn/generator/user_info?style=egenshin&uid=100012315&nickname=小灰灰

POST Data

{
    "retcode": 0,
    "message": "OK",
    "data": {
        "role": null,
        "avatars": [
            {
                "id": 10000037,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Ganyu.png",
                "name": "甘雨",
                "element": "Cryo",
                "fetter": 10,
                "level": 90,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000042,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Keqing.png",
                "name": "刻晴",
                "element": "Electro",
                "fetter": 10,
                "level": 90,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000046,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Hutao.png",
                "name": "胡桃",
                "element": "Pyro",
                "fetter": 10,
                "level": 90,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000051,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Eula.png",
                "name": "优菈",
                "element": "Cryo",
                "fetter": 10,
                "level": 90,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000002,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Ayaka.png",
                "name": "神里绫华",
                "element": "Cryo",
                "fetter": 10,
                "level": 89,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000022,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Venti.png",
                "name": "温迪",
                "element": "Anemo",
                "fetter": 10,
                "level": 89,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000041,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Mona.png",
                "name": "莫娜",
                "element": "Hydro",
                "fetter": 10,
                "level": 89,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000052,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Shougun.png",
                "name": "雷电将军",
                "element": "Electro",
                "fetter": 10,
                "level": 89,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000023,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Xiangling.png",
                "name": "香菱",
                "element": "Pyro",
                "fetter": 10,
                "level": 89,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000031,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Fischl.png",
                "name": "菲谢尔",
                "element": "Electro",
                "fetter": 10,
                "level": 89,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000032,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Bennett.png",
                "name": "班尼特",
                "element": "Pyro",
                "fetter": 10,
                "level": 89,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000056,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Sara.png",
                "name": "九条裟罗",
                "element": "Electro",
                "fetter": 10,
                "level": 89,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000038,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Albedo.png",
                "name": "阿贝多",
                "element": "Geo",
                "fetter": 10,
                "level": 88,
                "rarity": 5,
                "actived_constellation_num": 0
            },
            {
                "id": 10000034,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Noel.png",
                "name": "诺艾尔",
                "element": "Geo",
                "fetter": 10,
                "level": 88,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000036,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Chongyun.png",
                "name": "重云",
                "element": "Cryo",
                "fetter": 10,
                "level": 88,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000003,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Qin.png",
                "name": "琴",
                "element": "Anemo",
                "fetter": 10,
                "level": 87,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000049,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Yoimiya.png",
                "name": "宵宫",
                "element": "Pyro",
                "fetter": 10,
                "level": 87,
                "rarity": 5,
                "actived_constellation_num": 0
            },
            {
                "id": 10000029,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Klee.png",
                "name": "可莉",
                "element": "Pyro",
                "fetter": 10,
                "level": 86,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000033,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Tartaglia.png",
                "name": "达达利亚",
                "element": "Hydro",
                "fetter": 10,
                "level": 86,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000047,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Kazuha.png",
                "name": "枫原万叶",
                "element": "Anemo",
                "fetter": 10,
                "level": 86,
                "rarity": 5,
                "actived_constellation_num": 2
            },
            {
                "id": 10000025,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Xingqiu.png",
                "name": "行秋",
                "element": "Hydro",
                "fetter": 10,
                "level": 85,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000053,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Sayu.png",
                "name": "早柚",
                "element": "Anemo",
                "fetter": 10,
                "level": 85,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000035,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Qiqi.png",
                "name": "七七",
                "element": "Cryo",
                "fetter": 10,
                "level": 81,
                "rarity": 5,
                "actived_constellation_num": 3
            },
            {
                "id": 10000016,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Diluc.png",
                "name": "迪卢克",
                "element": "Pyro",
                "fetter": 10,
                "level": 80,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000030,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Zhongli.png",
                "name": "钟离",
                "element": "Geo",
                "fetter": 10,
                "level": 80,
                "rarity": 5,
                "actived_constellation_num": 2
            },
            {
                "id": 10000054,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Kokomi.png",
                "name": "珊瑚宫心海",
                "element": "Hydro",
                "fetter": 10,
                "level": 80,
                "rarity": 5,
                "actived_constellation_num": 1
            },
            {
                "id": 10000043,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Sucrose.png",
                "name": "砂糖",
                "element": "Anemo",
                "fetter": 10,
                "level": 80,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000045,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Rosaria.png",
                "name": "罗莎莉亚",
                "element": "Cryo",
                "fetter": 10,
                "level": 80,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000007,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_PlayerGirl.png",
                "name": "旅行者",
                "element": "Electro",
                "fetter": 0,
                "level": 80,
                "rarity": 5,
                "actived_constellation_num": 6
            },
            {
                "id": 10000039,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Diona.png",
                "name": "迪奥娜",
                "element": "Cryo",
                "fetter": 10,
                "level": 79,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000026,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Xiao.png",
                "name": "魈",
                "element": "Anemo",
                "fetter": 10,
                "level": 70,
                "rarity": 5,
                "actived_constellation_num": 1
            },
            {
                "id": 10000014,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Barbara.png",
                "name": "芭芭拉",
                "element": "Hydro",
                "fetter": 10,
                "level": 70,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000021,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Ambor.png",
                "name": "安柏",
                "element": "Pyro",
                "fetter": 10,
                "level": 70,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000024,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Beidou.png",
                "name": "北斗",
                "element": "Electro",
                "fetter": 10,
                "level": 70,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000050,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Tohma.png",
                "name": "托马",
                "element": "Pyro",
                "fetter": 3,
                "level": 69,
                "rarity": 4,
                "actived_constellation_num": 0
            },
            {
                "id": 10000015,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Kaeya.png",
                "name": "凯亚",
                "element": "Cryo",
                "fetter": 10,
                "level": 61,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000006,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Lisa.png",
                "name": "丽莎",
                "element": "Electro",
                "fetter": 10,
                "level": 60,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000020,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Razor.png",
                "name": "雷泽",
                "element": "Electro",
                "fetter": 10,
                "level": 50,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000048,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Feiyan.png",
                "name": "烟绯",
                "element": "Pyro",
                "fetter": 10,
                "level": 50,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000062,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Aloy.png",
                "name": "埃洛伊",
                "element": "Cryo",
                "fetter": 9,
                "level": 50,
                "rarity": 105,
                "actived_constellation_num": 0
            },
            {
                "id": 10000027,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Ningguang.png",
                "name": "凝光",
                "element": "Geo",
                "fetter": 10,
                "level": 22,
                "rarity": 4,
                "actived_constellation_num": 6
            },
            {
                "id": 10000044,
                "image": "https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Xinyan.png",
                "name": "辛焱",
                "element": "Pyro",
                "fetter": 10,
                "level": 21,
                "rarity": 4,
                "actived_constellation_num": 6
            }
        ],
        "stats": {
            "active_day_number": 404,
            "achievement_number": 492,
            "win_rate": 0,
            "anemoculus_number": 66,
            "geoculus_number": 131,
            "avatar_number": 42,
            "way_point_number": 136,
            "domain_number": 31,
            "spiral_abyss": "12-3",
            "precious_chest_number": 291,
            "luxurious_chest_number": 114,
            "exquisite_chest_number": 1080,
            "common_chest_number": 1370,
            "electroculus_number": 181,
            "magic_chest_number": 45
        },
        "city_explorations": [],
        "world_explorations": [
            {
                "level": 10,
                "exploration_percentage": 1000,
                "icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_Daoqi.png",
                "name": "稻妻",
                "type": "Reputation",
                "offerings": [
                    {
                        "name": "神樱眷顾",
                        "level": 40
                    }
                ],
                "id": 4
            },
            {
                "level": 12,
                "exploration_percentage": 1000,
                "icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_Dragonspine.png",
                "name": "龙脊雪山",
                "type": "Offering",
                "offerings": [
                    {
                        "name": "忍冬之树",
                        "level": 12
                    }
                ],
                "id": 3
            },
            {
                "level": 8,
                "exploration_percentage": 1000,
                "icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_Liyue.png",
                "name": "璃月",
                "type": "Reputation",
                "offerings": [],
                "id": 2
            },
            {
                "level": 8,
                "exploration_percentage": 1000,
                "icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_Mengde.png",
                "name": "蒙德",
                "type": "Reputation",
                "offerings": [],
                "id": 1
            }
        ],
        "homes": [
            {
                "level": 10,
                "visit_num": 64,
                "comfort_num": 21720,
                "item_num": 1325,
                "name": "罗浮洞",
                "icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/home/UI_HomeworldModule_2_Pic.png",
                "comfort_level_name": "贝阙珠宫",
                "comfort_level_icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/home/UI_Homeworld_Comfort_10.png"
            },
            {
                "level": 10,
                "visit_num": 64,
                "comfort_num": 21720,
                "item_num": 1325,
                "name": "翠黛峰",
                "icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/home/UI_HomeworldModule_1_Pic.png",
                "comfort_level_name": "贝阙珠宫",
                "comfort_level_icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/home/UI_Homeworld_Comfort_10.png"
            },
            {
                "level": 10,
                "visit_num": 64,
                "comfort_num": 21720,
                "item_num": 1325,
                "name": "清琼岛",
                "icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/home/UI_HomeworldModule_3_Pic.png",
                "comfort_level_name": "贝阙珠宫",
                "comfort_level_icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/home/UI_Homeworld_Comfort_10.png"
            },
            {
                "level": 10,
                "visit_num": 64,
                "comfort_num": 21720,
                "item_num": 1325,
                "name": "绘绮庭",
                "icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/home/UI_HomeworldModule_4_Pic.png",
                "comfort_level_name": "贝阙珠宫",
                "comfort_level_icon": "https://upload-os-bbs.mihoyo.com/game_record/genshin/home/UI_Homeworld_Comfort_10.png"
            }
        ]
    }
}

实际data格式依选择的样式有所删减

返回格式

{
     "retcode": 0,
     "use_time": 0.2392582893371582,
     "url": "/image/20220323182608-IVoakzp3.jpg"
}

参数说明

1.url:图片路径,拼接接口域名即可

2.retcode:

retcode备注
0成功生成角色信息图片
1传入data错误
2生成图片时发生错误
3传入style样式名称错误
4图片(文件)路径错误


Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

原神基础信息 API 使用说明

本接口数据目前仍在更新,最后一个支持版本为原神2.6版本的数据,请使用新版接口

刚才无意间发现还有人在用,已经把3.1版本的数据更新上了,可以的话还是换v4版本更稳定

原神基础信息 API -v4使用说明

可以在本 API 中搜索游戏角色&武器的基础信息,语言为简体中文

接口同时支持Post和Get请求,请求地址:https://genshin.minigg.cn/

角色相关信息参数

参数名必须参数值默认值备注
characters✔️需要查询的名字所需查询的角色名字
talents任意值如果包含该参数,显示所查询的角色的天赋信息
constellations任意值如果包含该参数,显示所查询的角色的命之座信息

武器相关信息参数

参数名必须参数值默认值备注
weapons✔️需要查询的名字所需查询的武器名字


Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1080

Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /www/wwwroot/blog.minigg.cn/usr/plugins/Mirages/Plugin.php on line 1416

原神基础信息 API 使用说明

本接口已废弃,数据最后更新时间为2021年5月19日,推荐使用新版接口

原神基础信息 API -v4使用说明

可以在本 API 中搜索游戏角色&武器的基础信息,语言为简体中文

接口同时支持Post和Get请求,请求地址:https://genshin.minigg.cn/

参数

参数名必须参数值默认值备注
data✔️需要查询的角色或武器名字

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 23

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/blog.minigg.cn/var/Typecho/Db/Adapter/QueryTrait.php on line 24