Player Stats / Season

GET

The Player Stats Endpoint gives you singular player statistics by season ID

Description

Headersapplication/json
Endpoint Example https://api.sportdatastreamapi.com/stats/?user=USERNAME&token=TOKEN&t=player&id=PLAYER_ID&season_id=SEASON_ID
Endpoint https://api.sportdatastreamapi.com/stats/?user=null&token=null&t=player&id=13185&season_id=406
PaginatedNo, this endpoint is not paginated

Example Response

{
    "data": [
        {
          "id": 13185,
          "name": "Hummels, Mats",
          "matches": {
            "played": {
              "total": 24,
              "avg": 100
            },
            "starting": {
              "total": 24,
              "avg": 100
            }
          },
          "minutes_played": 1998,
          "assists": {
            "total": 4,
            "avg": 16.67
          },
          "penalties": {
            "total": null,
            "avg": 0
          },
          "offsides": {
            "total": 1,
            "avg": 4.17
          },
          "corners": {
            "total": null,
            "avg": 0
          },
          "substitutions": {
            "in": {
              "total": null,
              "avg": 0
            },
            "out": {
              "total": 3,
              "avg": 12.5
            }
          },
          "cards": {
            "yellow": {
              "total": 3,
              "avg": 12.5
            },
            "yellowred": {
              "total": 0,
              "avg": 0
            },
            "redcards": {
              "total": 0,
              "avg": 0
            }
          },
          "goals": {
            "total": 1,
            "avg": 4.17
          },
          "shots": {
            "total": 19,
            "on_target": {
              "total": 5,
              "avg": 26.32
            },
            "off_target": {
              "total": 13,
              "avg": 68.42
            },
            "blocked": {
              "total": 1,
              "avg": 5.26
            }
          }
        }
      ],
    }