SofaScore Real Time Data scraper
收藏RapidAPI2026-06-29 更新2026-06-22 收录
下载链接:
https://rapidapi.com/bmayoub151/api/sofascore-real-time-data-scraper
下载链接
链接失效反馈官方服务:
资源简介:
SofaScore Live Sports API delivers real-time sports data with live scores, match results, fixtures, in-depth statistics, and performance insights across football (soccer), basketball, tennis, and more. Access fast, reliable, and detailed sports information from SofaScore to power apps, websites, betting platforms, or analytics tools with up-to-date match coverage and comprehensive event data.
创建时间:
2026-06-29
原始信息汇总
数据集名称
SofaScore Real Time Data scraper
数据集提供者
- 创建者:Skolit
- 分类:Sports(体育)
核心功能描述
该API提供来自SofaScore的实时体育数据,涵盖足球、篮球、网球等多个体育项目,包括:
- 实时比分与比赛结果
- 赛程与赛程表
- 深度数据统计
- 球员表现洞察
主要端点列表
| 端点 | HTTP方法 | 描述 |
|---|---|---|
/api/sports |
GET | 获取所有支持的体育项目 |
/api/categories |
GET | 获取所有类别/地区 |
/api/categories/{id}/tournaments |
GET | 获取某类别下的锦标赛 |
/api/live-matches |
GET | 获取所有正在进行的比赛 |
/api/matches/by-date |
GET | 按日期获取比赛 |
/api/matches/{id}/details |
GET | 获取比赛详细数据 |
/api/matches/{id}/statistics |
GET | 获取比赛统计数据 |
/api/matches/{id}/lineups |
GET | 获取比赛首发阵容和替补 |
/api/matches/{id}/incidents |
GET | 获取比赛事件(进球、红黄牌等) |
/api/matches/{id}/odds |
GET | 获取比赛投注赔率 |
/api/matches/{id}/point-by-point |
GET | 获取逐分计分数据 |
/api/matches/{id}/votes |
GET | 获取球迷投票结果 |
/api/matches/{id}/comments |
GET | 获取编辑或用户评论 |
/api/players/{id}/details |
GET | 获取完整球员档案 |
/api/players/{id}/transfer-history |
GET | 获取球员转会历史 |
核心端点详解
1. 实时比赛
- 端点:
/api/live-matches - 可选参数:
sport_slug(默认为football) - 功能:获取当前进行中的所有比赛
2. 按日期查询比赛
- 端点:
/api/matches/by-date - 必需参数:
date(ISO-8601格式,如2025-06-15) - 可选参数:
sport_slug(默认为football) - 功能:获取指定日期的所有比赛
3. 比赛详细信息
- 端点:
/api/matches/{match_id}/details - 必需参数:
match_id(数值型) - 功能:包含场馆、裁判、球队状态等
4. 比赛统计数据
- 端点:
/api/matches/{match_id}/statistics - 功能:控球率、射门、传球等聚合统计
5. 比赛阵容
- 端点:
/api/matches/{match_id}/lineups - 功能:首发XI、替补及阵型
6. 比赛事件
- 端点:
/api/matches/{match_id}/incidents - 功能:进球、红黄牌、换人等事件
7. 比赛赔率
- 端点:
/api/matches/{match_id}/odds - 功能:多家博彩公司的赛前和实时赔率
8. 球员详细信息
- 端点:
/api/players/{player_id}/details - 功能:身高、位置、球队、国籍等
9. 球员转会历史
- 端点:
/api/players/{player_id}/transfer-history - 功能:按时间顺序列出转会记录,包括转会费和来源/目的俱乐部
10. 元数据(体育项目与类别)
/api/sports:获取所有体育项目/api/categories:获取所有类别/api/categories/{category_id}/tournaments:获取某类别下的锦标赛
错误处理
| HTTP状态码 | 含义 |
|---|---|
| 200 | 成功 |
| 400 | 错误请求(参数无效或缺失) |
| 404 | 资源未找到(如无效的比赛ID) |
| 500 | 服务器错误 |
错误响应示例: json { "detail": "Match not found or data unavailable." }
定价计划
- BASIC:$0.00/月
- PRO:$5.00/月
- ULTRA:$15.00/月
- MEGA:$30.00/月



