Steam

Vanity

Resolve Steam vanity URLs to SteamID64. Convert custom profile URLs to numeric identifiers.

Endpoint

This endpoint resolves a Steam vanity URL name to a SteamID64. Vanity URLs are custom profile URLs that users can set (e.g. steamcommunity.com/id/pepzwee).

GET   /steam/profile/vanity/{ VanityName }?api_key={ YourSecretAPIKey }

Required parameters

VanityName
string
The vanity URL name to resolve (e.g. pepzwee from steamcommunity.com/id/pepzwee).
YourSecretAPIKey
string
A unique identifier that allows developers to access the Steam Web API.

Response fields

FieldTypeDescription
steamidstringThe SteamID64 corresponding to the vanity name
successnumberSuccess status (1 for success, 42 if no match found)

Response example

Example output for this endpoint.

response.json
{
  "steamid": "76561198038526790",
  "success": 1
}