Skip to content

ESPN_2 and SWID Credentials #150

Answered by dtcarls
slmroz asked this question in ESPN API
Nov 19, 2020 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

You can find these two values after logging into your espn fantasy football account on espn's website. (Chrome Browser) Right click anywhere on the website and click inspect option. From there click Application on the top bar. On the left under Storage section click Cookies then http://fantasy.espn.com. From there you should be able to find your swid and espn_s2 variables and values.
It remains the same through different sessions.

10/13/22 update: Updating this answer with an easier method. The above still fully works. There is a chrome extension that will pull this from your cookies that is a bit easier than above. The extension is open source if you want to take a look at the code first.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@slmroz
Comment options

@rysull23
Comment options

@rysull23
Comment options

@dtcarls
Comment options

@rysull23
Comment options

Answer selected by cwendt94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants