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
| Field | Type | Description |
|---|---|---|
SteamId | string | The user's SteamID64 |
CommunityBanned | boolean | Whether the user is banned from the Steam Community |
VACBanned | boolean | Whether the user has a VAC ban on record |
NumberOfVACBans | number | Number of VAC bans on record |
DaysSinceLastBan | number | Number of days since the last ban |
NumberOfGameBans | number | Number of game bans on record |
EconomyBan | string | Economy 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"
}
}