Enterprise API
Get player participation estimates
Available for: Enterprise API.
Get player participation estimates with their event, team, and player details and available notes. Filter by personId or teamId, choose the sort order, and use the returned pagination cursor to continue through pages of 50 items.
Path Parameters
- Type: stringleaguerequired
League identifier (e.g., "nfl", "nba")
Query Parameters
- Type: stringcursor
Cursor for pagination
- Type: stringorder
Sort order: "desc" (default, newest first) or "asc" (oldest first)
- Type: integerFormat: int64person
Id Filter by specific player ID
- Type: integerFormat: int32team
Id Filter by specific team ID
- Type: stringapi
-version
Headers
- Type: stringX
- A P I - Version
Responses
- 401
Authentication is missing, invalid, expired, or revoked.
- application/json
Request Example for get/player/{league}/percent-to-play
curl 'https://data.unabated.com/player/{league}/percent-to-play?order=desc' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
"data": [
{
"leagueId": 1,
"person": {
"id": 1,
"firstName": null,
"lastName": null
},
"event": {
"id": 1,
"name": null,
"eventStart": null,
"statusId": null
},
"team": {
"id": 1,
"name": null
},
"percentToPlay": 1,
"notes": null,
"meta": {
"createdAt": null,
"updatedAt": null
}
}
],
"success": true,
"messages": [
"string"
],
"pagination": {
"nextCursor": null,
"previousCursor": null
}
}