StatsHub Docs
APIAPI v2V2 endpoint referenceTeams

/teams/{teamId}/substitute-split

Serves a team's starter-versus-substitute split.

GET
/teams/{teamId}/substitute-split

Serves a team's starter-versus-substitute split.

Path Parameters

teamId*string

Query Parameters

matches?integer
Formatint64

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/teams/string/substitute-split"
{  "matches": 0,  "playerMinutes": {    "property1": {      "avg": 0.1,      "n": 0    },    "property2": {      "avg": 0.1,      "n": 0    }  },  "splits": {    "property1": {      "subPct": 0,      "subStat": 0.1,      "totalStat": 0.1    },    "property2": {      "subPct": 0,      "subStat": 0.1,      "totalStat": 0.1    }  },  "teamId": 0}