Steam (Unofficial) API

Get Recently Played Games

Returns a list of games a player has played in the last two weeks, if the profile is publicly visible. Private, friends-only, and other privacy settings are not supported unless you are asking for your own personal details (i.e., the WebAPI key you are using is linked to the steamid you are requesting). Example: http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v0001/?key=XXXXXXXXXXXXXXXXX&steamid=76561197960434622&format=json

GET
/IPlayerService/GetRecentlyPlayedGames/v1
key<token>

In: query

Query Parameters

steamid*string

The SteamID of the account

Defaultnull
count?integer

Optionally limit to a certain number of games (the number of games a person has played in the last 2 weeks is typically very small)

Defaultnull
Formatint32
input_json?string

An alternative to the query string parameters; pass arguments as a URL-encoded JSON blob. The "key" and "format" fields should still be passed as separate parameters

format?string

The format of the response. Defaults to json

Value in"json" | "xml" | "vdf"

Response Body

curl -X GET "https://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v1"
Empty
Empty
Empty