国际非洲国家杯足球数据 API
通过一套快速、稳定、对开发者友好的 REST 与 WebSocket API,接入国际非洲国家杯的实时比分、赛程、积分榜、阵容与赔率。34 家俱乐部、4 个赛季历史,统一的 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_0a58491e01c44391beb554ce34ff88cd&season=2025&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/matches',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_0a58491e01c44391beb554ce34ff88cd', 'season': '2025', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"match_id": "as_435c96551108499a870a88368a4ea814",
"date": "2026-01-18",
"time": "19:00",
"status": "AET",
"league": "Cup Of Nations",
"league_id": "asl_0a58491e01c44391beb554ce34ff88cd",
"season": "2025",
"home": {
"name": "Senegal",
"team_id": "ast_e497fc94956c4614be1d9e9212eb1157"
},
"away": {
"name": "Morocco",
"team_id": "ast_7aa5826cd72f4232ba048a554fb9c07c"
},
"ht_score": "0-0",
"reg_score": "1-0",
"venue": "Stade Prince Moulay Abdallah"
},
{
"match_id": "as_a40ee6fda19844be92efe9dca72a7830",
"date": "2026-01-17",
"time": "16:00",
"status": "Pen.",
"league": "Cup Of Nations",
"league_id": "asl_0a58491e01c44391beb554ce34ff88cd",
"season": "2025",
"home": {
"name": "Egypt",
"team_id": "ast_8ea97ccb7bba4b939453faaa48086e95"
},
"away": {
"name": "Nigeria",
"team_id": "ast_1fba411e0cf24b0986f267850e405afe"
},
"ht_score": "0-0",
"reg_score": "0-1",
"venue": "Stade Mohamed V"
},
{
"match_id": "as_517eaa8fc12244cf99cefdf3f67ec0e7",
"date": "2026-01-14",
"time": "17:00",
"status": "FT",
"league": "Cup Of Nations",
"league_id": "asl_0a58491e01c44391beb554ce34ff88cd",
"season": "2025",
"home": {
"name": "Senegal",
"team_id": "ast_e497fc94956c4614be1d9e9212eb1157"
},
"away": {
"name": "Egypt",
"team_id": "ast_8ea97ccb7bba4b939453faaa48086e95"
},
"ht_score": "0-0",
"reg_score": "1-0",
"venue": "Stade Ibn Batouta"
}
],
"meta": {
"total": 10
}
}GET
https://data.anysport.io/v1/soccer/standings?league_id=asl_0a58491e01c44391beb554ce34ff88cd&season=2026&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/standings',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_0a58491e01c44391beb554ce34ff88cd', 'season': '2026', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"position": 1,
"team_id": "ast_7aa5826cd72f4232ba048a554fb9c07c",
"team": "Morocco",
"played": 3,
"wins": 2,
"draws": 1,
"losses": 0,
"goals_for": 6,
"goals_against": 1,
"goal_difference": 5,
"points": 7,
"form": "WDW"
},
{
"position": 1,
"team_id": "ast_8ea97ccb7bba4b939453faaa48086e95",
"team": "Egypt",
"played": 3,
"wins": 2,
"draws": 1,
"losses": 0,
"goals_for": 3,
"goals_against": 1,
"goal_difference": 2,
"points": 7,
"form": "DWW"
},
{
"position": 1,
"team_id": "ast_1fba411e0cf24b0986f267850e405afe",
"team": "Nigeria",
"played": 3,
"wins": 3,
"draws": 0,
"losses": 0,
"goals_for": 8,
"goals_against": 4,
"goal_difference": 4,
"points": 9,
"form": "WWW"
}
],
"meta": {
"total": 24
}
}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_0a58491e01c44391beb554ce34ff88cd&season=2026&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/teams',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_0a58491e01c44391beb554ce34ff88cd', 'season': '2026', '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_261aa08548b34061be740985259ddad7",
"name": "Benin",
"country": "intl",
"venue": "Stade Félix Houphouët-Boigny"
}
],
"meta": {
"total": 24
}
}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_7aa5826cd72f4232ba048a554fb9c07c&league_id=asl_0a58491e01c44391beb554ce34ff88cd&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/players',
headers={'apikey': 'YOUR_API_KEY'},
params={'team_id': 'ast_7aa5826cd72f4232ba048a554fb9c07c', 'league_id': 'asl_0a58491e01c44391beb554ce34ff88cd', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"player_id": "asp_31a011d1f75244b7994e6eeb126dd2f4",
"name": "Anass Salah-Eddine",
"position": "D",
"number": "26",
"age": "24",
"team_id": "ast_7aa5826cd72f4232ba048a554fb9c07c",
"team_name": "Morocco",
"season_stats": {
"league_id": "asl_0a58491e01c44391beb554ce34ff88cd",
"appearances": 4,
"minutes": 212,
"assists": 0,
"yellow_cards": 0,
"red_cards": 0,
"rating": 6.575
}
},
{
"player_id": "asp_9f991cee7f9342beb96f3bb77e719c60",
"name": "Marwane Saadane",
"position": "M",
"number": "5",
"age": "34",
"team_id": "ast_7aa5826cd72f4232ba048a554fb9c07c",
"team_name": "Morocco",
"season_stats": {
"league_id": "asl_0a58491e01c44391beb554ce34ff88cd",
"appearances": 1,
"minutes": 13,
"assists": 0,
"yellow_cards": 0,
"red_cards": 0,
"rating": 6.9
}
},
{
"player_id": "asp_13efe108c76b487b8a8e043572b978c0",
"name": "Sofyan Amrabat",
"position": "M",
"number": "4",
"age": "29",
"team_id": "ast_7aa5826cd72f4232ba048a554fb9c07c",
"team_name": "Morocco",
"season_stats": {
"league_id": "asl_0a58491e01c44391beb554ce34ff88cd",
"appearances": 3,
"minutes": 145,
"assists": 0,
"yellow_cards": 0,
"red_cards": 0,
"rating": 6.667
}
}
],
"meta": {
"total": 3
}
}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 | 摩洛哥 | 3 | 2/1/0 | 6/1 | 5 | WDW |
| 1 | 埃及 | 3 | 2/1/0 | 3/1 | 2 | DWW |
| 1 | 尼日利亚 | 3 | 3/0/0 | 8/4 | 4 | WWW |
| 1 | 塞内加尔 | 3 | 2/1/0 | 7/1 | 6 | WDW |
| 1 | 阿尔及利亚 | 3 | 3/0/0 | 7/1 | 6 | WWW |
| 1 | 科特迪瓦 | 3 | 2/1/0 | 5/3 | 2 | WDW |
| 2 | 马里 | 3 | 0/3/0 | 2/2 | 0 | DDD |
| 2 | 南非 | 3 | 2/0/1 | 5/4 | 1 | WLW |
| 2 | 突尼斯 | 3 | 1/1/1 | 6/5 | 1 | DLW |
| 2 | 刚果民主共和国 | 3 | 2/1/0 | 5/1 | 4 | WDW |
| 2 | 布基纳法索 | 3 | 2/0/1 | 4/2 | 2 | WLW |
| 2 | 喀麦隆 | 3 | 2/1/0 | 4/2 | 2 | WDW |
| 3 | 科摩罗 | 3 | 0/2/1 | 0/2 | -2 | DDL |
| 3 | 安哥拉 | 3 | 0/2/1 | 2/3 | -1 | DDL |
| 3 | 坦桑尼亚 | 3 | 0/2/1 | 3/4 | -1 | DDL |
| 3 | 贝宁 | 3 | 1/0/2 | 1/4 | -3 | LWL |
| 3 | 苏丹 | 3 | 1/0/2 | 1/5 | -4 | LWL |
| 3 | 莫桑比克 | 3 | 1/0/2 | 4/5 | -1 | LWL |
| 4 | 赞比亚 | 3 | 0/2/1 | 1/4 | -3 | LDD |
| 4 | 津巴布韦 | 3 | 0/1/2 | 4/6 | -2 | LDL |
| 4 | 乌干达 | 3 | 0/1/2 | 3/7 | -4 | LDL |
| 4 | 博茨瓦纳 | 3 | 0/0/3 | 0/7 | -7 | LLL |
| 4 | 赤道几内亚 | 3 | 0/0/3 | 2/6 | -4 | LLL |
| 4 | 加蓬 | 3 | 0/0/3 | 4/7 | -3 | LLL |
数据来自 AnySport 联赛积分榜端点。更新日期:2026/10/18
4 个赛季的国际非洲国家杯历史,随时可查
数据回溯至 2021 赛季——历年冠军与不同夺冠球队、每一张最终积分榜都按赛季归档、可随时调用。一次回填历史,之后用同样的端点保持更新。这种深度正是数据提供商与比分板的区别。
| 赛季 | 球队 | 积分 | 战绩(场/胜/平/负) | 进球数据(进/失/净) |
|---|---|---|---|---|
| 2026 | 摩洛哥 | 7 | 3/2/1/0 | 6/1/5 |
| 2025 | 摩洛哥 | 7 | 3/2/1/0 | 6/1/5 |
| 2023 | 赤道几内亚 | 7 | 3/2/1/0 | 9/3/6 |
| 2021 | 喀麦隆 | 7 | 3/2/1/0 | 7/3/4 |
常见问题
你们的 API 覆盖多少国际非洲国家杯球队和球员?
我们的国际非洲国家杯 API 覆盖 34 支球队,含完整阵容与球员资料,均可通过 /teams 与 /players 端点获取。
你们提供多少历史数据?
4 个赛季的积分榜,回溯至 2021,每一张最终积分榜、冠军与赛季均已归档、可按赛季查询。
你们的 API 提供哪些实时足球数据?
实时比分、滚球赔率与比赛事件通过 REST 与 WebSocket 推送,可用同一套结构驱动实时组件与滚球产品。
免费试用是否包含国际非洲国家杯的比赛数据?
包含。免费试用可访问国际非洲国家杯的赛程、赛果、积分榜与球员数据,无需信用卡。