I'm mainly interested in soccer related statistics. There are quite a few different API's relating to soccer, but most of them are commercial and far, far out of my price range. I've looked at DBpedia, but a lot of their data is quite out of date.

  • 2
    Check out this newer question for World Cup 2014, it seems very promising: opendata.stackexchange.com/questions/1791/… – Ivar May 21 '14 at 17:35
  • I have been collecting a list of soccer data sources at jokecamp.com/guide/2014/03/08/… – kampsj Aug 10 '14 at 23:48
  • I would recommend xmlsoccer.com (xmlsoccer.com) - it’s pretty cheap (€10 per month) so it's not completely free, but it includes livescores, fixtures, results, odds, statistics etc. It also enables you to code for FREE against it using the Scottish Premier League as “demo-league” so you have unlimited time to develop your project. Full disclosure: I created it as a result of sitting in the same situation as you, and was a bit annoyed of lacking a reasonably priced API that was also fast and reliable. Best regards Michael – Michael Aug 5 '17 at 20:09

15 Answers 15


Recently, the paper Linked Soccer Data was published. In it the authors describe how they combined various football-related datasets, such as http://fussballdaten.de/. Some of the data they covered can be viewed through this demo application.

The paper also mentions other relevant sources of football data, including the openfooty API.


In Kaggle there is an "European Soccer Database" dataset.

25k+ matches and players stats for European Professional Football


(download requires registration)


If you agree that "the web is an API", you may scrape statistics from HTML pages. For instance, oddsportal.com has historical betting quotes.

I suppose this data is not open but maybe helpful for personal use/fun.

If you are using the programming language R, you might find this vignette on web scraping match data (PDF) helpful.

Today I found football-data.co.uk which provides a lot of statistics as CSV, for free (whatever that means).

  • 2
    That's what I've been doing, I was just hoping there might be an easier way out there. It's a shame this kind of thing doesn't exist. – Luke Hansford Aug 14 '13 at 21:25

Check out the Equity in Athletics Disclosure website http://ope.ed.gov/athletics/ supported by the Office of Postsecondary Education (OPE), U.S. Department of Education (ED).

The downloadable data sets includes data such as: Participants by sport and gender, coaching staff and salaries, revenues and expenses by sport and "game day" and recruiting, and other supplemental information.


MLB has a Gameday API with baseball stats in XML form http://gd2.mlb.com/components/game/mlb/

It's described on this website http://gameday.timothyfisher.com/

  • 1
    This is interesting, and worth sharing... but I couldn't find anything that describes MLB's license or copyright on the data. It sounds like they've tolerated access to it for a few years. – Joe Germuska Oct 14 '13 at 14:54
  • 1
    Looks like asker is specifically interested in soccer data though, not baseball. – Nicolas Raoul May 28 '14 at 5:55
  • ahh the question was edited, before it was just sports stats – kim p May 28 '14 at 19:01

Doesn't seem to have soccer, but worth a look for other stats:



Last year, Manchester City FC opened up their collection of Opta Collected data. Here is a press release from Opta but the main site seems to have gone dark (or requires a specific old browser?).


Did you know about that one:


Prof. Robert Simmons from Lancaster University (http://www.lancaster.ac.uk/lums/people/all/robert-simmons/) once introduced that to us in one of our M.Sc. Sport Management classes at the German Sport University Cologne.


FYI: I started the football.db project to collect open public domain football data. The public domain data sets are hosted on GitHub and also include ready-to-use pre-built single-file SQLite databases (e.g. worldcup.db, etc.) You can find a short intro article about the football.db project on the Open Knowledge Foundation (OKFN) Data Wrangler Blog titled "Using open football data - Get ready for the World Cup in Brazil 2014", for example. Cheers.


football.db free open public domain football data
here's a python tool for fun


(Disclosure : I'm one of the founders of YouFoot)

YouFoot offers both huge amounts of data as well as API and apps (web and mobile). Currently access to our APIs are on a request basis. We look to make them public soon.

YouFoot is not only about distributing data but also about empowering people to collect complex sets of football data easily using only web or mobile apps. Our match commentary apps allow you to produce stats and live test commentary in over 15 languages simultaneously.

See this basic tutorial video for instance (it shows 3 different apps that can be used to enter the data): https://www.youtube.com/watch?v=AJAQKSbNbYI&feature=youtu.be

Example of player stats (with videos attached to actions): https://www.youtube.com/watch?v=LEJfCGIdKFk

YouFoot is used by hundreds of pro and amateur teams, federations and media for football coverage across the world. Note: In many cases the data is generated under Creative Common license.

Feel free to contact us if you need access to our APIs, we'll answer your request quickly : help@youfoot.com

  • 1
    Doesn't fit the charter of Open Data. – Deer Hunter Jun 2 '14 at 7:28

I use football-data.co.uk for 22 leagues, where a lot is provided, but some stats only for top leagues. If you want power rankings for particular teams, then football picks is also the option, but no API at the moment available. Of course you can combine knowldedge from livescore sites and then you can for instance build dataset of your own. Or you can go for opta sports and pay few thousands euros a month and you are perfectly equipped with everything! From what I tried, another APIs that should have been for free are either not working or not for free anymore. I hope this helps.


Note: The ESPN Developer APIs have been retired.

ESPN.com provides an API: Developer Center. You have to register as a developer.

Once set up, you can make requests for teams or athletes, among other request types. General overview is here.

  • The free quota is 3 Calls per second and 7,500 Calls per day.
  • You can use the API console to explore (once registered)
  • The URL will look something like this

  • if anyone uses this, perhaps you can edit the answer to contain more information specific to soccer. – philshem Jun 2 '14 at 6:31

I think that ESPN has discontinued their developer access.

Try fantasysportnet - http://fantasysportnet.com/data/home.jsp

They cover the major European football leagues … EPL, Bundesliga, Spanish league, Serie A, and provide stats through a simple API.


Another Kaggle dataset is

FIFA 18 Complete Player Dataset

17k+ players, 70+ attributes extracted from the latest edition of FIFA

Complete Dataset including :

  • Player personal attributes (Nationality, Club, Photo, Age, Value etc.)

  • Player performance attributes (Overall, Potential, Aggression, Agility etc.)

  • Player preferred position and ratings at all positions.

protected by Community Aug 10 '17 at 14:11

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.