|
1 |
| -# api |
| 1 | +# TheSpread.io API |
| 2 | + |
| 3 | +An API that aggregates sports betting odds/lines. |
| 4 | + |
| 5 | +This API is FREE and designed to be easy to read and integrate with. |
| 6 | + |
| 7 | +This API is currently in beta. The two available endpoints are: |
| 8 | + |
| 9 | + - https://thespread.azureedge.net/odds/nfl.json |
| 10 | + - https://thespread.azureedge.net/odds/college-football.json |
| 11 | + |
| 12 | +The structure of an odds json response is similar to the following: |
| 13 | + |
| 14 | +``` |
| 15 | +[ |
| 16 | + { |
| 17 | + "Event": "Bears at Buffalo", |
| 18 | + "Date": "2018-11-04T18:00:00+00:00", |
| 19 | + "Odds": [ |
| 20 | + { |
| 21 | + "Source": "Unibet", |
| 22 | + "Team1Spread": "CHI -10 (-111)", |
| 23 | + "Team1Money": "CHI -500", |
| 24 | + "Team2Spread": "BUF +10 (-109)", |
| 25 | + "Team2Money": "BUF +360", |
| 26 | + "OverUnder": "37.5; o: -111; u: -109" |
| 27 | + }, |
| 28 | + { |
| 29 | + "Source": "Westgate", |
| 30 | + "Team1Spread": "CHI -10 (-110)", |
| 31 | + "Team1Money": "CHI -550", |
| 32 | + "Team2Spread": "BUF +10 (-110)", |
| 33 | + "Team2Money": "BUF +400", |
| 34 | + "OverUnder": "38; o: -110; u: -110" |
| 35 | + } |
| 36 | + ] |
| 37 | + }, |
| 38 | + { |
| 39 | + "Event": "Tampa Bay at Carolina", |
| 40 | + "Date": "2018-11-04T18:00:00+00:00", |
| 41 | + "Odds": [ |
| 42 | + { |
| 43 | + "Source": "Unibet", |
| 44 | + "Team1Spread": "TB +6.5 (-110)", |
| 45 | + "Team1Money": "TB +245", |
| 46 | + "Team2Spread": "CAR -6.5 (-110)", |
| 47 | + "Team2Money": "CAR -312", |
| 48 | + "OverUnder": "54.5; o: -115; u: -105" |
| 49 | + }, |
| 50 | + { |
| 51 | + "Source": "Westgate", |
| 52 | + "Team1Spread": "TB +6 (-110)", |
| 53 | + "Team1Money": "TB +230", |
| 54 | + "Team2Spread": "CAR -6 (-110)", |
| 55 | + "Team2Money": "CAR -280", |
| 56 | + "OverUnder": "56; o: -110; u: -110" |
| 57 | + } |
| 58 | + ] |
| 59 | + } |
| 60 | +] |
| 61 | +``` |
| 62 | + |
| 63 | +The Odds Sources that are currently available within each file/for each event: |
| 64 | + - Caesar's |
| 65 | + - Unibet |
| 66 | + - Westgate |
| 67 | + - William Hill |
| 68 | + - Wynn |
| 69 | + |
| 70 | + |
| 71 | +Note: there is no guarantee of accuracy at this time |
| 72 | + |
| 73 | + |
| 74 | +Please feel free to open issues with any questions you may have. |
0 commit comments