王者战力查询API
查看各区王者英雄最高战力,查询可能较慢(获取两个区)

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

返回格式: 请看返回示例

请求方式: GET

请求示例: https://api.suyanw.cn/api/king.php?hero=后羿&tips=安卓区

请求参数说明:

名称 必填 说明
hero需要查询的英雄名
tips系统分区(安卓/苹果区)
type返回格式,默认json可选text

系统级错误:

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

返回示例:

{
    "code": 1,
    "message": "Success/成功/已获取安卓区数据",
    "data": {
        "安卓-扣扣区": {
            "uid": "169",
            "name": "后羿",
            "alias": "半神之弓-后羿",
            "photo": "https://game.gtimg.cn/images/yxzj/img201606/heroimg/169/169.jpg",
            "province": "香港",
            "provincePower": "8834",
            "city": "嘉峪关市",
            "cityPower": "5899",
            "area": "旌德县",
            "areaPower": "2713",
            "guobiao": "13170",
            "stamp": "1778708325",
            "updatetime": "2026/05/14 05:38:45"
        },
        "安卓-微信区": {
            "uid": "169",
            "name": "后羿",
            "alias": "半神之弓-后羿",
            "photo": "https://game.gtimg.cn/images/yxzj/img201606/heroimg/169/169.jpg",
            "province": "香港",
            "provincePower": "8143",
            "city": "辽源市",
            "cityPower": "5715",
            "area": "麻山区",
            "areaPower": "2535",
            "guobiao": "12597",
            "stamp": "1778709734",
            "updatetime": "2026/05/14 06:02:14"
        }
    }
}

错误码格式说明:

名称说明

调用示例: