GET /sports/:sport/:league
获取特定体育项目和联赛的实时和近期比分。返回比赛详情,包括球队名称、当前比分、比赛状态(计划中/进行中/已结束)和时间。提供来自可用体育项目端点的体育项目和联赛代码(例如 soccer/eng.1 代表英超联赛)。适用于体育仪表板、比分滚动条、博彩应用和梦幻体育工具。数据来自 ESPN。
sport
必填
Sport
league
必填
League
| 名称 | 必填 | 默认值 | 描述 |
|---|---|---|---|
sport |
是 | - | Sport |
league |
是 | - | League |
curl https://nordapi.ee/api/v1/sports/soccer/eng.1
curl https://nordapi.ee/api/v1/sports/soccer/eng.1
curl https://nordapi.ee/api/v1/sports/basketball/nba
curl https://nordapi.ee/api/v1/sports/football/nfl
{
"count": 1,
"data": [
{
"date": "2026-04-10T19:00Z",
"id": "740913",
"name": "Wolverhampton Wanderers at West Ham United",
"status": "Scheduled",
"teams": [
{
"abbreviation": "WHU",
"logo": "https://a.espncdn.com/i/teamlogos/soccer/500/371.png",
"name": "West Ham United",
"score": "0",
"winner": false
},
{
"abbreviation": "WOL",
"logo": "https://a.espncdn.com/i/teamlogos/soccer/500/380.png",
"name": "Wolverhampton Wanderers",
"score": "0",
"winner": false
}
]
}
],
"league": "eng.1",
"sport": "soccer",
"success": true
}