Note: Your league ID can be found in your ESPN league URL. The year is the season end year (this season is 2025).
You only need espn_s2
and swid
if your league is private.
How to find your espn_s2 and swid:
Log in to ESPN fantasy basketball. Open DevTools → Application/Storage → Cookies for fantasy.espn.com to copy values.
If you want to test this tool out, click one of the buttons below to use an example league: