Scottish Premiership API
Scotland's top football division featuring Celtic and Rangers. One of the oldest football leagues in the world with a passionate fanbase.
Sample Scottish Premiership API call
Fetch Scottish Premiership matches with competition_id=12. The same ID works across every endpoint.
GET /football/matches?competition_id=12
GET https://api.thestatsapi.com/api/football/matches
?competition_id=12
&season=2025
Authorization: Bearer YOUR_API_KEY{
"data": [
{
"match_id": "mt_120481",
"competition_id": 12,
"competition": "Scottish Premiership",
"season": "2025/26",
"status": "finished",
"kickoff_utc": "2025-09-14T14:00:00Z",
"home": { "name": "Celtic", "score": 2 },
"away": { "name": "Rangers", "score": 1 }
}
],
"meta": { "page": 1, "per_page": 25, "total": 380 }
}competition_id=12 for Scottish Premiership in fixtures, standings, player-stats and odds requests.What data is available for Scottish Premiership
What you can build with Scottish Premiership data
Stats dashboards
Power a live Scottish Premiership table, fixtures, and form widgets with a single endpoint.
Betting & prediction models
Train models on 24 seasons of results.
Fantasy & content apps
Fetch player stats and match events to drive fantasy scoring and editorial content.
Research & analytics
Bulk-export historical Scottish Premiership data for academic and commercial analysis.
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.
Scottish Premiership API resources
Upcoming and historical fixtures with kickoff times and venues.
Live league tables with points, goal difference, and form.
Goals, assists, minutes, cards and shots for every player.
Step-by-step guide to pulling league data in Python.
See every competition, country, and data type we cover.
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, including 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.
Is live data available for Scottish Premiership?
Live and final scores, fixtures, and match events for Scottish Premiership are available through the matches endpoint, with finalized stats settling within 1 to 2 hours of full time.
How do I get a Scottish Premiership API key?
Sign up for a 7-day free trial, generate an API key from your dashboard, and call the matches endpoint with competition_id=12. Every plan includes all endpoints and all competitions.
What does Scottish Premiership data cost?
Scottish Premiership data is included on every TheStatsAPI plan, starting at $50/month with a 7-day free trial. There are no per-competition add-ons.
Get Scottish Premiership Data & 1,195 Other Competitions
Start your 7-day free trial. All endpoints included on every plan.