API-FOOTBALL
获取足球联赛和杯赛信息
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 运动与健身
- 数据来源
- public-apis + marcelscruz
简介
API-FOOTBALL 提供足球联赛/杯赛数据——基于密钥(缺少密钥返回 403,已实测)。
快速开始
状态(加密钥请求头):
curl "https://v3.football.api-sports.io/status" \
-H "x-apisports-key: YOUR_KEY"
{ "errors": { "token": "Missing application key, Check our documentation on how to add your API key in headers." } }
认证方式
- 在 api-football.com 注册 → API 密钥。
- 通过
x-apisports-key请求头携带(缺失 → 403,已实测)。
速率限制与注意事项
- 免费层带限额(看文档);付费档可扩展。
- 联赛、赛程、球队、球员。
常见问题
API-FOOTBALL 免费吗? 免费层带限额;更多需要付费。
为什么 403? 缺少/无效密钥返回 403(已实测)——请注册拿密钥。
认证风格是什么?
x-apisports-key 请求头。
运动与健身 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 5DollarFootball Football fixtures, results, standings and historical odds with corner and card lines | API Key | Yes | Yes | ↗ |
| American Football Highlights API Real time American Football (NFL/NCAA) highlights | API Key | unknown | Unknown | ↗ |
| 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 | ↗ |
| Basketball Highlights API Real time basketball video highlights | API Key | unknown | Unknown | ↗ |