Historical (2005-2019) data of bookmaker odds for some of the major soccer European leagues.
The data includes teams, scores and average bookmaker odds for all games between from season 2005-2006 until season 2018-2019 for the following leagues:
- English Premier League
- Spanish Primera
- German Bundesliga
- Italian Serie A
- French Ligue 1
The data is available in JSON and CSV formats.
Every file represents historical data for a certain league.
JSON data in every file is an array of seasons, each containing array of numbered rounds (fixtures) in this season, with each round containing array of games in this round.
Every game object has the following properties:
hTeam
(string
) - Home team nameaTeam
(string
) - Away team namehScore
(integer
) - Home team scoreaScore
(integer
) - Away team scorehOdd
(float
) - Average bookmaker odds for the home team in the decimal formatdOdd
(float
) - Odds for drawaOdd
(float
) - Odds for away teamhProb
(float
) - Normalized probability of the home team victory calculated from the odds (see below)dProb
(float
) - Probability of the drawaProb
(float
) - Probability of the away team victory
For example, normalized probability for the home team victory is calculated in the following way:
hProb = 1/hOdd / (1/hOdd + 1/dOdd + 1/aOdd)
For more details, see JSON schema.
CSV data format is the flattened representation of the JSON structure, with each rows representing a game with the same columns as JSON properties described above, plus season and round columns.
Node.js version 6 or later and npm need to be installed.
Execute:
$ npm install
$ npm test
Or, with yarn:
$ yarn
$ yarn test