FRP LogoFuture Reportbot

Get Bans

Developer Info

This endpoint is cached for 5 min

🛠 Endpoint

GET https://api.fbot.cc/v1/stats/bans

The following parameters can be included in the request query parameters

FieldTypeRequiredDescription
laststringNoThe last steam id for pagination

🚀 Response

Upon successfully retrieving the queue status, the API will return a 200 OK response with the following structure:

{
    "success": true,
    "message": "Queue status retrieved successfully",
    "data": [
        {
            user: {
                steam_id: "76561198000000000",
                name: "Sample User",
                avatar: "https://steamcdn-a.akamaihd.net/avatars/sample.jpg",
            },
            bans: {
                vac: 0,
                game: 1,
                community: true,
                
                last_ban: 10,
                banned_at: "2021-10-10T10:10:10Z",
 
                last_checked: "2021-10-10T10:10:10Z",
            },
            reported_at: "2021-10-10T10:10:10Z",
        }
    ]
}

Response Fields

FieldTypeDescription
successbooleanIndicates whether the request was successful (true or false).
messagestringA message from the API
data.statusstringThe status of the report on the queue
data.positionnumberThe position of the report in the queue
data.target.steam_idstringThe Steam ID of the user in the queue
data.target.namestringThe name of the user in the queue
data.target.avatarstringThe avatar of the user in the queue
data.stats.totalnumberThe total number of reports for the user
data.stats.successnumberThe number of successful reports for the user
data.stats.failednumberThe number of failed reports for the user
data.stats.repeatednumberThe number of repeated reports for the user

On this page