StatsHub Docs
APIEndpoint referenceV2

/v2/rankings/team-prop-trends

Ranks eligible trend keys in SQL, pages those keys, and loads fixture, history, team, and bookmaker projections only for the selected page.

GET
/api/v2/rankings/team-prop-trends

Ranks eligible trend keys in SQL, pages those keys, and loads fixture, history, team, and bookmaker projections only for the selected page.

Query Parameters

page?string
pageSize?string
games?string
sorting.column?string
sorting.direction?string
statTypes?string

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/rankings/team-prop-trends"
{  "data": [    {      "awayTeamId": 0,      "awayTeamName": "string",      "awayTeamSlug": "string",      "bookmakers": [        {          "bookmakerId": null,          "bookmakerName": null,          "oddsValue": 0.1        }      ],      "eventId": 0,      "eventTimestamp": 0,      "homeTeamId": 0,      "homeTeamName": "string",      "homeTeamSlug": "string",      "id": 0,      "leagueId": 0,      "leagueName": "string",      "line": 0.1,      "oddsType": "string",      "opponentHitRate": 0,      "opponentTeamId": 0,      "opponentTeamName": "string",      "opponentTeamSlug": "string",      "recentGames": [        {          "eventId": 0,          "eventTimestamp": 0,          "isHit": true,          "isHome": true,          "opponentId": 0,          "opponentName": "string",          "opponentSlug": "string",          "statValue": 0.1        }      ],      "statDisplay": "string",      "statType": "string",      "teamId": 0,      "teamName": "string",      "teamPrimaryColor": "string",      "teamSecondaryColor": "string",      "teamSlug": "string",      "trendAvg": 0.1,      "trendHits": 0,      "trendTotal": 0.1,      "trendWindow": 0    }  ],  "pagination": {    "currentPage": 0,    "hasNextPage": true,    "hasPreviousPage": true,    "pageSize": 0,    "totalCount": 0,    "totalPages": 0  }}