TheSportsDB
众包体育数据和图片素材
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 运动与健身
简介
TheSportsDB 提供众包体育数据——基于密钥(有免费测试密钥;无效密钥返回 404,已实测)。
快速开始
联赛(替换 YOUR_KEY):
curl "https://www.thesportsdb.com/api/v1/json/YOUR_KEY/leagues.php"
{ "leagues": [ { "idLeague": "4328", "strLeague": "English Premier League" } ] }
认证方式
- 在 thesportsdb.com 注册 → API 密钥(有免费测试密钥)。
- 放在 URL 路径中:
/api/v1/json/{KEY}/...(无效 → 404,已实测)。
速率限制与注意事项
- 免费密钥:1,000 次/天(看文档);付费档可扩展。
- 联赛、球队、球员、赛事和图片。
常见问题
TheSportsDB 免费吗? 免费层:1,000 次/天;更多需要付费。
为什么 404? 无效密钥返回 404(已实测)——请注册拿密钥。
认证风格是什么? 密钥在 URL 路径中。
运动与健身 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| API-FOOTBALL Get information about Football Leagues & Cups | API Key | Yes | Yes | ↗ |
| ApiMedic ApiMedic offers a medical symptom checker API primarily for patients | API Key | Yes | Unknown | ↗ |
| balldontlie Balldontlie provides access to stats data from the NBA | No auth | Yes | Yes | ↗ |
| Bet Better Sports model win probabilities and fair odds across 13 leagues | No auth | Yes | Yes | ↗ |
| Canadian Football League (CFL) Official JSON API providing real-time league, team and player statistics about the CFL | API Key | Yes | No | ↗ |