TheSportsDB
Crowd-Sourced Sports Data and Artwork
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Yes
- Category
- Sports & Fitness
- Documentation / URL
- https://www.thesportsdb.com/api.php
Overview
TheSportsDB provides crowd-sourced sports data — key-based (a free test key is available; an invalid key returns 404, verified).
Quick Start
Leagues (replace YOUR_KEY):
curl "https://www.thesportsdb.com/api/v1/json/YOUR_KEY/leagues.php"
{ "leagues": [ { "idLeague": "4328", "strLeague": "English Premier League" } ] }
Authentication
- Register at thesportsdb.com → API key (free test key available).
- Put it in the URL path:
/api/v1/json/{KEY}/...(invalid → 404, verified).
Rate Limits & Notes
- Free key: 1,000 requests/day (check the docs); paid plans scale.
- Leagues, teams, players, events, and artwork.
FAQ
Is TheSportsDB free? Free tier: 1,000 requests/day; more is paid.
Why 404? Invalid keys return 404 (verified) — register for a key.
What’s the auth style? Key in the URL path.
More in Sports & Fitness
| 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 | ↗ |