You can use the test API key "1" during development of your app (see test links below)
However you must apply for a key a production API key before releasing your app to the public. This can be done under the 'Devs' top menu.
Below find complete instructions for using our JSON API.
All example links use the test key which should only be used during development or for personal apps.
You can request a production API key by clicking
this link and following the instructions in this thread.
Our API is free but consider a yearly donation if your app is commercial.
Search for team by name
Search for team short code
Search for all players from team
Search for players by name
Search for event by event name
Search for event by event file name
NOTE: You can replace spaces '%20' with underscores if you want, when requesting multi word strings.
List all sports
List all leagues
List all Leagues in a country
List all Seasons in a League
List all Teams in a League
List All teams details in a league by Id
List All players in a team by Team Id
List all users loved teams and players
League Details by Id
Team Details by Id
Player Details by Id
Event Details by Id
Lookup Table by League ID
Next 5 Events by Team Id
Next 15 Events by League Id
Last 5 Events by Team Id
Last 15 Events by League Id
Events in a specific round by league id/round/season
Events on a specific day
All events in specific league by season
Most of the time you won't want to download the original large image, just get a small preview. This is possible simple by adding ''/preview'' onto the end URL. This will give you a small 200px version. This will work with JPG images only.
Original Image - https://www.thesportsdb.com/images/media/league/fanart/xpwsrw1421853005.jpg
Small Image - https://www.thesportsdb.com/images/media/league/fanart/xpwsrw1421853005.jpg/preview
NOTE: Updated every 2mins (Don't abuse please)