- 快速开始
- API指南
- API文档
- 体育比分
- 基础数据
- 实时数据
- 指数数据
- 统计数据
- 高阶数据
- 历史数据
- 比赛对应接口
- 长链接推送
- 电竞比分
- 体彩数据
- 媒体数据
- 动画直播
- 常见问题
- 更新日志
LOL手游
正式环境
正式环境
GET
/esport/api/v3/stats/7/h2h
请求参数
Query 参数
match_id
integer
必需
示例值:
347384
Header 参数
app_id
string
用户ID
默认值:
marz2025
app_secret
string
用户秘钥
默认值:
d9b8eafc3b5a48b7a5f1c6d2e4f8a9e5b3d7c2a1f4e6b8a9d5f1c7e2b9d3a6f4
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.esportsdata.cc/esport/api/v3/stats/7/h2h?match_id=347384' \
--header 'app_id;' \
--header 'app_secret;'
返回响应
🟢200成功
application/json
Body
code
integer
错误码
data
object
必需
list
array [object {6}]
必需
total
integer
总条数
msg
string
接口响应信息
示例
{
"code": 0,
"data": {
"list": [
{
"match_info": {
"match_id": 356794,
"start_time": 1741426577,
"league_id": 12354,
"series_id": 2364,
"teams": [
{
"team_id": 64226,
"side": 1
},
{
"team_id": 23986,
"side": 2
}
],
"stage": {
"stage_id": 4520,
"mode": 1
}
},
"history_2h2": {
"fight_matches": [
{
"match_id": 356794,
"win_team": 64226,
"start_time": 1741426577,
"league_id": 12354,
"series_id": 2364,
"stage": {
"stage_id": 4520,
"mode": 1
},
"race": [
{
"race_id": 123,
"time": 2010,
"teams": [
{
"team_id": 64226,
"win": 1,
"score": 11,
"side": 1,
"stats": [
0,
1,
0,
0,
1,
0
]
},
{
"team_id": 23986,
"side": 2,
"win": 0,
"score": 11,
"stats": [
1,
0,
0,
0,
1,
0
]
}
]
},
{
"race_id": 456,
"time": 2010,
"teams": [
{
"team_id": 64226,
"side": 1,
"win": 1,
"score": 11,
"stats": [
1,
1,
0,
0,
1,
0
]
},
{
"team_id": 23986,
"side": 2,
"win": 0,
"score": 11,
"stats": [
1,
1,
0,
0,
0,
1
]
}
]
}
]
}
],
"recent_matches": [
{
"team_id": 23986,
"side": 1,
"matches": [
{
"match_id": 356794,
"win_team": 64226,
"start_time": 1741426577,
"league_id": 12354,
"series_id": 2364,
"stage": {
"stage_id": 4520,
"mode": 1
},
"race": [
{
"race_id": 123,
"time": 2010,
"teams": [
{
"team_id": 64226,
"side": 1,
"win": 1,
"score": 11,
"stats": [
0,
1,
0,
0,
1,
0
]
},
{
"team_id": 23986,
"side": 2,
"win": 0,
"score": 11,
"stats": [
1,
0,
0,
0,
1,
0
]
}
]
},
{
"race_id": 456,
"time": 2010,
"teams": [
{
"team_id": 64226,
"side": 1,
"win": 1,
"score": 11,
"stats": [
1,
1,
0,
0,
1,
0
]
},
{
"team_id": 23986,
"side": 2,
"win": 0,
"score": 11,
"stats": [
1,
1,
0,
0,
0,
1
]
}
]
}
]
}
]
}
]
},
"future_2h2": {
"fight_matches": [
{
"match_id": 356874,
"start_time": 1741426577,
"league_id": 12354,
"series_id": 2364,
"stage": {
"stage_id": 4520,
"mode": 1
}
}
],
"recent_matches": [
{
"team_id": 23986,
"side": 1,
"matches": [
{
"match_id": 356794,
"start_time": 1741426577,
"league_id": 12354,
"series_id": 2364,
"stage": {
"stage_id": 4520,
"mode": 1
}
}
]
}
]
},
"player_analysis": [
{
"team_id": 64226,
"player_stats": {
"adc": {
"player_id": 1111,
"kill_avg": 4.27,
"death_avg": 2.13,
"assist_avg": 8.68,
"kda_avg": 7.823485,
"kill_participation_avg": 0.43,
"gold_per_min": 416.79,
"damage_per_min": 548.17,
"damage_taken_per_min": 489.61,
"cs_per_min": 7.79,
"gold_avg": 13173.12,
"damage_avg": 161218.31,
"damage_taken_avg": 14704.51,
"cs_avg": 250.81,
"roles": [
{
"role_id": 106869,
"num": 5,
"win_rate": 0.6
}
]
},
"jun": {
"player_id": 2222,
"kill_avg": 4.27,
"death_avg": 2.13,
"assist_avg": 8.68,
"kda_avg": 7.823485,
"kill_participation_avg": 0.43,
"gold_per_min": 416.79,
"damage_per_min": 548.17,
"damage_taken_per_min": 489.61,
"cs_per_min": 7.79,
"gold_avg": 13173.12,
"damage_avg": 161218.31,
"damage_taken_avg": 14704.51,
"jungle_per_min": 6.51,
"resource_control_avg": 6.51,
"roles": [
{
"role_id": 106869,
"num": 5,
"win_rate": 0.6
}
]
},
"mid": {
"player_id": 3333,
"kill_avg": 4.27,
"death_avg": 2.13,
"assist_avg": 8.68,
"kda_avg": 7.823485,
"kill_participation_avg": 0.43,
"gold_per_min": 416.79,
"damage_per_min": 548.17,
"damage_taken_per_min": 489.61,
"cs_per_min": 7.79,
"gold_avg": 13173.12,
"damage_avg": 161218.31,
"damage_taken_avg": 14704.51,
"roles": [
{
"role_id": 106869,
"num": 5,
"win_rate": 0.6
}
]
},
"top": {
"player_id": 4444,
"kill_avg": 4.27,
"death_avg": 2.13,
"assist_avg": 8.68,
"kda_avg": 7.823485,
"kill_participation_avg": 0.43,
"gold_per_min": 416.79,
"damage_per_min": 548.17,
"damage_taken_per_min": 489.61,
"cs_per_min": 7.79,
"gold_avg": 13173.12,
"damage_avg": 161218.31,
"damage_taken_avg": 14704.51,
"cs_avg": 250.81,
"roles": [
{
"role_id": 106869,
"num": 5,
"win_rate": 0.6
}
]
},
"sup": {
"player_id": 5555,
"kill_avg": 4.27,
"death_avg": 2.13,
"assist_avg": 8.68,
"kda_avg": 7.823485,
"kill_participation_avg": 0.43,
"gold_per_min": 416.79,
"damage_per_min": 548.17,
"damage_taken_per_min": 489.61,
"gold_avg": 13173.12,
"damage_avg": 161218.31,
"damage_taken_avg": 14704.51,
"wards_placed_per_min": 24.51,
"Wards_remove_per_min ": 14.53,
"roles": [
{
"role_id": 106869,
"num": 5,
"win_rate": 0.6
}
]
}
}
}
],
"bp_analysis": [
{
"team_id": 23986,
"bans": [
{
"role_id": 1068,
"rate": 0.6
}
],
"pick": [
{
"role_id": 1068,
"rate": 0.6
}
]
},
{
"team_id": 64226,
"bans": [
{
"role_id": 1068,
"rate": 0.6
}
],
"pick": [
{
"role_id": 1068,
"rate": 0.6
}
]
}
],
"update_time": 1728958472
}
],
"total": 1
},
"msg": "success"
}
修改于 2025-04-24 09:35:35