Skip to content

Season Stats & Analytics

Player on/off ratings

NBA-only. teamplayeronoffdetails (Advanced, per game): for each (team, player) the team's games / minutes / offensive / defensive / net rating with the player on the floor and off it, plus netRatingOnOff (on minus off; null when either side is missing). Filter with team. Written daily by statsapi:on-off.

Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.

GEThttps://api.sportquanta.com/v1/nba/on-off
GETList NBA player on/off ratings for a season
GET/v1/nba/on-off

List NBA player on/off ratings for a season

NBA-only. teamplayeronoffdetails (Advanced, per game): for each (team, player) the team's games / minutes / offensive / defensive / net rating with the player on the floor and off it, plus netRatingOnOff (on minus off; null when either side is missing). Filter with team. Written daily by statsapi:on-off.

Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.

Authorization
Query
List NBA player on/off ratings for a seasoncURL
200Example

Reference context: NBA.

Overview · Response conventions

Authorizations

Authorizationstringheaderrequired

Send a workspace API token in the Authorization: Bearer <token> header.

Query Parameters

seasonintegerrequired

Season start year (2025 for the 2025-26 season).

Required range: 1946 <= x, x <= 2100

teamstring

Canonical team id.

limitintegerdefault:200

Required range: 1 <= x, x <= 2000

provenancebooleandefault:false

Opt in to per-field provenance on supported single game, match, team, player, and venue reads. Lists and composites accept the flag but generally omit provenance. It is returned under _meta.provenance only when source metadata exists.

Response

application/json

Every stored row for the season.

dataobjectrequired
data.seasonintegerrequired
data.itemsobject[]required
data.items.canonicalIdstring
data.items.teamIdstring | null
data.items.playerIdstring | null
data.items.seasonnumber
data.items.onobject | null
data.items.on.gamesPlayednumber | null
data.items.on.minutesnumber | null
data.items.on.offRatingnumber | null
data.items.on.defRatingnumber | null
data.items.on.netRatingnumber | null
data.items.offobject | null
data.items.off.gamesPlayednumber | null
data.items.off.minutesnumber | null
data.items.off.offRatingnumber | null
data.items.off.defRatingnumber | null
data.items.off.netRatingnumber | null
data.items.netRatingOnOffnumber | null

on.netRating − off.netRating; null when either side is missing.

_metaobject

Response request/cache metadata. Optional evidence fields are specific to this handler; cache TTL does not measure source-data freshness.

_meta.request_idstring
_meta.served_fromenum<string>

Available options: live, cache

_meta.cache_ttl_secondsinteger

Response cache TTL; independent of source freshness. Omitted when zero.