Sports Database API
A universal database of sports leagues, teams and players as an API, powered by TheSportsDB. Covering every major sport — soccer, basketball, American football, baseball, ice hockey, motorsport, cricket, rugby and more — this is a sports reference and metadata database, distinct from single-league live-score feeds. /v1/leagues browses the world's sports leagues (filter with sport=Soccer, Basketball, …) returning each league's id, name and sport. /v1/teams?league=English Premier League lists the teams in a league, each with its id, sport, country, home stadium and capacity, founding year, crest/badge and logo image URLs and a description. /v1/team?id=133604 returns a team's full profile by id. /v1/squad?id=133604 returns the players in a team. /v1/players?name=Lionel Messi searches players by name across all sports, returning their team, sport, position, nationality, date and place of birth, height and weight and photo (thumbnail and cutout) URLs. With official team crests and player photos, it is ideal for sports apps, fantasy and prediction tools, team and player directories, quiz and trivia games, and Discord/Slack sports bots. Data from TheSportsDB's free public tier, which returns up to about 10 results per league or squad; higher limits and advanced endpoints require TheSportsDB's paid tier. Team ids look like 133604 (Arsenal).
api.oanor.com/sportsdb-api