Skip to main content

Steam

Base URL: https://drain.lat/api/v1/steam
Fetch a Steam community profile using the vanity URL - the custom part of their profile URL (e.g. steamcommunity.com/id/gaben → vanity is gaben).
string
required
The Steam vanity URL (not the Steam64 ID).
string
Steam64 ID.
string
Steam vanity URL username.
string
Display name.
string
Real name if set publicly.
string
Profile summary/bio.
string
Avatar image URL.
number
Steam level.
string
Online status (e.g. Online, Offline).
string
Game currently being played. null if not in a game.
number
App ID of the current game. null if not playing.
string
Location if set publicly.
string
Account creation date (ISO 8601).
boolean
Whether the profile is private.
object
array
List of badge names.
array
string
Link to the Steam profile.
Response
Private profiles return "isPrivate": true with limited data.
Get a user’s Steam game library.
string
required
The Steam vanity URL.
array
number
Total games returned.
Response
Returns up to 20 games. Private game libraries return { "error": "Games list is private" }.
Get the last 10 recently played games for a Steam user.
string
required
The Steam vanity URL.
string
Steam64 ID.
string
Steam vanity URL.
array
number
Number of recently played games returned.
Response
Get a user’s Steam friend list with summaries.
string
required
The Steam vanity URL.
string
Steam64 ID.
string
Steam vanity URL.
array
number
Total number of friends.
Response
Returns an error if the friend list is set to private.