Steam

Groups

Get the Steam groups a user belongs to, as a list of group IDs.

Endpoint

This endpoint returns the list of Steam groups a user is a member of. The response is an array of group IDs as strings.

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

Required parameters

steamid
string
The Steam ID of the user whose groups you want to fetch. Accepts various Steam ID formats.

Authentication

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

x-api-key: YourSecretAPIKey

Response fields

The response is an array of group IDs. Each entry is a string representing a Steam group ID.

Response example

response.json
{
  "success": true,
  "result": [
    "4777282",
    "5165781",
    "8558037",
    "9207430",
    "15578786",
    "28077004",
    "34173345",
    "34518042",
    "35143931",
    "41645534",
    "45308779"
  ]
}