Player Bans

Returns the latest player bans.

get/bans

Query parameters

string
OR
string

a SteamID

Example:AlphaKeks

Only include bans for this player.

banned_bystring u-int64

a 64-bit SteamID

Example:76561198282622073

Only include bans issued by this user.

reason'macro' | 'auto-bhop' | 'auto-strafe'

Only include bans with this reason.

limitinteger
offsetinteger

Response

totalinteger required

The total number of values available for fetching.

Different endpoints have different hard-limits on how many values they will return at a time. They usually also have an offset query parameter you can use to fetch the next set of values. You can use total to infer when you can stop making requests.

Example response

{
  "values": [
    {
      "player": {
        "id": "STEAM_1:1:161178172"
      },
      "banned_by": {
        "id": "76561198282622073"
      },
      "unban": {
        "admin_id": "76561198282622073",
        "created_at": "1970-01-01T00:00:00Z"
      },
      "created_at": "1970-01-01T00:00:00Z"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.