All free APIs
Free APIKnowledgeAPI keyOfficial

TheSportsDB

Open, crowd-sourced sports database covering soccer, NBA, NFL, MLB, NHL, F1 and hundreds more leagues, with a free test key that works instantly with no signup.

TheSportsDB is a community-maintained JSON API exposing teams, players, leagues, fixtures, past events, league tables, and a rich media layer (team badges, jerseys, stadium photos, player thumbnails). It spans soccer, basketball, American football, baseball, hockey, motorsport, esports and more, making it the broadest single free entry point for sports metadata. The shared public test key (use '123' or '3' in the path) lets you call core v1 endpoints with zero registration. A paid plan adds a dedicated production key, higher limits, and the v2 API (2-minute livescores, video highlights). Ideal for team/league/player lookup skills, fixture-aware assistants, or enriching sports content with logos and imagery.

Free tier

Free with the shared public test key (use '123' in the URL path; core v1 endpoints, 30 req/min, most queries limited). Paid plans: Single Developer $9/mo (dedicated key, v2 API, 100 req/min) and Small Business $20/mo (120 req/min).

Rate limits

Free test key: 30 requests/minute, shared globally (HTTP 429 on overage). Single Developer: 100 req/min. Small Business: 120 req/min.

Auth

API key

Base URL

https://www.thesportsdb.com/api/v1/json/{API_KEY}

What you'd build with it

  • Look up team/league/player metadata and badges across any sport
  • Enrich sports content or chat answers with logos and stadium imagery
  • Build a multi-sport fixtures lookup skill from one API
  • Resolve cross-source IDs (each team carries idESPN and idAPIfootball)

Key endpoints

  • GET/searchteams.php?t={team}Search a team by name (returns metadata, leagues, badges, jerseys)
  • GET/lookupteam.php?id={teamId}Look up full team details by team ID
  • GET/eventsnextleague.php?id={leagueId}Upcoming fixtures for a league
  • GET/lookuptable.php?l={leagueId}&s={season}League standings table for a season
  • GET/searchplayers.php?p={player}Search a player by name with photo and bio
Members

Members get the runnable recipe

Sign in free to copy the example request, see a sample response, and read the gotchas.

Tags

sportsmulti-sportsoccerfixtureslogosno-card