StatsHub Docs
APIEndpoint referenceV2

/v2/predictions/team-statistics

Pages eligible fixtures in SQL before loading and pricing their bookmaker boards.

GET
/api/v2/predictions/team-statistics

Pages eligible fixtures in SQL before loading and pricing their bookmaker boards. In positive-EV mode, the same SQL key query evaluates the Poisson edge predicate against the stored odds JSON.

Authorization

X-Internal-Key<token>

Shared service key. Operations using it also require X-Telegram-User-Id.

In: header

X-Telegram-User-Id<token>

Telegram user represented by an authenticated internal service.

In: header

Query Parameters

page?string
pageSize?string
date?string
eventIds?string
search?string
uniqueTournamentId?string
uniqueTournamentIds?string
metric?string

Header Parameters

X-Internal-Key?string
X-Telegram-User-Id?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/predictions/team-statistics"
{  "data": [    {      "awayBets": [        {          "bestOverBookmaker": "string",          "bestOverEdge": 0,          "bestOverOdds": 0,          "bestUnderBookmaker": "string",          "bestUnderEdge": 0,          "bestUnderOdds": 0,          "bookmakers": [            {              "bookmakerName": "string",              "overEdge": 0,              "overOdds": 0,              "underEdge": 0,              "underOdds": 0            }          ],          "fairOverOdds": 0,          "fairUnderOdds": 0,          "line": 0.1,          "probOver": 0,          "probUnder": 0        }      ],      "awayLambda": 0,      "awayTeamId": 0,      "awayTeamName": "string",      "eventId": 0,      "homeBets": [        {          "bestOverBookmaker": "string",          "bestOverEdge": 0,          "bestOverOdds": 0,          "bestUnderBookmaker": "string",          "bestUnderEdge": 0,          "bestUnderOdds": 0,          "bookmakers": [            {              "bookmakerName": "string",              "overEdge": 0,              "overOdds": 0,              "underEdge": 0,              "underOdds": 0            }          ],          "fairOverOdds": 0,          "fairUnderOdds": 0,          "line": 0.1,          "probOver": 0,          "probUnder": 0        }      ],      "homeLambda": 0,      "homeTeamId": 0,      "homeTeamName": "string",      "internalId": 0,      "leagueName": "string",      "matchDate": 0,      "slug": "string",      "totalBets": [        {          "bestOverBookmaker": "string",          "bestOverEdge": 0,          "bestOverOdds": 0,          "bestUnderBookmaker": "string",          "bestUnderEdge": 0,          "bestUnderOdds": 0,          "bookmakers": [            {              "bookmakerName": "string",              "overEdge": 0,              "overOdds": 0,              "underEdge": 0,              "underOdds": 0            }          ],          "fairOverOdds": 0,          "fairUnderOdds": 0,          "line": 0.1,          "probOver": 0,          "probUnder": 0        }      ],      "totalLambda": 0,      "uniqueTournamentId": 0    }  ],  "pagination": {    "currentPage": 0,    "hasNextPage": true,    "hasPreviousPage": true,    "pageSize": 0,    "totalCount": 0,    "totalPages": 0  }}