For example, this user is banned and I want to send a request to the API to see if he/she is banned or not. Can I do that?
Banned User detect


Is it possible to detect if a user is banned from chess.com using the API (api.chess.com)? If so how do I do it?
Yes, the Profile endpoint has the status:

Is it possible to detect if a user is banned from chess.com using the API (api.chess.com)? If so how do I do it?
Yes, the Profile endpoint has the status:
thanks! at first I was looking at players who were not banned so the
closed:fair_play_violations
did not appear.

why would you need that?
I help to run a few leagues and at the start of each new round of team matches I usually do a sweep of all clubs taking part, along with the admins who represent them. One of the things I check for is whether any admin has had their account closed, along with their current status as admins in their club and how recently they've been online etc. Much of that data is available in the player's endpoint.
It's surprising just how many admins quit their clubs halfway through a tournament but either way, I like to have an accurate list of which admins are available to organise matches for new rounds.
Is it possible to detect if a user is banned from chess.com using the API (api.chess.com)? If so how do I do it?