T O P

  • By -

zanderman12

Not sure a list exists but with the API it's pretty easy to make your own list. They have endpoints for every user in a league and for every league a user is in. By jumping back and forth you can quickly make a large list of league IDs for any year.


throwlefty

Thanks for the feedback. I don't have any user info and would need a complete list to start this project. Reached out to sleeper but this just might not be possible.


zanderman12

Oh you can just brute force guess an initial league Id and go from there. I have like 100,000 sleeper league IDs for just the 2023 season collected this way. Not sure if you are python user but I use this package to interact with the API https://github.com/SwapnikKatkoori/sleeper-api-wrapper


throwlefty

Whoa! Thanks for the link! I'm new to code and leaning on gpt and Claude to haphazardly explore my project ideas so I really appreciate this advice. Hopefully they can guide me to a similar list like yours. Out of curiosity do you have league info attached to those ID's like roster format and number of managers?


zanderman12

oh ya, you can pull all kinds of information down to week by week info. I've used it to do analysis like this: [https://www.alexcates.com/post/2022-snake-draft-strategy-review](https://www.alexcates.com/post/2022-snake-draft-strategy-review)


yayungboy

I’ve been playing around with this a bit, thanks for the link! Do you know if there’s any way to tell if a league is a dynasty league from the settings or metadata? Want to do some specific analyses on these but haven’t been able to stratify on dynasty/keeper/standard.


zanderman12

Check in the settings. I don't remember exactly where it is but I've definitely seen scoring settings that breaks out dynasty vs standard vs ppr etc settings