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.
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 all players from team
Search for players by name
Search for event by event name
Search for event by event file name
Search for all Leagues in a country
Search for all Teams in a League
Search for all Seasons in a League
List all leagues and sports
NOTE: You can replace spaces '%20' with underscores if you want, when requesting multi word strings.
League Details by Id
League seasons by league Id
Team Details by Id
Player Details by Id
Event Details by Id
Lookup Table by League ID and Season
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 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 - http://www.thesportsdb.com/images/media/league/fanart/xpwsrw1421853005.jpg
Small Image - http://www.thesportsdb.com/images/media/league/fanart/xpwsrw1421853005.jpg/preview
NOTE: Updated every 2mins (Don't abuse please)