稳定、快速、免费的 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": "7109",
"city": "鄂州市",
"cityPower": "5167",
"area": "通化县",
"areaPower": "2545",
"guobiao": "9223",
"stamp": "1775684284",
"updatetime": "2026/04/09 05:38:04"
},
"安卓-微信区": {
"uid": "169",
"name": "后羿",
"alias": "半神之弓-后羿",
"photo": "https://game.gtimg.cn/images/yxzj/img201606/heroimg/169/169.jpg",
"province": "澳门",
"provincePower": "6253",
"city": "铜陵市",
"cityPower": "4914",
"area": "白玉县",
"areaPower": "2687",
"guobiao": "8876",
"stamp": "1775685585",
"updatetime": "2026/04/09 05:59:45"
}
}
}
错误码格式说明:
| 名称 | 说明 |
|---|---|
| 无 | 无 |
调用示例:
无