Fixtures
The fixture endpoint provides information about games in particular leagues. For many customers, the endpoint 'fixtures' is the primary endpoint for their app or website. Because 'fixtures' is one of our API’s most critical endpoints, we’re going to walk you through all six different ways of using the endpoint.
Note that you only have access to fixtures that are in the plan you are subscribed to.
The fixture endpoints can’t be used for live games. For live games, please use our livescores endpoint.
The endpoint is subdivided over six categories where you can request the endpoint:
All these endpoints, except get last updated, share the same possible includes and parameters. Please refer to our includes and filter tutorials on how to use them. Some of the most used filters are:
  • Leagues: filter on league ids.
  • Bookmakers*: filter on bookmaker ids.
  • Markets*: filter on market ids.
  • Status: filter on status.
You can only filter on the bookmakers & markets parameters when you've enriched your response with the odds include.
A total overview of the includes and parameters is available at our API reference guide. For this example, we’re going to show you how to use our different fixture endpoints. You’ll learn how to request fixtures using an id and using a specified date (range).
The end goal of this tutorial is to successfully request (multiple) fixture IDs, as well as request all fixtures between two dates for Celtic. Let’s get started then, shall we?

What is fixture data?

Well, I lied. Before we get started, we’ll first show you what kind of data the fixture endpoints get you.
See below for a response with all the data from one fixture.
Response
Field Description
1
"data": [
2
{
3
"id": 16475287,
4
"league_id": 501,
5
"season_id": 17141,
6
"stage_id": 77447501,
7
"round_id": 194968,
8
"group_id": null,
9
"aggregate_id": null,
10
"venue_id": 8909,
11
"referee_id": 14859,
12
"localteam_id": 53,
13
"visitorteam_id": 338,
14
"winner_team_id": 53,
15
"weather_report": {
16
"code": "clouds",
17
"type": "few clouds",
18
"icon": "https://cdn.sportmonks.com/images/weather/02d.png",
19
"temperature": {
20
"temp": 59.94,
21
"unit": "fahrenheit"
22
},
23
"temperature_celcius": {
24
"temp": 15.5,
25
"unit": "celcius"
26
},
27
"clouds": "20%",
28
"humidity": "67%",
29
"pressure": 1014,
30
"wind": {
31
"speed": "10.29 m/s",
32
"degree": 300
33
},
34
"coordinates": {
35
"lat": 55.87,
36
"lon": -4.26
37
},
38
"updated_at": "2020-08-02T17:15:04.814798Z"
39
},
40
"commentaries": false,
41
"attendance": null,
42
"pitch": null,
43
"details": null,
44
"neutral_venue": false,
45
"winning_odds_calculated": true,
46
"formations": {
47
"localteam_formation": "4-2-3-1",
48
"visitorteam_formation": "4-4-2"
49
},
50
"scores": {
51
"localteam_score": 5,
52
"visitorteam_score": 1,
53
"localteam_pen_score": null,
54
"visitorteam_pen_score": null,
55
"ht_score": "2-1",
56
"ft_score": "5-1",
57
"et_score": null,
58
"ps_score": null
59
},
60
"time": {
61
"status": "FT",
62
"starting_at": {
63
"date_time": "2020-08-02 15:30:00",
64
"date": "2020-08-02",
65
"time": "15:30:00",
66
"timestamp": 1596382200,
67
"timezone": "UTC"
68
},
69
"minute": 90,
70
"second": null,
71
"added_time": null,
72
"extra_minute": null,
73
"injury_time": null
74
},
75
"coaches": {
76
"localteam_coach_id": 1467946,
77
"visitorteam_coach_id": 30082158
78
},
79
"standings": {
80
"localteam_position": 1,
81
"visitorteam_position": 12
82
},
83
"assistants": {
84
"first_assistant_id": 12118,
85
"second_assistant_id": 17249,
86
"fourth_official_id": 15815
87
},
88
"leg": "1/1",
89
"colors": {
90
"localteam": {
91
"color": "#007848",
92
"kit_colors": "#F0F0F0,#139343,#5B0623,#0A0A0A,#5C8FAE,#FFDF1B,#F0F0F0"
93
},
94
"visitorteam": {
95
"color": "#0046A8",
96
"kit_colors": "#0046A8,#0046A8,#0046A8,#0046A8,#C40010,#0046A8,#0046A8"
97
}
98
"deleted": false,
99
"is_placeholder": false,
Copied!
Field
Description
data
Opens an array of data you've requested
id
A unique fixture id
league_id
The unique id of the league the fixture belongs to
season_id
The unique id of the season the fixture belongs to
stage_id
The unique id of the stage the fixture belongs to
round_id
The unique id of the round the fixture belongs to
group_id
The unique id of the group the fixture belongs to
aggregate_id
Indicates if the fixture has an aggregated score
venue_id
The unique id of the venue the fixture is played at
referee_id
The unique id of the referee that is in charge of the fixture
localteam_id
The unique id of the local team
visitorteam_id
The unique id of the visitor team
winnerteam_id
Contains the id of the team that won the fixture
weather_report
Opens an array of weather details. Possible values of the data in this array can be found in our statuses and definitions
commentaries
Indicates if this fixture has commentaries available
attendance
Give information about the visitor attendance of the fixture
pitch
Gives information about the pitch. Possible values can be found in our statuses and definitions
details
Optional additional information.
neutral_venue
Indicates if the fixture was played at a neutral fixture. This often happens in cup finals
It might seem overwhelming, but don’t worry! As you might have noticed in all of our previous tutorials, we've included a tab with the field descriptions.
A small recap: We can see the id of the fixture, which is 16475287. Every fixture has his own unique id. Next, we can see various other ids, such as league, season, local and visitor teams, and the winner’s id. Scroll down a bit more, and you’ll see the final score, total playing time and date of when the match was played, and both teams’ standings.

Request fixtures by date

We’re going to start by using the endpoint called fixtures by date.
We’ve used this endpoint multiple times in our previous tutorials. This is the best option if you want to request all the fixtures of a specific date. You will need to fill in the date in a YYYY-MM-DD format. The API will return all the fixtures of the specified date you requested.
1
https://soccer.sportmonks.com/api/v2.0/fixtures/date/{YYYY-MM-DD}?api_token={API_TOKEN}
Copied!
So, let’s say we use the following default date, that is also used in Postman: 2020-08-02:
Request
Response
1
https://soccer.sportmonks.com/api/v2.0/fixtures/date/2020-08-02?api_token={API_TOKEN}
Copied!
1
"data": [
2
{
3
"id": 16475287,
4
"league_id": 501,
5
"season_id": 17141,
6
"stage_id": 77447501,
7
"round_id": 194968,
8
"group_id": null,
9
"aggregate_id": null,
10
"venue_id": 8909,
11
"referee_id": 14859,
12
"localteam_id": 53,
13
"visitorteam_id": 338,
14
"winner_team_id": 53,
15
"weather_report": {
16
"code": "clouds",
17
"type": "few clouds",
18
"icon": "https://cdn.sportmonks.com/images/weather/02d.png",
19
"temperature": {
20
"temp": 59.94,
21
"unit": "fahrenheit"
22
},
23
"temperature_celcius": {
24
"temp": 15.5,
25
"unit": "celcius"
26
},
27
"clouds": "20%",
28
"humidity": "67%",
29
"pressure": 1014,
30
"wind": {
31
"speed": "10.29 m/s",
32
"degree": 300
33
},
34
"coordinates": {
35
"lat": 55.87,
36
"lon": -4.26
37
},
38
"updated_at": "2020-08-02T17:15:04.814798Z"
39
},
40
"commentaries": false,
41
"attendance": null,
42
"pitch": null,
43
"details": null,
44
"neutral_venue": false,
45
"winning_odds_calculated": true,
46
"formations": {
47
"localteam_formation": "4-2-3-1",
48
"visitorteam_formation": "4-4-2"
49
},
50
"scores": {
51
"localteam_score": 5,
52
"visitorteam_score": 1,
53
"localteam_pen_score": null,
54
"visitorteam_pen_score": null,
55
"ht_score": "2-1",
56
"ft_score": "5-1",
57
"et_score": null,
58
"ps_score": null
59
},
60
"time": {
61
"status": "FT",
62
"starting_at": {
63
"date_time": "2020-08-02 15:30:00",
64
"date": "2020-08-02",
65
"time": "15:30:00",
66
"timestamp": 1596382200,
67
"timezone": "UTC"
68
},
69
"minute": 90,
70
"second": null,
71
"added_time": null,
72
"extra_minute": null,
73
"injury_time": null
74
},
75
"coaches": {
76
"localteam_coach_id": 1467946,
77
"visitorteam_coach_id": 30082158
78
},
79
"standings": {
80
"localteam_position": 1,
81
"visitorteam_position": 12
82
},
83
"assistants": {
84
"first_assistant_id": 12118,
85
"second_assistant_id": 17249,
86
"fourth_official_id": 15815
87
},
88
"leg": "1/1",
89
"colors": {
90
"localteam": {
91
"color": "#007848",
92
"kit_colors": "#F0F0F0,#139343,#5B0623,#0A0A0A,#5C8FAE,#FFDF1B,#F0F0F0"
93
},
94
"visitorteam": {
95
"color": "#0046A8",
96
"kit_colors": "#0046A8,#0046A8,#0046A8,#0046A8,#C40010,#0046A8,#0046A8"
97
}
Copied!
Notice how it’s the same response as our fixture example above? Next up, we’ll show you how to get all the fixtures between two specified dates.

Request fixture by date range

Sometimes, you want to get all the fixtures for a certain date range, such as all the fixtures in a week. Our fixture by date range endpoint will do this for you. You can request fixtures between days, weeks, months, and even years. Once again, the date should be filled in in the YYYY-MM-DD format.
1
https://soccer.sportmonks.com/api/v2.0/fixtures/between/{startdate}/{enddate}?api_token={API_TOKEN}
Copied!
Now, let’s say we want to have all the fixtures that are being played in the week of 2020-08-02 until 2020-08-10:
Request
1
https://soccer.sportmonks.com/api/v2.0/fixtures/between/2020-08-02/2020-08-10?api_token={API_TOKEN}
Copied!
The API will give you all the fixtures between the requested dates. We'll happily show you the API response, but it's not any different from the response of our previous request.

Request fixture by id

The fixture by id endpoint is perfect when you want to request information about a single fixture. This endpoint is often used for specific match pages. To make use of this endpoint, simply use the following URL:
1
https://soccer.sportmonks.com/api/v2.0/fixtures/{Fixture_ID}?api_token={API_TOKEN}
Copied!
Now, we simply add the fixture id from step 1:
Request
Response
1
https://soccer.sportmonks.com/api/v2.0/fixtures/16475287?api_token={API_TOKEN}
Copied!
1
"data": [
2
{
3
"id": 16475287,
4
"league_id": 501,
5
"season_id": 17141,
6
"stage_id": 77447501,
7
"round_id": 194968,
8
"group_id": null,
9
"aggregate_id": null,
10
"venue_id": 8909,
11
"referee_id": 14859,
12
"localteam_id": 53,
13
"visitorteam_id": 338,
14
"winner_team_id": 53,
15
"weather_report": {
16
"code": "clouds",
17
"type": "few clouds",
18
"icon": "https://cdn.sportmonks.com/images/weather/02d.png",
19
"temperature": {
20
"temp": 59.94,
21
"unit": "fahrenheit"
22
},
23
"temperature_celcius": {
24
"temp": 15.5,
25
"unit": "celcius"
26
},
27
"clouds": "20%",
28
"humidity": "67%",
29
"pressure": 1014,
30
"wind": {
31
"speed": "10.29 m/s",
32
"degree": 300
33
},
34
"coordinates": {
35
"lat": 55.87,
36
"lon": -4.26
37
},
38
"updated_at": "2020-08-02T17:15:04.814798Z"
39
},
40
"commentaries": false,
41
"attendance": null,
42
"pitch": null,
43
"details": null,
44
"neutral_venue": false,
45
"winning_odds_calculated": true,
46
"formations": {
47
"localteam_formation": "4-2-3-1",
48
"visitorteam_formation": "4-4-2"
49
},
50
"scores": {
51
"localteam_score": 5,
52
"visitorteam_score": 1,
53
"localteam_pen_score": null,
54
"visitorteam_pen_score": null,
55
"ht_score": "2-1",
56
"ft_score": "5-1",
57
"et_score": null,
58
"ps_score": null
59
},
60
"time": {
61
"status": "FT",
62
"starting_at": {
63
"date_time": "2020-08-02 15:30:00",
64
"date": "2020-08-02",
65
"time": "15:30:00",
66
"timestamp": 1596382200,
67
"timezone": "UTC"
68
},
69
"minute": 90,
70
"second": null,
71
"added_time": null,
72
"extra_minute": null,
73
"injury_time": null
74
},
75
"coaches": {
76
"localteam_coach_id": 1467946,
77
"visitorteam_coach_id": 30082158
78
},
79
"standings": {
80
"localteam_position": 1,
81
"visitorteam_position": 12
82
},
83
"assistants": {
84
"first_assistant_id": 12118,
85
"second_assistant_id": 17249,
86
"fourth_official_id": 15815
87
},
88
"leg": "1/1",
89
"colors": {
90
"localteam": {
91
"color": "#007848",
92
"kit_colors": "#F0F0F0,#139343,#5B0623,#0A0A0A,#5C8FAE,#FFDF1B,#F0F0F0"
93
},
94
"visitorteam": {
95
"color": "#0046A8",
96
"kit_colors": "#0046A8,#0046A8,#0046A8,#0046A8,#C40010,#0046A8,#0046A8"
97
}
98
"deleted": false
99
"is_placeholder": false,
Copied!
Well, will you look at that? It’s the exact same response!
You can also retrieve fixtures by using ‘fixtures’ as an include on certain endpoints.
You can also request fixture by multiple ids, in case you want to request more than one. This is a different endpoint An actual request will look like this:
1
https://soccer.sportmonks.com/api/v2.0/fixtures/multi/16475287,16475288?api_token={API_TOKEN}
Copied!
And that’s done too.
Note that you can request a maximum of 25 fixtures with this endpoint.

Request all fixtures of your favorite team!

As a football fan, you might be more interested in all the matches of your favorite team. We understand and got you covered with our endpoint: get fixtures by date range for team. This endpoint is basically a minor extension from fixtures by date range:
1
https://soccer.sportmonks.com/api/v2.0/fixtures/between/{startdate}/{enddate}/{teamID}?api_token={API_TOKEN}
Copied!
So, let’s say we’re major Celtic fan (team id: 53):
Request
Response
1
https://soccer.sportmonks.com/api/v2.0/fixtures/between/2020-08-02/2020-08-10/53?api_token={API_TOKEN}
Copied!
1
"data": [
2
{
3
"id": 16475287,
4
"league_id": 501,
5
"season_id": 17141,
6
"stage_id": 77447501,
7
"round_id": 194968,
8
"group_id": null,
9
"aggregate_id": null,
10
"venue_id": 8909,
11
"referee_id": 14859,
12
"localteam_id": 53,
13
"visitorteam_id": 338,
14
"winner_team_id": 53,
15
"weather_report": {
16
"code": "clouds",
17
"type": "few clouds",
18
"icon": "https://cdn.sportmonks.com/images/weather/02d.png",
19
"temperature": {
20
"temp": 59.94,
21
"unit": "fahrenheit"
22
},
23
"temperature_celcius": {
24
"temp": 15.5,
25
"unit": "celcius"
26
},
27
"clouds": "20%",
28
"humidity": "67%",
29
"pressure": 1014,
30
"wind": {
31
"speed": "10.29 m/s",
32
"degree": 300
33
},
34
"coordinates": {
35
"lat": 55.87,
36
"lon": -4.26
37
},
38
"updated_at": "2020-08-02T17:15:04.814798Z"
39
},
40
"commentaries": false,
41
"attendance": null,
42
"pitch": null,
43
"details": null,
44
"neutral_venue": false,
45
"winning_odds_calculated": true,
46
"formations": {
47
"localteam_formation": "4-2-3-1",
48
"visitorteam_formation": "4-4-2"
49
},
50
"scores": {
51
"localteam_score": 5,
52
"visitorteam_score": 1,
53
"localteam_pen_score": null,
54
"visitorteam_pen_score": null,
55
"ht_score": "2-1",
56
"ft_score": "5-1",
57
"et_score": null,
58
"ps_score": null
59
},
60
"time": {
61
"status": "FT",
62
"starting_at": {
63
"date_time": "2020-08-02 15:30:00",
64
"date": "2020-08-02",
65
"time": "15:30:00",
66
"timestamp": 1596382200,
67
"timezone": "UTC"
68
},
69
"minute": 90,
70
"second": null,
71
"added_time": null,
72
"extra_minute": null,
73
"injury_time": null
74
},
75
"coaches": {
76
"localteam_coach_id": 1467946,
77
"visitorteam_coach_id": 30082158
78
},
79
"standings": {
80
"localteam_position": 1,
81
"visitorteam_position": 12
82
},
83
"assistants": {
84
"first_assistant_id": 12118,
85
"second_assistant_id": 17249,
86
"fourth_official_id": 15815
87
},
88
"leg": "1/1",
89
"colors": {
90
"localteam": {
91
"color": "#007848",
92
"kit_colors": "#F0F0F0,#139343,#5B0623,#0A0A0A,#5C8FAE,#FFDF1B,#F0F0F0"
93
},
94
"visitorteam": {
95
"color": "#0046A8",
96
"kit_colors": "#0046A8,#0046A8,#0046A8,#0046A8,#C40010,#0046A8,#0046A8"
97
}
98
},
99
"deleted": false
100
"is_placeholder": false
101
},
102
{
103
"id": 16475294,
104
"league_id": 501,
105
"season_id": 17141,
106
"stage_id": 77447501,
107
"round_id": 194969,
108
"group_id": null,
109
"aggregate_id": null,
110
"venue_id": 8906,
111
"referee_id": 15815,
112
"localteam_id": 180,
113
"visitorteam_id": 53,
114
"winner_team_id": null,
115
"weather_report": {
116
"code": "clouds",
117
"type": "few clouds",
118
"icon": "https://cdn.sportmonks.com/images/weather/02d.png",
119
"temperature": {
120
"temp": 70.25,
121
"unit": "fahrenheit"
122
},
123
"temperature_celcius": {
124
"temp": 21.3,
125
"unit": "celcius"
126
},
127
"clouds": "20%",
128
"humidity": "53%",
129
"pressure": 1020,
130
"wind": {
131
"speed": "11.41 m/s",
132
"degree": 60
133
},
134
"coordinates": {
135
"lat": 55.61,
136
"lon": -4.5
137
},
138
"updated_at": "2020-08-09T17:15:05.093474Z"
139
},
140
"commentaries": false,
141
"attendance": null,
142
"pitch": null,
143
"details": null,
144
"neutral_venue": false,
145
"winning_odds_calculated": true,
146
"formations": {
147
"localteam_formation": "4-3-3",
148
"visitorteam_formation": "4-2-3-1"
149
},
150
"scores": {
151
"localteam_score": 1,
152
"visitorteam_score": 1,
153
"localteam_pen_score": null,
154
"visitorteam_pen_score": null,
155
"ht_score": "1-1",
156
"ft_score": "1-1",
157
"et_score": null,
158
"ps_score": null
159
},
160
"time": {
161
"status": "FT",
162
"starting_at": {
163
"date_time": "2020-08-09 15:30:00",
164
"date": "2020-08-09",
165
"time": "15:30:00",
166
"timestamp": 1596987000,
167
"timezone": "UTC"
168
},
169
"minute": 93,
170
"second": null,
171
"added_time": null,
172
"extra_minute": null,
173
"injury_time": null
174
},
175
"coaches": {
176
"localteam_coach_id": 37382888,
177
"visitorteam_coach_id": 1467946
178
},
179
"standings": {
180
"localteam_position": 8,
181
"visitorteam_position": 4
182
},
183
"assistants": {
184
"first_assistant_id": 14467,
185
"second_assistant_id": 18757,
186
"fourth_official_id": 14468
187
},
188
"leg": "1/1",
189
"colors": {
190
"localteam": {
191
"color": "#F0F0F0",
192
"kit_colors": "#F0F0F0,#3D55B6,#5B0623,#0A0A0A,#5C8FAE,#FFDF1B,#0046A8"
193
},
194
"visitorteam": {
195
"color": "#007848",
196
"kit_colors": "#F0F0F0,#139343,#5B0623,#0A0A0A,#5C8FAE,#FFDF1B,#F0F0F0"
197
}
Copied!
Just like that, we requested all the Celtic fixtures between the 2nd of August 2020 and the 10th of August of 2020. This endpoint is excellent for when you are building an application for your favorite team. Because you get to see how your team performed between two dates. If you know the dates for when the season began and when it ended, you can also request all the particular season’s fixtures.

Keep it, synced!

To help you keep your data in sync, we have implemented an endpoint that returns you all the games that have received an update within two hours. Fixtures that have updated lineups, events, or statistics are included. You will only receive updates for fixtures that have ended or haven’t started yet.
1
https://soccer.sportmonks.com/api/v2.0/fixtures/updates?api_token={API_TOKEN}
Copied!
Something that’s closely linked to fixtures is our livescores endpoint. We will discuss this in the next chapter.