How-to use the predictions API
Step 1: Make our request
https://soccer.sportmonks.com/api/v2.0/fixtures/between/2020-11-03/2020-11-04?api_token={API_TOKEN}&include=localTeam,visitorTeam&leagues=2"data": [
{
"id": 17361016,
"league_id": 2,
"season_id": 17299,
"stage_id": 77448760,
"round_id": 211704,
"group_id": 244365,
"aggregate_id": null,
"venue_id": 177923,
"referee_id": 16994,
"localteam_id": 490,
"visitorteam_id": 7980,
"winner_team_id": null,
"weather_report": {
"code": "clouds",
"type": "overcast clouds",
"icon": "https://cdn.sportmonks.com/images/weather/04n.png",
"temperature": {
"temp": 45.77,
"unit": "fahrenheit"
},
"temperature_celcius": {
"temp": 7.7,
"unit": "celcius"
},
"clouds": "90%",
"humidity": "100%",
"pressure": 1026,
"wind": {
"speed": "8.95 m/s",
"degree": 170
},
"coordinates": {
"lat": 55.75,
"lon": 37.62
},
"updated_at": "2020-11-03T19:45:07.664160Z"
},
"commentaries": true,
"attendance": 8147,
"pitch": null,
"details": null,
"neutral_venue": false,
"winning_odds_calculated": true,
"formations": {
"localteam_formation": "4-4-2",
"visitorteam_formation": "4-3-2-1"
},
"scores": {
"localteam_score": 1,
"visitorteam_score": 1,
"localteam_pen_score": null,
"visitorteam_pen_score": null,
"ht_score": "1-1",
"ft_score": "1-1",
"et_score": null,
"ps_score": null
},
"time": {
"status": "FT",
"starting_at": {
"date_time": "2020-11-03 17:55:00",
"date": "2020-11-03",
"time": "17:55:00",
"timestamp": 1604426100,
"timezone": "UTC"
},
"minute": 94,
"second": null,
"added_time": null,
"extra_minute": null,
"injury_time": null
},
"coaches": {
"localteam_coach_id": 1068613,
"visitorteam_coach_id": 452946
},
"standings": {
"localteam_position": 4,
"visitorteam_position": 2
},
"assistants": {
"first_assistant_id": 12172,
"second_assistant_id": 12128,
"fourth_official_id": 15839
},
"leg": "1/1",
"colors": {
"localteam": {
"color": "#F0F0F0",
"kit_colors": "#F0F0F0,#F0F0F0,#F0F0F0,#F0F0F0,#C40010,#0046A8,#F0F0F0"
},
"visitorteam": {
"color": "#002B87",
"kit_colors": "#002B87,#002B87,#002B87,#002B87,#C40010,#0046A8,#002B87"
}
},
"deleted": false,
"localTeam": {
"data": {
"id": 490,
"legacy_id": 501,
"name": "Lokomotiv Moskva",
"short_code": null,
"twitter": null,
"country_id": 227,
"national_team": false,
"founded": 1923,
"logo_path": "https://cdn.sportmonks.com/images//soccer/teams/10/490.png",
"venue_id": 177923,
"current_season_id": 17288
}
},
"visitorTeam": {
"data": {
"id": 7980,
"legacy_id": 113,
"name": "Atlético Madrid",
"short_code": "ATM",
"twitter": "@Atleti",
"country_id": 32,
"national_team": false,
"founded": 1903,
"logo_path": "https://cdn.sportmonks.com/images//soccer/teams/12/7980.png",
"venue_id": 140808,
"current_season_id": 17480
}
}
},
{
"id": 17361028,
"league_id": 2,
"season_id": 17299,
"stage_id": 77448760,
"round_id": 211704,
"group_id": 244366,
"aggregate_id": null,
"venue_id": 8829,
"referee_id": 17308,
"localteam_id": 621,
"visitorteam_id": 683,
"winner_team_id": 683,
"weather_report": {
"code": "clouds",
"type": "overcast clouds",
"icon": "https://cdn.sportmonks.com/images/weather/04n.png",
"temperature": {
"temp": 48.11,
"unit": "fahrenheit"
},
"temperature_celcius": {
"temp": 9,
"unit": "celcius"
},
"clouds": "90%",
"humidity": "87%",
"pressure": 1025,
"wind": {
"speed": "6.71 m/s",
"degree": 80
},
"coordinates": {
"lat": 50,
"lon": 36.25
},
"updated_at": "2020-11-03T19:30:32.966719Z"
},
"commentaries": true,
"attendance": null,
"pitch": null,
"details": null,
"neutral_venue": false,
"winning_odds_calculated": true,
"formations": {
"localteam_formation": "4-1-4-1",
"visitorteam_formation": "4-2-3-1"
},
"scores": {
"localteam_score": 0,
"visitorteam_score": 6,
"localteam_pen_score": null,
"visitorteam_pen_score": null,
"ht_score": "0-4",
"ft_score": "0-6",
"et_score": null,
"ps_score": null
},
"time": {
"status": "FT",
"starting_at": {
"date_time": "2020-11-03 17:55:00",
"date": "2020-11-03",
"time": "17:55:00",
"timestamp": 1604426100,
"timezone": "UTC"
},
"minute": 93,
"second": null,
"added_time": null,
"extra_minute": null,
"injury_time": null
},
"coaches": {
"localteam_coach_id": 464141,
"visitorteam_coach_id": 29710
},
"standings": {
"localteam_position": 1,
"visitorteam_position": 2
},
"assistants": {
"first_assistant_id": 11658,
"second_assistant_id": 12150,
"fourth_official_id": 15834
},
"leg": "1/1",
"colors": {
"localteam": {
"color": "#FC7E00",
"kit_colors": "#D94B14,#FC7E00,#D94B14,#D94B14,#C40010,#0046A8,#0A0A0A"
},
"visitorteam": {
"color": "#F0F0F0",
"kit_colors": "#F0F0F0,#F0F0F0,#F0F0F0,#F0F0F0,#0A0A0A,#FFDF1B,#F0F0F0"
}
},
"deleted": false,
"localTeam": {
"data": {
"id": 621,
"legacy_id": 137,
"name": "Shakhtar Donetsk",
"short_code": "SHK",
"twitter": null,
"country_id": 86,
"national_team": false,
"founded": 1936,
"logo_path": "https://cdn.sportmonks.com/images//soccer/teams/13/621.png",
"venue_id": 8829,
"current_season_id": 17381
}
},
"visitorTeam": {
"data": {
"id": 683,
"legacy_id": 41,
"name": "Borussia M'gladbach",
"short_code": "BMG",
"twitter": "@borussia",
"country_id": 11,
"national_team": false,
"founded": 1900,
"logo_path": "https://cdn.sportmonks.com/images//soccer/teams/11/683.png",
"venue_id": 180,
"current_season_id": 17361Step 2: The API response
Summary of the data:
Step 3: Example Page

Conclusion
Last updated
Was this helpful?