- 快速开始
- API指南
- API文档
- 体育比分
- 基础数据
- 实时数据
- 指数数据
- 统计数据
- 高阶数据
- 历史数据
- 比赛对应接口
- 长链接推送
- 基础数据
- 电竞比分
- 体彩数据
- 媒体数据
- 动画直播
- 常见问题
- 更新日志
足球
正式环境
正式环境
GET
/sport/api/v3/stats/202/team
获取足球队伍各项统计数据,自定义参数查询(不同项目的路径不同)
该接口返回所请求参数的队伍统计数据
频率建议:1天/次
请求参数
Query 参数
year
integer
赛事年份
示例值:
2024
team_id
integer
球队ID
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/team?year=2024&team_id=' \
--header 'app_id;' \
--header 'app_secret;'
返回响应
🟢200成功
application/json
Body
code
integer
错误码
data
object
必需
list
array [object {2}]
必需
total
integer
总条数
msg
string
接口响应信息
示例
{
"code": 0,
"data": {
"list": [
{
"stats_items": [
{
"year": "2024",
"team_stats": [
{
"series_id": 10880,
"matches": 3,
"goals": 6,
"Conceded": 0,
"assist": 1,
"goals_avg": 9,
"freekicks": 0,
"freekick_goal": 40,
"freekick_goal_avg": 40,
"goals_inside_box": 14,
"goals_outside_box": 51,
"lf_goals": 21,
"rf_goals": 82,
"Headed_goals": 10,
"chances_create": 42,
"chances_missed ": 1621,
"shots_avg": 1427,
"shots_on_target_avg": 0,
"shots_off_target_avg": 177,
"interceptions_avg": 92,
"dribble_avg": 289,
"Corners_avg": 139,
"hit_woodwork": 37,
"fastbreaks": 40,
"ball_possession": 3,
"passes": 191,
"passes_rate": 0.78,
"passes_home_half": 163,
"passes_home_half_rate": 0.88,
"passes_away_half": "132",
"passes_away_half_rate": 0.88,
"long_balls": 3,
"long_balls_accuracy": 0,
"crosses_accuracy": 0,
"crosses_rate": 0,
"conceded_avg": 0,
"tackles_avg": 0,
"interceptions_rate": 0,
"clearances_rate": 0,
"Saves_rate": 0,
"recovered_rate": 0,
"Errors_to_shot": 0,
"Errors_to_goal": 0,
"penalty_committed": 0,
"penalty_committed_goal": 0,
"Clearance off line": 1,
"Last man tackle": 0,
"duels_won": 1,
"duels_won_rate": 1,
"Aerial duels won": 1,
"Aerial duels won_rate": 1,
"goals_against": 1,
"offsides_avg": 1,
"fouls_acg": 1,
"yellow_cards": 1,
"red_cards": 1
},
{
"series_id": 10510,
"matches": 3,
"goals": 6,
"Conceded": 0,
"assist": 1,
"goals_avg": 9,
"freekicks": 0,
"freekick_goal": 40,
"freekick_goal_avg": 40,
"goals_inside_box": 14,
"goals_outside_box": 51,
"lf_goals": 21,
"rf_goals": 82,
"Headed_goals": 10,
"chances_create": 42,
"chances_missed ": 1621,
"shots_avg": 1427,
"shots_on_target_avg": 0,
"shots_off_target_avg": 177,
"interceptions_avg": 92,
"dribble_avg": 289,
"Corners_avg": 139,
"hit_woodwork": 37,
"fastbreaks": 40,
"ball_possession": 3,
"passes": 191,
"passes_rate": 0.78,
"passes_home_half": 163,
"passes_home_half_rate": 0.88,
"passes_away_half": "132",
"passes_away_half_rate": 0.88,
"long_balls": 3,
"long_balls_accuracy": 0,
"crosses_accuracy": 0,
"crosses_rate": 0,
"conceded_avg": 0,
"tackles_avg": 0,
"interceptions_rate": 0,
"clearances_rate": 0,
"Saves_rate": 0,
"recovered_rate": 0,
"Errors_to_shot": 0,
"Errors_to_goal": 0,
"penalty_committed": 0,
"penalty_committed_goal": 0,
"Clearance off line": 1,
"Last man tackle": 0,
"duels_won": 1,
"duels_won_rate": 1,
"Aerial duels won": 1,
"Aerial duels won_rate": 1,
"goals_against": 1,
"offsides_avg": 1,
"fouls_acg": 1,
"yellow_cards": 1,
"red_cards": 1
}
],
"matches": [
2596885,
2605483,
2596226,
2740486,
2738517,
2735637,
2745798
]
},
{
"year": "2023",
"team_stats": {
"series_id": 94870,
"matches": 3,
"goals": 6,
"Conceded": 0,
"assist": 1,
"goals_avg": 9,
"freekicks": 0,
"freekick_goal": 40,
"freekick_goal_avg": 40,
"goals_inside_box": 14,
"goals_outside_box": 51,
"lf_goals": 21,
"rf_goals": 82,
"Headed goals": 10,
"chances create": 42,
"chances missed ": 1621,
"shots_avg": 1427,
"shots_on_target_avg": 0,
"shots_off_target_avg": 177,
"interceptions_avg": 92,
"dribble_avg": 289,
"Corners_avg": 139,
"hit_woodwork": 37,
"fastbreaks": 40,
"ball_possession": 3,
"passes": 191,
"passes_rate": 0.78,
"passes_home_half": 163,
"passes_home_half_rate": 0.88,
"passes_away_half": "132",
"passes_away_half_rate": 0.88,
"long_balls": 3,
"long_balls_accuracy": 0,
"crosses_accuracy": 0,
"crosses_rate": 0,
"conceded_avg": 0,
"tackles_avg": 0,
"interceptions_rate": 0,
"clearances_rate": 0,
"Saves_rate": 0,
"recovered_rate": 0,
"Errors_to_shot": 0,
"Errors_to_goal": 0,
"penalty_committed": 0,
"penalty_committed_goal": 0,
"Clearance off line": 1,
"Last man tackle": 0,
"duels_won": 1,
"duels_won_rate": 1,
"Aerial duels won": 1,
"Aerial duels won_rate": 1,
"goals_against": 1,
"offsides_avg": 1,
"fouls_acg": 1,
"yellow_cards": 1,
"red_cards": 1
},
"matches": [
2703379,
2703402,
2703420,
2703415,
2703392,
2703424,
2703417
]
}
],
"update_time": 1728958472
}
],
"total": 1
},
"msg": "success"
}
修改于 2025-04-23 04:06:11