StatsHub Docs
APILegacy APIV1 endpoint referenceTeam

/team/{id}/performanceDataCollection

Same query as TeamPerformance with two differences: it accepts a seasonId filter, and its season filter is unconditional because it has no h2h mode.

GET
/api/team/{id}/performanceDataCollection

Same query as TeamPerformance with two differences: it accepts a seasonId filter, and its season filter is unconditional because it has no h2h mode.

Path Parameters

id*integer
Formatint64

Query Parameters

eventHalf?string
h2h?string
limit?integer
Formatint64
location?string
season?string
seasonId?string
tournamentId?string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/team/0/performanceDataCollection"
{  "data": [    {      "awayTeam": {        "id": 0,        "internalId": 0,        "name": "string",        "shortname": "string",        "slug": "string"      },      "event": {        "id": 0,        "result": "string",        "score": {          "away": 0,          "home": 0        },        "slug": "string",        "timeStartTimestamp": "string"      },      "homeTeam": {        "id": 0,        "internalId": 0,        "name": "string",        "shortname": "string",        "slug": "string"      },      "league": {        "id": 0,        "name": "string",        "slug": "string"      },      "opponentStatistics": {        "property1": 0.1,        "property2": 0.1      },      "statistics": {        "property1": 0.1,        "property2": 0.1      }    }  ]}