๐ฎ List the games a Steam account owns, with playtime and achievement progress
Baseurl: https://www.steamwebapi.com/steam/api/profile/games?id=aytac_f&key=YOUR_API_KEY
๐ฌ **What this endpoint does:**
- Returns every game a Steam account owns, with all-time playtime and achievement progress per game, plus the profile-level counters shown on the Steam games page (games, played, perfect games, reviews, followed).
- Works for public profiles whose game details are visible. Accepts a SteamID64, a vanity name or a full profile URL.
๐ ๏ธ **What you get:**
- `games` โ one entry per owned game, ordered by playtime (desc) then name: `appid`, `name`, `playtimeminutes`, `playtimehours`, `played` and `achievements` (`unlocked`, `total`, `percentage`, `perfect`) โ `achievements` is `null` for games without achievements.
- Profile counters: `gamecount`, `playedcount`, `playtimeminutes`, `playtimehours`, `perfectgamescount`, `reviewscount`, `followedcount`.
- `gamesvisible` โ `false` when the profile renders but its game details are hidden by privacy settings (or the library is empty; Steam does not distinguish). `games` is then empty and the request still succeeds.
- Store metadata per game (images, DLC / workshop / market flags, categories, prices) is intentionally NOT included โ join it from `/steam/api/apps/{appid}`.
๐ **How to use:**
- `id` can be a SteamID64 (`76561198123820859`), a vanity name (`aytac_f`) or a profile URL (`https://steamcommunity.com/id/aytac_f`).
- Results are cached for 5 minutes per account; pass `no_cache=1` to force a fresh read.
- Costs 1 credit per successful call in the shared Profile quota, 2 with `no_cache=1`; 404 and 503 answers are free.
Request
- Base URL: https://www.steamwebapi.com
- URL: https://www.steamwebapi.com/steam/api/profile/games
- Auth: API key in query parameter key
Query parameters
Your API key for authentication. Retrieve it from your Dashboard (top-right corner).
Required. SteamID64, vanity name or full profile URL of the account, for example 76561198123820859, aytac_f or https://steamcommunity.com/id/aytac_f. Also accepted as steam_id.
Optional. 1 bypasses the 5-minute result cache and reads the games page again (costs 1 extra credit).
Optional. Enable production mode for the request. (For internal use only)
Response format: json (default), csv, xml, html, gzip, zip, ndjson, mysql, pgsql, mongo. For CSV, nested objects are flattened.
Pretty-print JSON output (1 = enabled).
Response
Request was successful.
Changes
No recorded changes to this operation across all 1 revision of this API.