Note: Your league ID can be found in your URL on ESPN when viewing your league. The year field should be the year when the season ends (this season is 2025).
You only need espn_s2 and swid cookies if your league is private.
How to find your espn_s2 and swid:
Log in to your account on ESPN's fantasy basketball website. Right-click anywhere on the website and select
"Inspect". From there, click on "Storage" in the top bar. Then click the "Cookies" section for
http://fantasy.espn.com. You should be able to find your swid and espn_s2 values there. They remain the
same through different sessions.
If you want to test this tool out, click the button below to use an example league: