Matches Substitutions
This endpoint allows you to retrieve the substitutions for an match.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every minute.
Recommended Calls: Limit calls to 1 per minute.
Use Cases
Get substitutions from a specific match_idhttps://football.sportdevs.com/matches-substitutions?match_id=eq.{match_id}
Get substitutions from a specific match_id and team_idhttps://football.sportdevs.com/matches-substitutions?match_id=eq.{match_id}&team_id=eq.{team_id}
Query Parameters
- match_id integer
Default value:
eq.1
The id of the match
- team_id integer
Default value:
eq.4225
The id of the team
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- match_id integer
The id of the match
- team_id integer
The id of the team
- substitutions jsonb
The substitutions
[
{
"match_id": 1,
"team_id": 4225,
"substitutions": [
{
"minute": 55,
"player_in_id": 10845,
"incident_type": "substitution",
"player_out_id": 9255,
"reversed_time": 36,
"player_in_name": "Jake Beesley",
"player_out_name": "Kylian Kouassi",
"player_in_hash_image": "89e674c760d89d9c9327d4b6e247d98f3babfa73010b19db11d44dcd98af41cf",
"player_out_hash_image": "7d450585d3852b2e3aa1556823e3c0d11bdd9fd27ea04e74b32250886ee05c3f"
},
{
"minute": 58,
"player_in_id": 10841,
"incident_type": "substitution",
"player_out_id": 17265,
"reversed_time": 33,
"player_in_name": "Sonny Carey",
"player_out_name": "Shayne Lavery",
"player_in_hash_image": "49f2ad8681a02a9492465d9e32d5a112c3fe4c989e9139edde84bd39352ef042",
"player_out_hash_image": "8c6dac040118e0d11a2329b613ab39cb9aaa7e9dd976355526587fbb572818e4"
},
{
"minute": 81,
"player_in_id": 3858,
"incident_type": "substitution",
"player_out_id": 161311,
"reversed_time": 10,
"player_in_name": "Tashan Oakley-Boothe",
"player_out_name": "Karamoko Dembélé",
"player_in_hash_image": "f6fd3f31aa52c6d7fa091dbd5b86f7656d331f9ec1d70c1d7b99b71f661a70c0",
"player_out_hash_image": "d3f7c278f6951365295103d5d43be13dd90da197a4d99896202a217dbb1c809b"
},
{
"minute": 81,
"player_in_id": 10958,
"incident_type": "substitution",
"player_out_id": 6565,
"reversed_time": 10,
"player_in_name": "Dominic Thompson",
"player_out_name": "Owen Dale",
"player_in_hash_image": "3b49a6638503555bab2504a887df9ca9490dad100e4e04549a860ea5aff9123b",
"player_out_hash_image": "1a206854bc39aeb793ff84e6a6b31c02dd6e899d78007ba237a7c8882fbf4a72"
}
]
}
]