Many football fans are looking for the best football stats. Using Sportmonks Football Stats API, you can create a web page or application with reliable, fast, and affordable football data.
There are a lot of different statistics Football fans are looking for. These statistics can be used to see which players are overperforming or underperforming. The football stats API makes it possible to track the statistics of any player you need. You can track the number of passes, shots, fouls, cards, and much more in our football stats API. For a complete list of football stats and list of features you can take a look at our coverage page.
Discover our Football APIAt Sportmonks, we have statistics for historical seasons and the current season of over 2200 leagues. Everyone requires different statistics and data features, and this is why we also made it possible to create a custom plan. In a custom plan, you can select which data features you want, as well as which leagues you want to receive data from.
var myHeaders = new Headers(); myHeaders.append("Content-Type", "application/json"); myHeaders.append("Accept", "application/json"); myHeaders.append("Authorization", "YOURTOKEN"); var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; fetch("https://api.sportmonks.com/v3/football/leagues", requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error));
import requests import json url = "https://api.sportmonks.com/v3/football/leagues" payload = {} headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': 'YOURTOKEN' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text)
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://api.sportmonks.com/v3/football/leagues" method := "GET" client := &http.Client { } req, err := http.NewRequest(method, url, nil) if err != nil { fmt.Println(err) return } req.Header.Add("Content-Type", "application/json") req.Header.Add("Accept", "application/json") req.Header.Add("Authorization", "YOURTOKEN") res, err := client.Do(req) if err != nil { fmt.Println(err) return } defer res.Body.Close() body, err := ioutil.ReadAll(res.Body) if err != nil { fmt.Println(err) return } fmt.Println(string(body)) }
Unirest.setTimeouts(0, 0); HttpResponse response = Unirest.get("https://api.sportmonks.com/v3/football/leagues") .header("Content-Type", "application/json") .header("Accept", "application/json") .header("Authorization", "YOURTOKEN") .asString();
The football stats API from Sportmonks is easy to understand as it’s developed by developers with a heart for sports. The developers are constantly working on making the API as easy to use as possible. We wanted you to see an example that comes from the Sportmonks football stats API. On the right, you can see this code example from the API. However, if you really want to make use of our an API an example isn’t enough. That is why you can start your free 14-day trial right now, and test our API for free.
Start your free trialLooking for fast, flexible, and accurate football data? Our Football Stats API delivers exactly that. It’s designed to support everything from live score apps to betting platforms and fantasy football games.
We make sports data simple. Whether you need league tables, fixtures, player stats, or advanced metrics like xG, our API is fully customizable to fit your unique needs.
Not sure where to start? Our expert team is here to help you choose the right setup for your project. Already know what you need? Subscribe to one of our plans and get started right away.
✅ Trusted by thousands of developers
✅ Developer-first documentation
✅ Award-winning support
✅ 14-day free trial
Start building smarter football products today, with data you can rely on.
Start your free trial