forked from syntaxerrors/Steam
-
Notifications
You must be signed in to change notification settings - Fork 0
Steam ID Guide
TeemoCell edited this page Jul 20, 2026
·
1 revision
Steam accounts can be represented in several formats. Endpoint factories normalize supported input formats to Steam64 internally.
| Format | Example |
|---|---|
| Steam64 | 76561197960287930 |
| Steam2 | STEAM_0:0:11101 |
| Steam3 | [U:1:22202] |
| Account ID / Steam32 | 22202 |
Steam64 is the safest format for Web API calls.
$player = $steam->player('76561197960287930');
$user = $steam->user('STEAM_0:0:11101');$steam64 = $steam->convertId('STEAM_0:0:11101', 'id64');
$steam2 = $steam->convertId($steam64, 'id32');
$steam3 = $steam->convertId($steam64, 'id3');Supported output aliases include:
-
ID64,id64,64; -
ID32,id32,32; -
ID3,id3,3.
Without a requested output format, the converter returns all supported representations.
$players = $steam->user([
76561197960287930,
76561197968575517,
])->GetPlayerSummaries();Unsupported or malformed values raise TeemoCell\SteamWebApi\Exceptions\UnrecognizedId. Validate user input and do not silently substitute another account.
Vanity names such as example-name are not numeric Steam IDs. Resolve them first with ResolveVanityURL() from Steam user endpoints.
Documentation for teemocell/steam-web-api · Licensed under the MIT License