fantasy

Set tonight's lineup for my season-long NBA league

Places the players you hold who have a game tonight into the slots your league actually fields, and returns the placement with the highest expected points. The answer is EXACT, not a ranking: your best guard can be worth nothing tonight if the only slots he fits are already taken by better guards, which is the mistake a player-by-player list makes and this endpoint does not. Every seat says where its number came from: tonight is the model's projection for tonight's game, and a player we hold nothing measured for carries a baseline estimate, never a zero. Each seat also carries eligibility_confirmed, which is false while the player's platform eligibility is still OUR guess from his listed position: say so wherever you show the placement. locked names the players whose game has already tipped off, so their SLOT cannot change: a lock keeps a player in the slot he is ALREADY playing in and the rest is optimised around him. Send {"player_name": "...", "slot": "UTIL"} when you know the seat. A bare name is resolved against the lineup last returned for the same day, and refused when there is none, because a guessed seat moves a slot. Season-long squads only. The official NBA Salary Cap game has its own Gameday card on GET /v1/fantasy/nba/me, and a nine-category league is refused because nine columns have no single score to maximise. Appends an immutable snapshot and changes nothing else. It never signs in to ESPN, Yahoo, Sleeper or the NBA game and never submits a lineup anywhere. Owner comes from the bearer token. Requires mcp:read and fantasy:nba:write. The NBA fantasy workspace is a public beta. When the operator narrows it to a private trial, this endpoint answers 403 for an account outside it.

post/v1/fantasy/nba/me/lineup

Request

  • Base URL: https://api.predixsport.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.predixsport.com/v1/fantasy/nba/me/lineup
  • Auth: none declared

Headers

authorizationstring nullable

Request body

seasonstring nullable

NBA season, e.g. 2027. Omitted = the current season.

Response

Successful Response

sport'nba'
mode'lineup'
snapshot_idinteger required
seasonstring required
presetstring required
policy_versionstring nullable
daystring nullable
board_digeststring required
roster_revisioninteger required
unfilledstring[]

Slots no player you hold is eligible to fill tonight.

expected_totalnumber nullable
locked_unplacedstring[]
baselinenumber nullable

What a player we hold no projection for was priced at, read off the bottom of this squad. Never zero.

Changes