SoccersAPIDocs
DocsReferenceStatistics › Player statistics

GETPlayer statistics

Season statistics with id and season_id, or single-match statistics with player_id and match_id.

/v2.2/stats/ with t=player

Try it in the interactive referenceAll Statistics operations

Request

GET /v2.2/stats/?user=USER&token=TOKEN&t=player&id=18103&season_id=12516

Parameters

NameRequiredDescriptionExample
idnoResource ID: league ID for league, season ID for season, team ID for team, player ID for player, match ID for match.1005
season_idnoSeason ID.406
player_idnoPlayer ID.11306
match_idnoMatch ID.1531916
langnoLanguage code for localized names, for example en, es, de, fr, it, pt, tr, pl, ko or zh. Verified on country, continent and league catalogue names; match and statistics payloads are not translated.en

Example response

{
  "data": {
    "id": "18103",
    "name": "Magalhaes, Gabriel",
    "matches": {
      "played": {
        "total": 37,
        "avg": 97.37
      },
      "starting": {
        "total": 37,
        "avg": 97.37
      }
    },
    "minutes_played": 3330,
    "assists": {
      "total": null,
      "avg": 0
    },
    "penalties": {
      "total": null,
      "avg": 0
    },
    "offsides": {
      "total": null,
      "avg": 0
    },
    "substitutions": {
      "in": {
        "total": null,
        "avg": 0
      },
      "out": {
        "total": null,
        "avg": 0
      }
    },
    "cards": {
      "yellow": {
        "total": 0,
        "avg": 0
      },
      "yellowred": {
        "total": 0,
        "avg": 0
      },
      "redcards": {
        "total": 0,
        "avg": 0
      }
    },
    "goals": {
      "total": 0,
      "avg": 0
    },
    "shots": {
      "total": 0,
      "on_target": {
        "total": 0,
        "avg": 0
      },
      "off_target": {
        "total": 0,
        "avg": 0
      },
      "blocked": {
        "total": 0,
        "avg": 0
      }
    }
  },
  "meta": {
    "requests_left": 2950,
    "user": "your_username",
    "plan": "Soccer API 50",
    "page": 1,
    "pages": 1,
    "count": 1,
    "total": 1,
    "msg": ""
  }
}