Steam

Vanity

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

Endpoint

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

GET   /v2/steam/users/vanity/{vanityUrl}

Required parameters

vanityUrl
string
The vanity URL name to resolve (e.g. pepzwee from steamcommunity.com/id/pepzwee).

Authentication

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

x-api-key: YourSecretAPIKey

Response fields

FieldTypeDescription
steamIDstringThe Steam ID corresponding to the vanity URL

Response example

Example output for this endpoint.

response.json
{
  "success": true,
  "result": {
    "steamID": "76561198038526790"
  }
}