SofaScore
SofaScore player national team record
Returns a player's national team record: for each national team the appearances, goals and debut date. An empty teams list is a valid response for a player who never played internationally.
get/sofascore/player-national-team-statistics
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/player-national-team-statistics
- Auth: API key in header x-api-key
Query parameters
idstring required
Numeric SofaScore player id
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"player_id": 839956,
"teams": [
{
"appearances": 59,
"debut_date": "2019-09-06",
"goals": 65,
"team": {
"country": "Spain",
"id": 2817,
"name": "FC Barcelona",
"short_name": "Barcelona",
"slug": "barcelona"
}
}
]
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.