Steam
Profile
Get Steam user profile data including online status, privacy settings, and inventory contexts.
Endpoint
This endpoint fetches Steam's profile endpoint and returns detailed information about the user and its inventory contexts.
GET /steam/profile/{ SteamID64 }?api_key={ YourSecretAPIKey }
Required parameters
SteamID64
number
The SteamID64 identifier of the user who's inventory you want to fetch..
YourSecretAPIKey
string
A unique identifier that allows developers to access the Steam Web API.
Response fields
| Field | Type | Description |
|---|---|---|
steamID | object | SteamID object with account identifiers |
name | string | Display name of the user |
onlineState | string | Current online status (e.g. "online", "offline") |
stateMessage | string | Human-readable state message |
privacyState | string | Profile privacy setting (e.g. "public", "private") |
visibilityState | string | Visibility state code |
avatarHash | string | Hash for constructing avatar URLs |
vacBanned | boolean | Whether user has a VAC ban |
tradeBanState | string | Trade ban status (e.g. "None") |
isLimitedAccount | boolean | Whether account is limited |
customURL | string | Custom profile URL slug |
memberSince | string | Account creation date (ISO 8601 format) |
location | string | User's location |
realName | string | User's real name |
summary | string | Profile summary text |
groups | array | Array of group SteamID objects |
primaryGroup | object | Primary group SteamID object |
contexts | object | Object containing inventory contexts keyed by AppID |
SteamID object
| Field | Type | Description |
|---|---|---|
universe | number | Steam universe identifier |
type | number | Account type identifier |
instance | number | Instance identifier |
accountid | number | Account ID |
Context object
| Field | Type | Description |
|---|---|---|
appid | number | Application ID |
name | string | Application name |
icon | string | URL to application icon |
link | string | Steam Community link to application |
asset_count | number | Number of assets in this context |
inventory_logo | string | URL to inventory logo |
trade_permissions | string | Trade permission level (e.g. "FULL") |
load_failed | number | Whether context failed to load (0 or 1) |
rgContexts | object | Object containing sub-contexts keyed by context ID |
Sub-context object
| Field | Type | Description |
|---|---|---|
id | string | Context ID |
name | string | Context name (e.g. "Backpack") |
asset_count | number | Number of assets in this sub-context |
Response example
Example output for this endpoint. For brevity's sake, some objects and arrays were omitted.
response.json
{
"steamID": {
"universe": 1,
"type": 1,
"instance": 1,
"accountid": 78261062
},
"name": "PEPZ",
"onlineState": "online",
"stateMessage": "Online",
"privacyState": "public",
"visibilityState": "3",
"avatarHash": "5b702b331ddeb928225ad562a3e729aecd191b9a",
"vacBanned": false,
"tradeBanState": "None",
"isLimitedAccount": false,
"customURL": "pepzwee",
"memberSince": "2011-02-21T22:00:00.000Z",
"location": "Estonia",
"realName": "SteamApis.com Developer",
"summary": "",
"groups": [
{
"universe": 1,
"type": 7,
"instance": 0,
"accountid": 28077004
},
],
"primaryGroup": {
"universe": 1,
"type": 7,
"instance": 0,
"accountid": 28077004
},
"contexts": {
"440": {
"appid": 440,
"name": "Team Fortress 2",
"icon": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/440/e3f595a92552da3d664ad00277fad2107345f743.jpg",
"link": "https://steamcommunity.com/app/440",
"asset_count": 11,
"inventory_logo": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/440/e613d1d46de26ea755105b898cc8830d305353f3.png",
"trade_permissions": "FULL",
"load_failed": 0,
"rgContexts": {
"2": {
"asset_count": 11,
"id": "2",
"name": "Backpack"
}
}
},
}
}