Steam

User

Get Steam user profile data including display name, avatar, online status, and account details.

Endpoint

This endpoint returns detailed profile information for a Steam user via the official Steam API. It provides summary data including the user's display name, avatar, online status, and account metadata.

GET   /v2/steam/users/{steamid}

Required parameters

steamid
string
The Steam ID of the user whose profile 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

FieldTypeDescription
steamIDstringThe user's SteamID64.
avatarobjectAvatar image URLs and hash. See fields below.
avatar.smallstringURL to the small avatar image (32x32).
avatar.mediumstringURL to the medium avatar image (64x64).
avatar.largestringURL to the large avatar image (184x184).
avatar.hashstringHash used to construct avatar URLs.
urlstringFull URL to the user's Steam profile.
visiblebooleanWhether the profile is publicly visible.
personaStatenumberOnline status (0=Offline, 1=Online, 2=Busy, 3=Away, 4=Snooze, 5=Looking to trade, 6=Looking to play).
personaStateFlagsnumberAdditional persona state flags.
allowsCommentsbooleanWhether comments are allowed on the profile.
nicknamestringThe user's display name.
lastLogOffTimestampnumberUnix timestamp of the user's last logoff.
createdTimestampnumberUnix timestamp of when the account was created.
primaryGroupIDstringSteamID64 of the user's primary group.
countryCodestringISO country code of the user's location.

Response example

Example output for this endpoint.

response.json
{
  "success": true,
  "result": {
    "steamID": "76561198038526790",
    "avatar": {
      "small": "https://avatars.steamstatic.com/8fc8d5da91fee98bd9d419f89fd508d66945c8f7.jpg",
      "medium": "https://avatars.steamstatic.com/8fc8d5da91fee98bd9d419f89fd508d66945c8f7_medium.jpg",
      "large": "https://avatars.steamstatic.com/8fc8d5da91fee98bd9d419f89fd508d66945c8f7_full.jpg",
      "hash": "8fc8d5da91fee98bd9d419f89fd508d66945c8f7"
    },
    "url": "https://steamcommunity.com/id/pepzwee/",
    "visible": true,
    "personaState": 0,
    "personaStateFlags": 0,
    "allowsComments": true,
    "nickname": "PEPZ",
    "lastLogOffTimestamp": 1776545510,
    "createdTimestamp": 1298382620,
    "primaryGroupID": "103582791457598412",
    "countryCode": "EE"
  }
}