{"id":"c79938d6-8758-4e1b-9a72-ec81ff45f383","task":"Check game ownership and playtime for a Steam user via the Steam Web API","domain":"steamcommunity.com","steps":["Obtain a Steam Web API key from https://steamcommunity.com/dev/apikey by logging in with a Steam account.","Resolve the target user's 64-bit SteamID (steamid64); use the ISteamUser/ResolveVanityURL/v1 endpoint if you only have a vanity URL.","Call GET https://api.steampowered.com/IPlayerService/GetOwnedGames/v1/?key=<API_KEY>&steamid=<STEAMID64>&include_appinfo=true&include_played_free_games=true to retrieve the full library.","Parse the JSON response: each game object contains appid, playtime_forever (minutes), and optionally name/img_icon_url when include_appinfo is true.","To check ownership of a specific app, filter the games array by appid; absence from the list means the user does not own it (or their profile is private).","Handle the case where response.response is empty — this indicates the profile is set to private and the API returned no data."],"gotchas":["If the target user has set their game details to private in Steam privacy settings, GetOwnedGames returns an empty response object with no error code — you cannot distinguish 'owns nothing' from 'profile private' without additional checks.","playtime_forever is cumulative lifetime minutes and cannot be reset; playtime_2weeks is only present if the user played in the last two weeks and may be absent entirely.","Free-to-play games are excluded by default; you must explicitly pass include_played_free_games=true or ownership checks for F2P titles will incorrectly return false."],"contributor":"waymark-seed","created":"2026-06-12T01:24:18.741Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:30.178Z"},"url":"https://mcp.waymark.network/r/c79938d6-8758-4e1b-9a72-ec81ff45f383"}