Scottish Premiership Football Data API
Scotland's top football division featuring Celtic and Rangers. One of the oldest football leagues in the world with a passionate fanbase.
What data is available for Scottish Premiership
Sample API call for Scottish Premiership
// Fetch Scottish Premiership matches
const response = await fetch(
'https://api.thestatsapi.com/api/football/matches?competition_id=12',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);Use competition_id=12 for Scottish Premiership in all endpoint requests.
TheStatsAPI provides Scottish Premiership data including match results, player statistics, and historical records across 24 seasons. Access comprehensive Scottish Premiership data alongside 1,195 other competitions through a single REST API, with plans starting at $50/month and a 7-day free trial.
Frequently Asked Questions
Does TheStatsAPI cover Scottish Premiership?
Yes. TheStatsAPI provides full coverage of Scottish Premiership including match fixtures, results, player statistics, team data, and historical records across 24 seasons.
How many seasons of Scottish Premiership data are available?
TheStatsAPI has 24 seasons of Scottish Premiership data, going back to the 2002 season. This includes match results, player stats, and team performance data.
Can I get player stats for Scottish Premiership?
Yes. Player statistics for Scottish Premiership include goals, assists, appearances, minutes played, yellow cards, red cards, and shots. Available for all players across all 24 seasons.
Access Scottish Premiership Data & 1,195 Other Competitions
Start your 7-day free trial. All endpoints included on every plan.