Tips and tricks
Fixture score
https://api.sportmonks.com/v3/football/fixtures/18804545?api_token=YOUR_TOKEN&include=scores{
"data": {
"id": 18804545,
"sport_id": 1,
"league_id": 2286,
"season_id": 19724,
"stage_id": 77457819,
"group_id": null,
"aggregate_id": null,
"round_id": null,
"state_id": 5,
"venue_id": 5530,
"name": "Fiorentina vs West Ham United",
"starting_at": "2023-06-07 19:00:00",
"result_info": "West Ham United won after full-time.",
"leg": "1/1",
"details": null,
"length": 90,
"placeholder": false,
"has_odds": true,
"starting_at_timestamp": 1686164400,
"scores": [
{
"id": 12813095,
"fixture_id": 18804545,
"type_id": 1,
"participant_id": 1,
"score": {
"goals": 0,
"participant": "away"
},
"description": "1ST_HALF"
},
{
"id": 12813094,
"fixture_id": 18804545,
"type_id": 1,
"participant_id": 109,
"score": {
"goals": 0,
"participant": "home"
},
"description": "1ST_HALF"
},
{
"id": 12813168,
"fixture_id": 18804545,
"type_id": 2,
"participant_id": 109,
"score": {
"goals": 1,
"participant": "home"
},
"description": "2ND_HALF"
},
{
"id": 12813096,
"fixture_id": 18804545,
"type_id": 1525,
"participant_id": 109,
"score": {
"goals": 1,
"participant": "home"
},
"description": "CURRENT"
},
{
"id": 12813097,
"fixture_id": 18804545,
"type_id": 1525,
"participant_id": 1,
"score": {
"goals": 2,
"participant": "away"
},
"description": "CURRENT"
},
{
"id": 12813169,
"fixture_id": 18804545,
"type_id": 2,
"participant_id": 1,
"score": {
"goals": 2,
"participant": "away"
},
"description": "2ND_HALF"
}
]
},Fixture events
Add player information
https://api.sportmonks.com/v3/football/fixtures/18804545?api_token=YOUR_TOKEN&include=events.player{
"data": {
"id": 18804545,
"sport_id": 1,
"league_id": 2286,
"season_id": 19724,
"stage_id": 77457819,
"group_id": null,
"aggregate_id": null,
"round_id": null,
"state_id": 5,
"venue_id": 5530,
"name": "Fiorentina vs West Ham United",
"starting_at": "2023-06-07 19:00:00",
"result_info": "West Ham United won after full-time.",
"leg": "1/1",
"details": null,
"length": 90,
"placeholder": false,
"has_odds": true,
"starting_at_timestamp": 1686164400,
"events": [
{
"id": 85639443,
"fixture_id": 18804545,
"period_id": 4852787,
"participant_id": 1,
"type_id": 19,
"section": "event",
"player_id": 96426,
"related_player_id": null,
"player_name": "Saïd Benrahma",
"related_player_name": null,
"result": null,
"info": "Simulation",
"addition": null,
"minute": 31,
"extra_minute": null,
"injured": null,
"on_bench": false,
"coach_id": null,
"sub_type_id": 1503,
"player": {
"id": 96426,
"sport_id": 1,
"country_id": 614,
"nationality_id": 614,
"city_id": null,
"position_id": 27,
"detailed_position_id": 152,
"type_id": 27,
"common_name": "M. Benrahma",
"firstname": "Mohamed Saïd",
"lastname": "Benrahma",
"name": "Mohamed Saïd Benrahma",
"display_name": "Saïd Benrahma",
"image_path": "https://cdn.sportmonks.com/images/soccer/players/10/96426.png",
"height": 172,
"weight": 67,
"date_of_birth": "1995-08-10",
"gender": "male"
}
},
{
"id": 85639771,
"fixture_id": 18804545,
"period_id": 4852787,
"participant_id": 1,
"type_id": 10,
"section": "event",
"player_id": 161284,
"related_player_id": null,
"player_name": "Luka Jović ",
"related_player_name": null,
"result": null,
"info": "Offside",
"addition": "Goal Disallowed",
"minute": 45,
"extra_minute": 5,
"injured": null,
"on_bench": false,
"coach_id": null,
"sub_type_id": null,
"player": {
"id": 161284,
"sport_id": 1,
"country_id": 296,
"nationality_id": 296,
"city_id": null,
"position_id": 27,
"detailed_position_id": 151,
"type_id": 27,
"common_name": "L. Jović",
"firstname": "Luka",
"lastname": "Jović",
"name": "Luka Jović",
"display_name": "Luka Jović ",
"image_path": "https://cdn.sportmonks.com/images/soccer/players/4/161284.png",
"height": 182,
"weight": 79,
"date_of_birth": "1997-12-23",
"gender": "male"
}
},
//and more!Extra event info
Extra fixture information
Extra player information
Extra topscorer details
Last updated
Was this helpful?