Pick my best Fantacalcio lineup for the open matchweek
Runs the exact Classic lineup optimiser over your saved squad and the open matchweek, and appends one immutable recommendation. The answer is a whole LINEUP, not a ranking: it chooses the formation, the eleven and the order of the bench together, because the substitution rule scores the bench in the order you leave it and a formation that fits your best players is worth more than any single pick. module pins one formation instead. forced_in treats a player as a sure starter and forced_out leaves him out. Both take player codes from your own squad, and a code you do not own is refused rather than quietly ignored. The optimiser maximises the lineup's expected score UNDER YOUR LEAGUE'S SUBSTITUTION RULE (selection_total): a starter who does not play is replaced from the bench the way your league's substitution_mode says (same role only, or a module change when no same-role reserve has a vote), up to your league's limit, so a better player with a real chance of starting can start over a surer one when the bench covers him. It never starts a player less likely than not to start unless you force him. expected_substitutions and hole_probability say what that risk costs: the latter is the probability of not fielding eleven voted players after every substitution your league's mode allows, and the answer echoes the substitution_mode it was priced under. Present the lineup with projected_points, which is what it is worth if everybody plays, and keep expected_defence as its own line. what_if says what would change if a doubtful bench player were confirmed, and ballottaggi names the closest call in each role. This is advice: it writes a snapshot on Predixsport and nothing else. It never signs in to any fantasy platform and never submits your lineup. Requires mcp:read and fantasy:fantacalcio:write. The Fantacalcio workspace is in a private beta: this endpoint answers 403 for an account outside it.
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/fantacalcio/me/optimize
- Auth: none declared
Headers
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.