
🇺🇸CheaterStats API Documentation
Base URL
All API requests are sent to the following base URLs:
Authentication
The API uses Bearer Token authentication. You must include your API key in the Authorization header of each request.
Example Header:
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/jsonReplace YOUR_API_TOKEN with your actual API key.
Endpoint: checkUser.php
checkUser.phpThis endpoint allows you to check a Discord user for blacklisted Discord servers.
Method: GET
URL: http://cheaterstats.cc/api/checkUser.php
Parameters:
memberId
The Discord ID of the user to check
String
Yes
option
Search for cheating or leaking Discords - Default: cheating
String
No
Example Request:
Responses:
Success (Status Code 200):
The response contains user information in JSON format.
Example Response (No data found):
Example Response (Data found):
Response Fields:
user: The Discord ID of the queried user.type: The type of Discord servers searched for (cheatingorleaking).data: An array of server data. If no data is found, this array will be empty.serverId: The ID of the server.serverName: The name of the server.roles: An array of role information found on the server.id: The ID of the role (if found, otherwise "No Roles").name: The name of the role (if found, otherwise "No Roles").roleDetected: The timestamp when the role was last detected (ISO 8601 format).
joinedTimestamp: The timestamp when the user joined the server (ISO 8601 format, can benull).
Errors (Status Code 400):
Returned when the memberId parameter is missing in the request.
Example Error Response:
Errors (Status Code 400):
Returned when the option parameter is invalid.
Example Error Response:
Last updated