SoccersAPIDocsv2.2
Docs/Reference/Statistics/Player statistics

GETPlayer statistics Standard, World Cup

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/?api_key=API_KEY&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 catalogue names. Available codes: en, el, aa, it, de, es, ru, nl, pl, fr, pt, ka, vi, hi, tr, id, th, zh, zht, ro, ko and fa. Legacy aliases: gr maps to el, and ar maps to aa. Defaults to en; an unavailable code returns 400 Bad Request. Proper names can remain unchanged, and match, event, odds 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": ""
  }
}