StatsHub Docs
APIAPI v2V2 endpoint referenceTeams

/teams/comparison

Serves two teams' numbers side by side.

GET
/teams/comparison

Serves two teams' numbers side by side.

Query Parameters

homeTeamId?string
awayTeamId?string
seasonId?string
tournamentId?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/teams/comparison"
{  "additionalStats": [    {      "property1": null,      "property2": null    }  ],  "awayTeam": {    "property1": null,    "property2": null  },  "data": [    {      "property1": null,      "property2": null    }  ],  "homeTeam": {    "property1": null,    "property2": null  }}