- 快速开始
- API指南
- API文档
- 体育比分
- 基础数据
- 实时数据
- 指数数据
- 统计数据
- 高阶数据
- 历史数据
- 比赛对应接口
- 长链接推送
- 基础数据
- 电竞比分
- 体彩数据
- 媒体数据
- 动画直播
- 常见问题
- 更新日志
足球
正式环境
正式环境
GET
/sport/api/v3/stats/202/h2h
获取足球单场比赛的前瞻分析数据-自定义参数查询(不同项目的路径不同)
该接口返回所请求参数的单场前瞻分析数据
频率建议:1天/次
请求参数
Query 参数
match_id
integer
必需
示例值:
3088004
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/sport/api/v3/stats/202/h2h?match_id=3088004' \
--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": 3091184,
"start_time": 1741426577,
"league_id": 2364,
"series_id": 22021,
"teams": [
{
"team_id": 64226,
"side": 1,
"position": 1
},
{
"team_id": 23986,
"side": 2,
"position": 2
}
],
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
},
"history_h2h": {
"fight_matches": [
{
"match_id": 3091184,
"start_time": 1741426577,
"league_id": 2021,
"series_id": 2364,
"win_team": 1235,
"wdl": "d",
"handicap_count": "-0.25",
"handicap_result": 1,
"goal_count": "2.00",
"goal_result": 3,
"corner_count": 5,
"corner_score": "2-3",
"teams": [
{
"team_id": 64226,
"side": 1,
"stats": [
2,
1,
0,
2,
3,
4,
5
]
},
{
"team_id": 23986,
"side": 2,
"stats": [
2,
1,
0,
2,
3,
4,
5
]
}
],
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
}
],
"recent_matches": [
{
"team_id": 942,
"side": 1,
"matches": [
{
"match_id": 3121131,
"start_time": 1741426577,
"league_id": 2021,
"series_id": 2364,
"win_team": 942,
"wdl": "d",
"handicap_count": "-0.25",
"handicap_result": 1,
"goal_count": "2.00",
"goal_result": 3,
"corner_count": 5,
"corner_score": "2-3",
"teams": [
{
"team_id": 942,
"side": 1,
"stats": [
2,
1,
0,
2,
3,
4,
5
],
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
},
{
"team_id": 3291,
"side": 2,
"stats": [
2,
1,
0,
2,
3,
4,
5
],
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
}
]
}
]
},
{
"team_id": 30602,
"side": 2,
"matches": [
{
"match_id": 3122946,
"start_time": 1741426577,
"league_id": 2021,
"series_id": 2364,
"win_team": 30602,
"wdl": "d",
"handicap_count": "-0.25",
"handicap_result": 1,
"goal_count": "2.00",
"goal_result": 3,
"corner_count": 5,
"corner_score": "2-3",
"teams": [
{
"team_id": 30602,
"side": 2,
"stats": [
2,
1,
0,
2,
3,
4,
5
],
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
},
{
"team_id": 1036,
"side": 1,
"stats": [
2,
1,
0,
2,
3,
4,
5
],
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
}
]
}
]
}
]
},
"future_h2h": {
"fight_matches": [
{
"match_id": 3091184,
"start_time": 1741426577,
"league_id": 2021,
"series_id": 2364,
"teams": [
{
"team_id": 64226,
"side": 1
},
{
"team_id": 23986,
"side": 2
}
],
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
}
],
"recent_matches": [
{
"team_id": 942,
"side": 1,
"matches": [
{
"match_id": 3121131,
"start_time": 1741426577,
"league_id": 2021,
"series_id": 2364,
"teams": [
{
"team_id": 942,
"side": 1,
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
},
{
"team_id": 3291,
"side": 2,
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
}
]
}
]
},
{
"team_id": 30602,
"side": 2,
"matches": [
{
"match_id": 3122946,
"start_time": 1741426577,
"league_id": 2021,
"series_id": 2364,
"teams": [
{
"team_id": 30602,
"side": 2,
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
},
{
"team_id": 1036,
"side": 1,
"stage": {
"stage_id": 4520,
"group_num": 0,
"round_num": 26
}
}
]
}
]
}
]
},
"player_analysis": [
{
"team_id": 64226,
"player_stats": [
{
"player_id": 5555,
"name": "player",
"minutes_played": 30.6,
"goals": 0,
"penalty": 2,
"red_cards": 1,
"yellow_cards": 1,
"yellow2red_cards": 3,
"shots": 1,
"shots_on_target": 1,
"dribble": 2,
"dribble_succ": 2,
"clearances": 1,
"blocked_shots": 1,
"tackles": 3,
"passes": 1,
"passes_accuracy": 1,
"long_balls": 2,
"long_balls_accuracy": 2,
"duels": 1,
"duels_won": 1,
"fouled": 2,
"was_fouled": 2,
"saves": 1,
"punches": 1,
"fastbreaks": 1,
"fastbreak_shots": 1,
"fastbreak_goals": 1,
"poss_losts": 1,
"match_win_rate": 1,
"match_win": 1,
"match_lose": 1,
"match_draw": 1,
"home_match_win": 1,
"away_match_win": 1
}
]
},
{
"team_id": 64226,
"player_stats": [
{
"player_id": 5555,
"name": "player",
"minutes_played": 30.6,
"goals": 0,
"penalty": 2,
"red_cards": 1,
"yellow_cards": 1,
"yellow2red_cards": 3,
"shots": 1,
"shots_on_target": 1,
"dribble": 2,
"dribble_succ": 2,
"clearances": 1,
"blocked_shots": 1,
"tackles": 3,
"passes": 1,
"passes_accuracy": 1,
"long_balls": 2,
"long_balls_accuracy": 2,
"duels": 1,
"duels_won": 1,
"fouled": 2,
"was_fouled": 2,
"saves": 1,
"punches": 1,
"fastbreaks": 1,
"fastbreak_shots": 1,
"fastbreak_goals": 1,
"poss_losts": 1,
"match_win_rate": 1,
"match_win": 1,
"match_lose": 1,
"match_draw": 1,
"home_match_win": 1,
"away_match_win": 1
}
]
}
],
"goal_analysis": [
{
"team_id": 64226,
"side": 1,
"all": {
"scored": [
[
1,
2,
3,
4
]
],
"conceded": [
[
1,
2,
3,
4
]
]
},
"home": {
"scored": [
[
1,
2,
3,
4
]
],
"conceded": [
[
1,
2,
3,
4
]
]
},
"away": {
"scored": [
[
1,
2,
3,
4
]
],
"conceded": [
[
1,
2,
3,
4
]
]
}
},
{
"team_id": 23986,
"side": 2,
"all": {
"scored": [
[
1,
2,
3,
4
]
],
"conceded": [
[
1,
2,
3,
4
]
]
},
"home": {
"scored": [
[
1,
2,
3,
4
]
],
"conceded": [
[
1,
2,
3,
4
]
]
},
"away": {
"scored": [
[
1,
2,
3,
4
]
],
"conceded": [
[
1,
2,
3,
4
]
]
}
}
],
"update_time": 1728958472
}
],
"total": 1
},
"msg": "success"
}
修改于 2025-04-11 09:02:36