Steam

Bans

Get Steam user ban status including VAC bans, game bans, and trade ban information.

Endpoint

This endpoint returns the ban status for a Steam user, including VAC bans, game bans, community ban status, and trade ban information.

GET   /v2/steam/users/{steamid}/bans

Required parameters

steamid
string
The Steam ID of the user whose ban status you want to check. Accepts various Steam ID formats.

Authentication

Include your API key as the x-api-key request header.

x-api-key: YourSecretAPIKey

Response fields

FieldTypeDescription
SteamIdstringThe user's SteamID64
CommunityBannedbooleanWhether the user is banned from the Steam Community
VACBannedbooleanWhether the user has a VAC ban on record
NumberOfVACBansnumberNumber of VAC bans on record
DaysSinceLastBannumberNumber of days since the last ban
NumberOfGameBansnumberNumber of game bans on record
EconomyBanstringEconomy ban status (e.g. "none", "probation", "banned")

Response example

Example output for this endpoint.

response.json
{
  "success": true,
  "result": {
    "SteamId": "76561198038526790",
    "CommunityBanned": false,
    "VACBanned": false,
    "NumberOfVACBans": 0,
    "DaysSinceLastBan": 0,
    "NumberOfGameBans": 0,
    "EconomyBan": "none"
  }
}