API Documentation
PythBots API Access PythBots features programmatically using simple HTTPS endpoints. These APIs let you:Look up users Get chat staff and ranks View chat statis…
Updated Jan 25, 2026
Chat Rank Info
Chat Rank InfoGet staff and ranks for a chat (by chat ID) Endpointhttps://pythbots.com/api/crank.php?chatid=$chatid What it doesReturns staff members and their…
Updated Jan 25, 2026
Chat Stats
Chat StatsGet chat message stats, users, and more (by chat ID) Endpointhttps://pythbots.com/api/cstats.php?chatid=$chatid What it doesReturns stats and data fo…
Updated Jan 25, 2026
Get all mail messages
Mail API - Get All MessagesRetrieve all messages (read and unread) Endpointhttps://pythbots.com/api/mail.php?personalkey=$personalkey&readall Parametersper…
Updated Jan 25, 2026
See mail messages
Mail API - Get New MessagesRetrieve all unread messages Endpointhttps://pythbots.com/api/mail.php?personalkey=$personalkey&readnew What it doesReturns unre…
Updated Jan 25, 2026
Send mail by username/ID
Mail API - Send Message (by username)Send an encrypted message to another user using your personal key Endpointhttps://pythbots.com/api/mail.php?personalkey=$p…
Updated Jan 25, 2026
🔒 User Info
User InfoGet info for a specific user by xat username or ID Endpointhttps://pythbots.com/api/userinfo.php?user=$usernameorid What it doesReturns info for a sin…
Updated Mar 4, 2026