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
langattribute. 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.sportmicro.com/matches-substitutions?match_id=eq.{match_id}
Get substitutions from a specific match_id and team_idhttps://football.sportmicro.com/matches-substitutions?match_id=eq.{match_id}&team_id=eq.{team_id}
Query Parameters
- match_id integer
The id of the match
Example: eq.339 - team_id integer
The id of the team
Example: eq.10541 - offset string
Default value:
0Limiting and Pagination
Example: 0 - limit string
Default value:
50Limiting and Pagination
Example: 50 - lang string
Default value:
enMulti-language
Example: en
- 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": 339,
"team_id": 10541,
"substitutions": [
{
"minute": 73,
"player_in_id": 10131,
"incident_type": "substitution",
"player_out_id": 24563,
"reversed_time": 18,
"player_in_name": "Tom van Weert",
"player_out_name": "Denzel Jubitana",
"player_in_hash_image": "2be40bc3b5347d8f7825df6a072c40259160d082c47cf96586d81c0bc8f52243",
"player_out_hash_image": "fcca72ebfa5f67389e88498b3d84f24900f6ab8eb05fd3ceeac87698c7e98f90"
}
]
}
]