StatsHub Docs
APIEndpoint referenceV2

/v2/rankings/player-prop-trends

Computes the best trend window and all eligibility filters in SQL, pages the ranked prop keys, then enriches only those selected keys.

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

Computes the best trend window and all eligibility filters in SQL, pages the ranked prop keys, then enriches only those selected keys.

Query Parameters

page?string
pageSize?string
bookmakers?string
games?string
minWindow?integer
Formatint64
positions?string
sorting.column?string
sorting.direction?string
statTypes?string
type?string

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/rankings/player-prop-trends"
{  "data": [    {      "activityInfo": {        "lastGameWithTeam": 0,        "startedLastGame": true      },      "awayTeamId": 0,      "awayTeamName": "string",      "awayTeamSlug": "string",      "bookmakers": [        {          "property1": null,          "property2": null        }      ],      "eventId": 0,      "eventInternalId": 0,      "eventTimestamp": 0,      "homeTeamId": 0,      "homeTeamName": "string",      "homeTeamSlug": "string",      "id": 0,      "inPredictedLineup": true,      "leagueAverage": 0,      "line": 0.1,      "marketName": "string",      "oddsType": "string",      "opponentAverage": 0,      "opponentRank": 0,      "opponentTeamId": 0,      "opponentTeamName": "string",      "opponentTeamSlug": "string",      "playerId": 0,      "playerName": "string",      "position": "string",      "recentGames": [        {          "eventId": 0,          "eventTimestamp": 0.1,          "hasSuperSub": true,          "isHit": true,          "isHome": true,          "minutesPlayed": 0,          "opponentId": 0,          "opponentName": "string",          "opponentSlug": "string",          "originalStatValue": 0.1,          "position": "string",          "statValue": 0.1,          "tournamentId": 0,          "uniqueTournamentId": 0        }      ],      "statType": "string",      "teamId": 0,      "teamName": "string",      "teamPrimaryColor": "string",      "teamSecondaryColor": "string",      "teamSlug": "string",      "totalRanks": 0,      "trendAvg": 0.1,      "trendHits": 0,      "trendTotal": 0.1,      "trendWindow": 0    }  ],  "pagination": {    "currentPage": 0,    "hasNextPage": true,    "hasPreviousPage": true,    "pageSize": 0,    "totalCount": 0,    "totalPages": 0  }}