非洲国家杯足球数据 API
通过一套快速、稳定、对开发者友好的 REST 与 WebSocket API,接入非洲国家杯的实时比分、赛程、积分榜、阵容与赔率。19 家俱乐部、1 个赛季历史,统一的 JSON 结构。
无需信用卡
同一套数据结构支撑非洲国家杯及全球 1,000+ 项赛事。
获取非洲国家杯的完整数据
非洲国家杯的每一场比赛、每一张积分榜、每一笔转会都通过同一套整洁的 JSON 输出——无需爬虫、无需解析 HTML、无需手动更新。选一个端点,发一次请求,即可获得能直接用于产品的结构化数据。
GET
https://data.anysport.io/v1/soccer/livescore?match_id=as_0059673e806d4a0788a0d38a6a72f500&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/livescore',
headers={'apikey': 'YOUR_API_KEY'},
params={'match_id': 'as_0059673e806d4a0788a0d38a6a72f500', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"match_id": "as_0059673e806d4a0788a0d38a6a72f500",
"home": "ABC",
"away": "Luverdense",
"league": "Brazil Serie D",
"minute": 90,
"phase": "finished",
"phase_label": "Finished",
"home_score": 4,
"away_score": 1,
"ht_score": "2-1",
"reg_score": "4-1",
"updated_at": "2026-07-26T21:57:59Z"
}
],
"meta": {
"total": 1
}
}GET
https://data.anysport.io/v1/soccer/matches?league_id=asl_a1fcc77e6ec04c16ad1a7ef69f5bade1&season=2025&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/matches',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_a1fcc77e6ec04c16ad1a7ef69f5bade1', 'season': '2025', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"match_id": "as_afa8b0c6546646e88f1a50a3ee76703a",
"date": "2025-08-30",
"time": "15:00",
"status": "FT",
"league": "CAF African Nations Championship",
"league_id": "asl_a1fcc77e6ec04c16ad1a7ef69f5bade1",
"season": "2025",
"home": {
"name": "Madagascar",
"team_id": "ast_b832f2f45de14411a6ebd9791d3f1c6e"
},
"away": {
"name": "Morocco",
"team_id": "ast_7aa5826cd72f4232ba048a554fb9c07c"
},
"ht_score": "1-2",
"reg_score": "2-3",
"venue": "Moi International Sports Centre (Nairobi)"
},
{
"match_id": "as_36cc93f5c95944ebb9c716664859c5d6",
"date": "2025-08-29",
"time": "15:00",
"status": "Pen.",
"league": "CAF African Nations Championship",
"league_id": "asl_a1fcc77e6ec04c16ad1a7ef69f5bade1",
"season": "2025",
"home": {
"name": "Sudan",
"team_id": "ast_b5089f5517344f67b6b6c18f903c10ae"
},
"away": {
"name": "Senegal",
"team_id": "ast_e497fc94956c4614be1d9e9212eb1157"
},
"ht_score": "1-0",
"reg_score": "1-1",
"venue": "Mandela National Stadium (Kampala)"
},
{
"match_id": "as_46ae3f0ed4dd4448a7133c6e8b8e0fc9",
"date": "2025-08-26",
"time": "14:30",
"status": "AET",
"league": "CAF African Nations Championship",
"league_id": "asl_a1fcc77e6ec04c16ad1a7ef69f5bade1",
"season": "2025",
"home": {
"name": "Madagascar",
"team_id": "ast_b832f2f45de14411a6ebd9791d3f1c6e"
},
"away": {
"name": "Sudan",
"team_id": "ast_b5089f5517344f67b6b6c18f903c10ae"
},
"ht_score": "0-0",
"reg_score": "1-0",
"venue": "Benjamin Mkapa National Stadium (Dar-es-Salaam)"
}
],
"meta": {
"total": 10
}
}GET
https://data.anysport.io/v1/soccer/standings?league_id=asl_a1fcc77e6ec04c16ad1a7ef69f5bade1&season=2025&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/standings',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_a1fcc77e6ec04c16ad1a7ef69f5bade1', 'season': '2025', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"position": 1,
"team_id": "ast_44cc821bdad3431f98f264f25a973f38",
"team": "Kenya",
"played": 4,
"wins": 3,
"draws": 1,
"losses": 0,
"goals_for": 4,
"goals_against": 1,
"goal_difference": 3,
"points": 10,
"form": "WWDW"
},
{
"position": 1,
"team_id": "ast_cdcc4f01fe634ae789542aac93e06437",
"team": "Tanzania",
"played": 4,
"wins": 3,
"draws": 1,
"losses": 0,
"goals_for": 5,
"goals_against": 1,
"goal_difference": 4,
"points": 10,
"form": "DWWW"
},
{
"position": 1,
"team_id": "ast_fa62bc90a57c4a77a93c91a2e3e955af",
"team": "Uganda",
"played": 4,
"wins": 2,
"draws": 1,
"losses": 1,
"goals_for": 8,
"goals_against": 6,
"goal_difference": 2,
"points": 7,
"form": "DWWL"
}
],
"meta": {
"total": 19
}
}GET
https://data.anysport.io/v1/soccer/topscorers?league_id=asl_30c1e028124f46529e230d780bbe0e9e&season=2025-2026&kind=goals&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/topscorers',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_30c1e028124f46529e230d780bbe0e9e', 'season': '2025-2026', 'kind': 'goals', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"rank": 1,
"player_id": "asp_0fc5b0bbf9de418abd1ea1459081e326",
"player_name": "Harry Kane",
"team_id": "ast_dd1f5dc0480040f89a8992e6659671c3",
"team_name": "Bayern Munich",
"value": 36
},
{
"rank": 2,
"player_id": "asp_251cc25a651c4aabad97ab9d83776c92",
"player_name": "Deniz Undav",
"team_id": "ast_15c6fce8ebc446a0acb0013afecc9bc2",
"team_name": "Stuttgart",
"value": 19
},
{
"rank": 3,
"player_id": "asp_aa4271c8822a498a863e5c8fa42d7f04",
"player_name": "Serhou Guirassy",
"team_id": "ast_c4a3b3c90a89431ca93d828e19f20284",
"team_name": "Dortmund",
"value": 19
}
],
"meta": {
"total": 3
}
}GET
https://data.anysport.io/v1/soccer/teams?league_id=asl_a1fcc77e6ec04c16ad1a7ef69f5bade1&season=2025&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/teams',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_a1fcc77e6ec04c16ad1a7ef69f5bade1', 'season': '2025', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"team_id": "ast_f6090c8ded1f42e58226eedf59813890",
"name": "Algeria",
"country": "intl",
"venue": "Stade Mohamed-Hamlaoui"
},
{
"team_id": "ast_0945f9c0e71f4f6abdde1819a9320aed",
"name": "Angola",
"country": "intl",
"venue": "Estádio 11 de Novembro"
},
{
"team_id": "ast_4ef5eb520fac45d0b2ae7eefd75fd356",
"name": "Burkina Faso",
"country": "intl",
"venue": "Gombani Stadium"
}
],
"meta": {
"total": 19
}
}GET
https://data.anysport.io/v1/soccer/odds/live?lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/odds/live',
headers={'apikey': 'YOUR_API_KEY'},
params={'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"match_id": "as_0059673e806d4a0788a0d38a6a72f500",
"home": "ABC",
"away": "Luverdense",
"league": "Brazil Serie D",
"bookmaker": "bet365",
"phase": "live",
"main_market": "fulltime_result",
"main_market_label": "Fulltime Result",
"home_odd": 1.008,
"draw_odd": 26,
"away_odd": 51,
"markets": [
{
"market_code": "home_4th_goal_in_interval",
"market_code_label": "Home 4th Goal in Interval",
"handicap": 80,
"options": [
{
"name": "Yes",
"name_label": "Yes",
"odd": 9
},
{
"name": "No",
"name_label": "No",
"odd": 1.04
}
]
},
{
"market_code": "last_corner",
"market_code_label": "Last Corner",
"options": [
{
"name": "1",
"name_label": "1",
"odd": 1.8
},
{
"name": "2",
"name_label": "2",
"odd": 1.909
}
]
},
{
"market_code": "how_many_goals_will_away_team_score",
"market_code_label": "How many goals will Away Team score?",
"options": [
{
"name": "No goal",
"name_label": "No goal",
"odd": 1.571
},
{
"name": "1",
"name_label": "1",
"odd": 1.142
},
{
"name": "2",
"name_label": "2",
"odd": 5.5
},
{
"name": "3 or more",
"name_label": "3 or more",
"odd": 17
}
]
},
{
"market_code": "asian_handicap",
"market_code_label": "Asian Handicap",
"handicap": -2.25,
"options": [
{
"name": "1",
"name_label": "1",
"odd": 2.5
},
{
"name": "2",
"name_label": "2",
"odd": 1.5
}
]
}
],
"updated_at": "2026-07-26T21:41:43Z"
}
],
"meta": {
"total": 1
}
}GET
https://data.anysport.io/v1/soccer/players?team_id=ast_44cc821bdad3431f98f264f25a973f38&league_id=asl_a1fcc77e6ec04c16ad1a7ef69f5bade1&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/players',
headers={'apikey': 'YOUR_API_KEY'},
params={'team_id': 'ast_44cc821bdad3431f98f264f25a973f38', 'league_id': 'asl_a1fcc77e6ec04c16ad1a7ef69f5bade1', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"player_id": "asp_217e9d4cf21f41cf92c3be6dead7cb05",
"name": "Aboud Omar",
"position": "D",
"number": "3",
"age": "33",
"team_id": "ast_44cc821bdad3431f98f264f25a973f38",
"team_name": "Kenya",
"season_stats": {
"league_id": "asl_a1fcc77e6ec04c16ad1a7ef69f5bade1"
}
},
{
"player_id": "asp_8bc2430500a241cc857c63222a5a8403",
"name": "Alpha Onyango",
"position": "M",
"number": "6",
"age": "25",
"team_id": "ast_44cc821bdad3431f98f264f25a973f38",
"team_name": "Kenya",
"season_stats": {
"league_id": "asl_a1fcc77e6ec04c16ad1a7ef69f5bade1"
}
},
{
"player_id": "asp_687a361d0ddd4a738bae52f2d04849b5",
"name": "Amos Nondi",
"position": "M",
"number": "20",
"age": "27",
"team_id": "ast_44cc821bdad3431f98f264f25a973f38",
"team_name": "Kenya",
"season_stats": {
"league_id": "asl_a1fcc77e6ec04c16ad1a7ef69f5bade1"
}
}
],
"meta": {
"total": 18
}
}GET
https://data.anysport.io/v1/soccer/odds/prematch?lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/odds/prematch',
headers={'apikey': 'YOUR_API_KEY'},
params={'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"match_id": "as_d21c97e73a5e45c7b87cb82e28c9f986",
"home": "Hafnarfjordur",
"away": "KR Reykjavik",
"league": "Iceland: Besta Deild Karla",
"bookmaker": "bet365",
"phase": "prematch",
"main_market": "match_winner",
"main_market_label": "Match Winner",
"home_odd": 3.9,
"draw_odd": 4.5,
"away_odd": 1.57,
"markets": [
{
"market_code": "match_winner",
"market_code_label": "Match Winner",
"options": [
{
"name": "Home",
"name_label": "Home",
"odd": 3.9
},
{
"name": "Draw",
"name_label": "Draw",
"odd": 4.5
},
{
"name": "Away",
"name_label": "Away",
"odd": 1.57
}
]
},
{
"market_code": "home_away",
"market_code_label": "Home/Away",
"options": [
{
"name": "Home",
"name_label": "Home",
"odd": 3.4
},
{
"name": "Away",
"name_label": "Away",
"odd": 1.3
}
]
},
{
"market_code": "2nd_half_winner",
"market_code_label": "2nd Half Winner",
"options": [
{
"name": "Home",
"name_label": "Home",
"odd": 3.6
},
{
"name": "Draw",
"name_label": "Draw",
"odd": 3.4
},
{
"name": "Away",
"name_label": "Away",
"odd": 1.83
}
]
},
{
"market_code": "asian_handicap",
"market_code_label": "Asian Handicap",
"options": [
{
"name": "Home -1",
"name_label": "Home -1",
"odd": 7
},
{
"name": "Away +1",
"name_label": "Away +1",
"odd": 1.1
},
{
"name": "Home -0.75",
"name_label": "Home -0.75",
"odd": 5
},
{
"name": "Away +0.75",
"name_label": "Away +0.75",
"odd": 1.17
},
{
"name": "Home -0.5",
"name_label": "Home -0.5",
"odd": 4
},
{
"name": "Away +0.5",
"name_label": "Away +0.5",
"odd": 1.23
},
{
"name": "Home -0.25",
"name_label": "Home -0.25",
"odd": 3.7
},
{
"name": "Away +0.25",
"name_label": "Away +0.25",
"odd": 1.26
},
{
"name": "Home +0",
"name_label": "Home +0",
"odd": 3.45
},
{
"name": "Away 0",
"name_label": "Away 0",
"odd": 1.3
},
{
"name": "Home +0.25",
"name_label": "Home +0.25",
"odd": 2.68
},
{
"name": "Away -0.25",
"name_label": "Away -0.25",
"odd": 1.45
},
{
"name": "Home +0.5",
"name_label": "Home +0.5",
"odd": 2.3
},
{
"name": "Away -0.5",
"name_label": "Away -0.5",
"odd": 1.6
},
{
"name": "Home +0.75",
"name_label": "Home +0.75",
"odd": 2.08
},
{
"name": "Away -0.75",
"name_label": "Away -0.75",
"odd": 1.72
},
{
"name": "Home +1",
"name_label": "Home +1",
"odd": 1.9
},
{
"name": "Away -1",
"name_label": "Away -1",
"odd": 1.9
},
{
"name": "Home +2",
"name_label": "Home +2",
"odd": 1.35
},
{
"name": "Away -2",
"name_label": "Away -2",
"odd": 3.1
},
{
"name": "Home +3",
"name_label": "Home +3",
"odd": 1.12
},
{
"name": "Away -3",
"name_label": "Away -3",
"odd": 6
},
{
"name": "Home +1.25",
"name_label": "Home +1.25",
"odd": 1.72
},
{
"name": "Away -1.25",
"name_label": "Away -1.25",
"odd": 2.08
},
{
"name": "Home +1.5",
"name_label": "Home +1.5",
"odd": 1.6
},
{
"name": "Away -1.5",
"name_label": "Away -1.5",
"odd": 2.3
},
{
"name": "Home +1.75",
"name_label": "Home +1.75",
"odd": 1.48
},
{
"name": "Away -1.75",
"name_label": "Away -1.75",
"odd": 2.6
},
{
"name": "Home +2.25",
"name_label": "Home +2.25",
"odd": 1.3
},
{
"name": "Away -2.25",
"name_label": "Away -2.25",
"odd": 3.45
},
{
"name": "Home +2.5",
"name_label": "Home +2.5",
"odd": 1.26
},
{
"name": "Away -2.5",
"name_label": "Away -2.5",
"odd": 3.7
},
{
"name": "Home +2.75",
"name_label": "Home +2.75",
"odd": 1.19
},
{
"name": "Away -2.75",
"name_label": "Away -2.75",
"odd": 4.5
}
]
}
],
"updated_at": "2026-07-28T14:20:04Z"
}
],
"meta": {
"total": 1
}
}一次请求,获取完整的非洲国家杯积分榜
这不是截图。下面的积分榜由一次 GET /standings 请求实时返回——正是你的应用收到的响应。名次、近况、净胜球自动更新,你无需碰任何表格。
| 排名 | 球队 | 场次 | 胜/平/负 | 进球 / 失球 | 净胜球 | 近况 |
|---|---|---|---|---|---|---|
| 1 | 肯尼亚 | 4 | 3/1/0 | 4/1 | 3 | WWDW |
| 1 | 坦桑尼亚 | 4 | 3/1/0 | 5/1 | 4 | DWWW |
| 1 | 乌干达 | 4 | 2/1/1 | 8/6 | 2 | DWWL |
| 1 | 苏丹 | 3 | 1/2/0 | 5/1 | 4 | DWD |
| 2 | 摩洛哥 | 4 | 3/0/1 | 8/3 | 5 | WWLW |
| 2 | 马达加斯加 | 4 | 2/1/1 | 5/3 | 2 | WWLD |
| 2 | 阿尔及利亚 | 4 | 1/3/0 | 5/2 | 3 | DDDW |
| 2 | 塞内加尔 | 3 | 1/2/0 | 2/1 | 1 | DDW |
| 3 | 刚果民主共和国 | 4 | 2/0/2 | 5/4 | 1 | LWWL |
| 3 | 毛里塔尼亚 | 4 | 2/1/1 | 2/1 | 1 | WWLD |
| 3 | 南非 | 4 | 1/3/0 | 6/5 | 1 | DDWD |
| 3 | 尼日利亚 | 3 | 1/0/2 | 2/5 | -3 | WLL |
| 4 | 安哥拉 | 4 | 1/1/2 | 3/6 | -3 | LWDL |
| 4 | 布基纳法索 | 4 | 1/0/3 | 5/7 | -2 | LLWL |
| 4 | 几内亚 | 4 | 1/1/2 | 3/6 | -3 | DLLW |
| 4 | 刚果 | 3 | 0/2/1 | 2/4 | -2 | LDD |
| 5 | 赞比亚 | 4 | 0/0/4 | 2/8 | -6 | LLLL |
| 5 | 中非共和国 | 4 | 0/1/3 | 2/7 | -5 | DLLL |
| 5 | 尼日尔 | 4 | 0/2/2 | 0/3 | -3 | DDLL |
数据来自 AnySport 联赛积分榜端点。更新日期:2026/10/18
非洲国家杯 2025 赛季数据一览
下面每个数字都由 API 返回的原始比赛数据计算得出,而非人工录入。你可以基于同样的数据搭建看板、模型或编辑组件。
44已完成比赛
90总进球
2.05场均进球
16主胜
15平局
13客胜
36.4%主胜率
4最大分差
6单场最多进球
肯尼亚领头羊
最近更新:2026/10/18
1 个赛季的非洲国家杯历史,随时可查
数据回溯至 2025 赛季——历年冠军与不同夺冠球队、每一张最终积分榜都按赛季归档、可随时调用。一次回填历史,之后用同样的端点保持更新。这种深度正是数据提供商与比分板的区别。
| 赛季 | 球队 | 积分 | 战绩(场/胜/平/负) | 进球数据(进/失/净) |
|---|---|---|---|---|
| 2025 | 肯尼亚 | 10 | 4/3/1/0 | 4/1/3 |
常见问题
你们的 API 覆盖多少非洲国家杯球队和球员?
我们的非洲国家杯 API 覆盖 19 支球队,含完整阵容与球员资料,均可通过 /teams 与 /players 端点获取。
你们提供多少历史数据?
1 个赛季的积分榜,回溯至 2025,每一张最终积分榜、冠军与赛季均已归档、可按赛季查询。
你们的 API 提供哪些实时足球数据?
实时比分、滚球赔率与比赛事件通过 REST 与 WebSocket 推送,可用同一套结构驱动实时组件与滚球产品。
免费试用是否包含非洲国家杯的比赛数据?
包含。免费试用可访问非洲国家杯的赛程、赛果、积分榜与球员数据,无需信用卡。