StatsHub Docs
APIAPI v2V2 endpoint referenceRankings

/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
/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
playerId?string
uniqueTournamentId?string
oddsRange.from?string
oddsRange.to?string
minHitRate?string
superSub?string
nationalOnly?string
lineup?string
startedLastGame?string
maxLastGameWithTeam?string
bookmakers?string
endOfDay?string
games?string
leagueIds?string
minMinutes?integer
Formatint64
minWindow?integer
Formatint64
positions?string
sorting.column?string
sorting.direction?string
startOfDay?string
statTypes?string
type?string

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/rankings/player-prop-trends"
{  "availableLines": [    0.1  ],  "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  }}