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
- Plans: Standard, World Cup. Free plans carry the Standard datasets. Other plans receive
403 with meta.msg = Endpoint not available for your plan. - Authenticate with
api_key=API_KEY in the URL, or Authorization: Bearer API_KEY as an alternative. Both use the same key, without a username. See authentication methods.
Parameters
| Name | Required | Description | Example |
|---|
id | no | Resource ID: league ID for league, season ID for season, team ID for team, player ID for player, match ID for match. | 1005 |
season_id | no | Season ID. | 406 |
player_id | no | Player ID. | 11306 |
match_id | no | Match ID. | 1531916 |
lang | no | Language 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": ""
}
}