摩洛哥一级联赛足球数据 API
通过一套快速、稳定、对开发者友好的 REST 与 WebSocket API,接入摩洛哥一级联赛的实时比分、赛程、积分榜、阵容与赔率。33 家俱乐部、22 个赛季历史,统一的 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_cd3a7a3705a74499b704cf93f12cd152&season=2025%2F2026&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/matches',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_cd3a7a3705a74499b704cf93f12cd152', 'season': '2025/2026', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"match_id": "as_ed694f8a1672469a91660b0e44a2999b",
"date": "2026-07-21",
"time": "18:00",
"status": "FT",
"league": "GNEF 1",
"league_id": "asl_cd3a7a3705a74499b704cf93f12cd152",
"season": "2025/2026",
"home": {
"name": "Dcheira",
"team_id": "ast_a0f7276f19fb47ba8f33c94d81aafb1a"
},
"away": {
"name": "Amal Tiznit",
"team_id": "ast_7f83686a60cd4ff182d00f3d6cbfedc7"
},
"ht_score": "0-0",
"reg_score": "1-1",
"venue": "Stade Adrar"
},
{
"match_id": "as_bdf905faba0945f2a6b568bb3c1f3550",
"date": "2026-07-21",
"time": "18:00",
"status": "FT",
"league": "GNEF 1",
"league_id": "asl_cd3a7a3705a74499b704cf93f12cd152",
"season": "2025/2026",
"home": {
"name": "Union Touarga",
"team_id": "ast_10752f8be6c543c89e821e59447405e1"
},
"away": {
"name": "Jeunesse Massira",
"team_id": "ast_0144c96d350d4258899aba09e32263fe"
},
"ht_score": "0-0",
"reg_score": "3-0",
"venue": "Stade Prince Moulay Hassan"
},
{
"match_id": "as_3cfea884aea0467f888f0f2a9aa9c3a2",
"date": "2026-07-18",
"time": "16:00",
"status": "FT",
"league": "GNEF 1",
"league_id": "asl_cd3a7a3705a74499b704cf93f12cd152",
"season": "2025/2026",
"home": {
"name": "Amal Tiznit",
"team_id": "ast_7f83686a60cd4ff182d00f3d6cbfedc7"
},
"away": {
"name": "Dcheira",
"team_id": "ast_a0f7276f19fb47ba8f33c94d81aafb1a"
},
"ht_score": "0-0",
"reg_score": "0-0",
"venue": ""
}
],
"meta": {
"total": 10
}
}GET
https://data.anysport.io/v1/soccer/standings?league_id=asl_cd3a7a3705a74499b704cf93f12cd152&season=2025-2026&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/standings',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_cd3a7a3705a74499b704cf93f12cd152', 'season': '2025-2026', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"position": 1,
"team_id": "ast_5c3e373907934797afd00fa0aed810e3",
"team": "Maghreb Fez",
"played": 30,
"wins": 16,
"draws": 11,
"losses": 3,
"goals_for": 40,
"goals_against": 17,
"goal_difference": 23,
"points": 59,
"form": "WDWWL"
},
{
"position": 2,
"team_id": "ast_f3a531c242de416fbd36006a77469dd6",
"team": "Berkane",
"played": 30,
"wins": 16,
"draws": 9,
"losses": 5,
"goals_for": 44,
"goals_against": 27,
"goal_difference": 17,
"points": 57,
"form": "WWLDW"
},
{
"position": 3,
"team_id": "ast_e53f2491bbad4d1b8b3132332d2e85eb",
"team": "Raja Casablanca",
"played": 30,
"wins": 16,
"draws": 8,
"losses": 6,
"goals_for": 39,
"goals_against": 19,
"goal_difference": 20,
"points": 56,
"form": "WWDLW"
}
],
"meta": {
"total": 16
}
}GET
https://data.anysport.io/v1/soccer/topscorers?league_id=asl_cd3a7a3705a74499b704cf93f12cd152&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_cd3a7a3705a74499b704cf93f12cd152', 'season': '2025-2026', 'kind': 'goals', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"rank": 1,
"player_id": "asp_28dabef85311422382d6f70cf718b21b",
"player_name": "S. Benjdida",
"team_id": "ast_5c3e373907934797afd00fa0aed810e3",
"team_name": "Maghreb Fez",
"value": 6
},
{
"rank": 2,
"player_id": "asp_a553243d08d14fca948cee56dd06b4be",
"player_name": "M. Hrimat",
"team_id": "ast_13716c7e35b2488abc6adc3b41f59475",
"team_name": "FAR Rabat",
"value": 5
},
{
"rank": 3,
"player_id": "asp_8b89d399249a4684abd6ddfbdbbd6010",
"player_name": "Y. El Fahli",
"team_id": "ast_13716c7e35b2488abc6adc3b41f59475",
"team_name": "FAR Rabat",
"value": 4
}
],
"meta": {
"total": 20
}
}GET
https://data.anysport.io/v1/soccer/teams?league_id=asl_cd3a7a3705a74499b704cf93f12cd152&season=2025%2F2026&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/teams',
headers={'apikey': 'YOUR_API_KEY'},
params={'league_id': 'asl_cd3a7a3705a74499b704cf93f12cd152', 'season': '2025/2026', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"team_id": "ast_f3a531c242de416fbd36006a77469dd6",
"name": "Berkane",
"country": "Morocco",
"venue": "Stade Municipal de Berkane"
},
{
"team_id": "ast_38fed311e2c640b294bf7f48d46bf240",
"name": "COD Meknes",
"country": "Morocco",
"venue": "Stade d'Honneur"
},
{
"team_id": "ast_a0f7276f19fb47ba8f33c94d81aafb1a",
"name": "Dcheira",
"country": "Morocco",
"venue": "Stade Ahmed Fana"
}
],
"meta": {
"total": 16
}
}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_5c3e373907934797afd00fa0aed810e3&league_id=asl_cd3a7a3705a74499b704cf93f12cd152&lang=enimport requests
resp = requests.get(
'https://data.anysport.io/v1/soccer/players',
headers={'apikey': 'YOUR_API_KEY'},
params={'team_id': 'ast_5c3e373907934797afd00fa0aed810e3', 'league_id': 'asl_cd3a7a3705a74499b704cf93f12cd152', 'lang': 'en'}
)
print(resp.json()){
"success": true,
"data": [
{
"player_id": "asp_b7986e807c84496f874535ae14023b7a",
"name": "Abdellah Khafifi",
"position": "D",
"number": "5",
"age": "33",
"team_id": "ast_5c3e373907934797afd00fa0aed810e3",
"team_name": "Maghreb Fez",
"season_stats": {
"league_id": "asl_cd3a7a3705a74499b704cf93f12cd152"
}
},
{
"player_id": "asp_d757328756794fbfa968b08b63218ba0",
"name": "Achraf Harmach",
"position": "M",
"number": "8",
"age": "33",
"team_id": "ast_5c3e373907934797afd00fa0aed810e3",
"team_name": "Maghreb Fez",
"season_stats": {
"league_id": "asl_cd3a7a3705a74499b704cf93f12cd152"
}
},
{
"player_id": "asp_c6c0ec7cfe9a4b6492ef36faa2a736bc",
"name": "Adam Brika",
"position": "M",
"number": "26",
"age": "?",
"team_id": "ast_5c3e373907934797afd00fa0aed810e3",
"team_name": "Maghreb Fez",
"season_stats": {
"league_id": "asl_cd3a7a3705a74499b704cf93f12cd152"
}
}
],
"meta": {
"total": 28
}
}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 | 马格里布费斯 | 30 | 16/11/3 | 40/17 | 23 | WDWWL |
| 2 | 贝尔卡内 | 30 | 16/9/5 | 44/27 | 17 | WWLDW |
| 3 | 拉贾卡萨布兰卡 | 30 | 16/8/6 | 39/19 | 20 | WWDLW |
| 4 | 法尔拉巴特 | 30 | 13/16/1 | 45/22 | 23 | DLDDW |
| 5 | 维达德 | 30 | 13/4/13 | 39/33 | 6 | LLLLL |
| 6 | 迪法埃尔哈迪 | 30 | 9/13/8 | 30/34 | -4 | LDDWW |
| 7 | 坦杰尔 | 30 | 9/12/9 | 27/31 | -4 | WLDLW |
| 8 | 拉巴特FUS足球俱乐部 | 30 | 9/10/11 | 31/36 | -5 | LDWLL |
| 9 | 卡瓦布马拉喀什 | 30 | 8/12/10 | 27/26 | 1 | DDDWL |
| 10 | 梅克内斯COD | 30 | 9/9/12 | 24/33 | -9 | LWDDL |
| 11 | 泽曼拉复兴 | 30 | 8/9/13 | 28/37 | -9 | DDDDL |
| 12 | 哈萨尼亚·阿加迪尔 | 30 | 8/9/13 | 27/39 | -12 | DLDDW |
| 13 | 图阿尔加联合 | 30 | 6/13/11 | 32/40 | -8 | WWDLL |
| 14 | 德赫拉 | 30 | 7/9/14 | 29/40 | -11 | LDWWW |
| 15 | 雅库布·埃尔·曼苏尔 | 30 | 7/9/14 | 34/44 | -10 | WDLWW |
| 16 | 萨非奥林匹克 | 30 | 3/13/14 | 24/42 | -18 | LDDDL |
数据来自 AnySport 联赛积分榜端点。更新日期:2026/10/27
摩洛哥一级联赛 2025-2026 赛季数据一览
下面每个数字都由 API 返回的原始比赛数据计算得出,而非人工录入。你可以基于同样的数据搭建看板、模型或编辑组件。
244已完成比赛
527总进球
2.16场均进球
92主胜
86平局
66客胜
37.7%主胜率
5最大分差
7单场最多进球
马格里布费斯领头羊
最近更新:2026/10/27
22 个赛季的摩洛哥一级联赛历史,随时可查
数据回溯至 2004-2005 赛季——历年冠军与不同夺冠球队、每一张最终积分榜都按赛季归档、可随时调用。一次回填历史,之后用同样的端点保持更新。这种深度正是数据提供商与比分板的区别。
| 赛季 | 球队 | 积分 | 战绩(场/胜/平/负) | 进球数据(进/失/净) |
|---|---|---|---|---|
| 2025-2026 | 马格里布费斯 | 59 | 30/16/11/3 | 40/17/23 |
| 2024-2025 | 贝尔卡内 | 70 | 30/21/7/2 | 49/14/35 |
| 2023-2024 | 拉贾卡萨布兰卡 | 72 | 30/21/9/0 | 52/15/37 |
| 2022-2023 | 法尔拉巴特 | 67 | 30/20/7/3 | 50/19/31 |
| 2021-2022 | 维达德 | 63 | 30/19/6/5 | 46/24/22 |
| 2020-2021 | 维达德 | 67 | 30/20/7/3 | 58/26/32 |
| 2019-2020 | 拉贾卡萨布兰卡 | 60 | 30/17/9/4 | 43/23/20 |
| 2018-2019 | 维达德 | 59 | 30/17/8/5 | 56/30/26 |
| 2017-2018 | 拉贾卡萨布兰卡 | 31 | 16/9/4/3 | 29/17/12 |
| 2016-2017 | 维达德 | 66 | 30/19/9/2 | 50/24/26 |
| 2015-2016 | 拉巴特FUS足球俱乐部 | 58 | 30/16/10/4 | 40/21/19 |
| 2014-2015 | 维达德 | 59 | 30/16/11/3 | 48/21/27 |
| 2013-2014 | 摩洛哥特图安 | 58 | 30/16/10/4 | 36/25/11 |
| 2012-2013 | 拉贾卡萨布兰卡 | 66 | 30/19/9/2 | 56/24/32 |
| 2011-2012 | 摩洛哥特图安 | 61 | 30/17/10/3 | 41/13/28 |
| 2010-2011 | 拉贾卡萨布兰卡 | 60 | 30/18/6/6 | 45/23/22 |
| 2009-2010 | 维达德 | 54 | 30/15/9/6 | 36/22/14 |
| 2008-2009 | 拉贾卡萨布兰卡 | 61 | 30/17/10/3 | 44/17/27 |
| 2007-2008 | 法尔拉巴特 | 53 | 30/14/11/5 | 36/23/13 |
| 2006-2007 | Khouribga | 62 | 30/17/11/2 | 38/16/22 |
| 2005-2006 | 维达德 | 61 | 30/17/10/3 | 33/16/17 |
| 2004-2005 | 法尔拉巴特 | 62 | 30/17/11/2 | 35/9/26 |
常见问题
你们的 API 覆盖多少摩洛哥一级联赛球队和球员?
我们的摩洛哥一级联赛 API 覆盖 33 支球队,含完整阵容与球员资料,均可通过 /teams 与 /players 端点获取。
你们提供多少历史数据?
22 个赛季的积分榜,回溯至 2004-2005,每一张最终积分榜、冠军与赛季均已归档、可按赛季查询。
你们的 API 提供哪些实时足球数据?
实时比分、滚球赔率与比赛事件通过 REST 与 WebSocket 推送,可用同一套结构驱动实时组件与滚球产品。
免费试用是否包含摩洛哥一级联赛的比赛数据?
包含。免费试用可访问摩洛哥一级联赛的赛程、赛果、积分榜与球员数据,无需信用卡。