You can get a large list of active players from the club members endpoint. Just pick a large club like the Hikaru fan club and then parse for the "weekly" members
Identifying Banned Accounts
It's not comprehensive but thousands of players play in the Official Chess.com Daily Chess Championship daily tournament every year since 2018. And you can iterate through the usernames and check for fair play violations. I think there's 63k in the tournament this year.
I'm looking for a way to identify accounts--that is, accounts whose status is "closed:Fair_play_violations".
The apparent difficulty in this is getting a list of player usernames to loop through to apply the player profile URL pattern. My first thought was to get the player-base for a country and find all of the banned players in a given country, but since this endpoint shows only active users on the day of query, this won't work. (This is similar to the problem that this user had: https://www.chess.com/clubs/forum/view/help-me-with-chess-web-api-errors).
My end goal is to identify some subset of players who played with eventually-banned-cheaters and look at their gameplay for some period of time on either side of being matched with the cheaters. Any advice on this is greatly appreciated. In general, a great starting point would just be some way to get a long list of active usernames from the past year or so.
Thanks!