Skip to main content

Injuries

This endpoint allows you to retrieve the injuries and missing matches.

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 for live matches and every 20 minutes for ongoing matches.
Recommended Calls: Limit calls to 1 per minute for live matches and every 20 minutes for ongoing matches.

Use Cases

Get the injuries from a specific player_id
https://football.sportdevs.com/injuries?player_id=eq.{player_id}

Get the injuries from a specific match_id
https://football.sportdevs.com/injuries?match_id=eq.{match_id}

Get the injuries from a specific season_id
https://football.sportdevs.com/injuries?season_id=eq.{season_id}

Get the injuries from a specific tournament_id
https://football.sportdevs.com/injuries?tournament_id=eq.{tournament_id}

Query Parameters
  • player_id integer

    Default value: eq.21880

    The id of the player

  • match_id integer

    Default value: eq.28911

    The id of the match

  • season_id integer

    Default value: eq.7172

    The id of the season

  • tournament_id integer

    Default value: eq.269

    The id of the tournament

  • offset string

    Default value: 0

    Limiting and Pagination

  • limit string

    Default value: 50

    Limiting and Pagination

  • lang string

    Default value: en

    Multi-language

Responses

OK


Schema array
  • player_id integer

    The id of the player

    Note: This is a Foreign Key to players.id.

  • player_name text

    The name of the player

  • player_hash_image character varying

    Possible values: <= 64 characters

    The hash image of the player

  • type text

    The type

  • reason text

    The reason

  • match_id integer

    The id of the match

    Note: This is a Primary Key.

  • season_id integer

    The id of the season

    Note: This is a Foreign Key to seasons.id.

  • tournament_id integer

    The id of the tournament

    Note: This is a Foreign Key to seasons-by-tournament.tournament_id.

  • start_timestamp timestamp with time zone

    The start timestamp of the match

Loading...