{"name":"win-prob","description":"Estimates live in-game win probability for NFL, NBA, MLB, NHL, and soccer from the current score and time remaining. Returns each team's win probability, the projected final margin, the size of the swing still possible, and human-readable drivers. Built-in scoring volatility for NFL/NCAAF/NBA/NCAAB/WNBA/MLB/NHL/soccer; override scoring_std for any sport. Statistical estimate, not betting advice. Use it as a live sports win probability API or in-game win chance calculator.","price":"$0.003","method":"POST","input_schema":{"properties":{"sport":{"type":"string","description":"Sport/league: nfl, ncaaf, nba, ncaab, wnba, mlb, nhl, soccer/epl/mls. Case-insensitive. Use 'generic' with scoring_std for anything else."},"score_a":{"type":"number","description":"Current score of team A (the reference team)."},"score_b":{"type":"number","description":"Current score of team B."},"time_remaining_fraction":{"type":"number","description":"Fraction of the game still to play, 0-1. Provide this OR minutes_remaining + minutes_total."},"minutes_remaining":{"type":"number","description":"Game minutes left (alternative to time_remaining_fraction)."},"minutes_total":{"type":"number","description":"Total game minutes (e.g. 48 NBA, 60 NFL/NHL)."},"pregame_spread":{"type":"number","description":"Optional expected FINAL margin for team A at kickoff (positive = A favored). Default 0 (even)."},"scoring_std":{"type":"number","description":"Optional override of the final-margin standard deviation; required for sports without a built-in default."},"team_a_name":{"type":"string","description":"Optional label for team A."},"team_b_name":{"type":"string","description":"Optional label for team B."}},"required":["score_a","score_b"]},"input_example":{"sport":"nba","score_a":58,"score_b":52,"minutes_remaining":18,"minutes_total":48,"pregame_spread":3,"team_a_name":"Celtics","team_b_name":"Heat"},"output_example":{"sport":"nba","win_probability_a":0.8442,"win_probability_b":0.1558,"favored":"Celtics","projected_final_margin":7.13,"model":{"type":"random-walk (normal final-margin)","scoring_std_used":11.5,"one_sigma_remaining_swing":7.04}},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}