PlayStation Network
v0.1.0PlayStation Network (PSN) gaming history: playtime, trophies and purchased library.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
psn_taste_profile PSN taste profile
One-shot digest of the account's gaming taste: totals, playtime habits, top games by hours, favourite franchises, platinums, games close to completion, games bounced off after a short try, and unplayed purchases. Start here for any recommendation request.
| Parameter | Type | Description |
|---|---|---|
include_backlog | boolean | Include purchased-but-never-played games. |
top | integer | How many top-by-hours games to include. |
psn_library PSN game library
Filtered, sorted list of games on the account, joining playtime with trophy progress. Use it to answer questions like 'what did I play most in 2024', 'what have I nearly finished', 'what did I drop quickly'. Store page: https://store.playstation.com/<locale>/concept/<concept_id>.
| Parameter | Type | Description |
|---|---|---|
include_trophy_counts | boolean | Add per-grade trophy counts to every row. |
limit | integer | |
max_hours | ||
max_trophy_progress | ||
min_hours | ||
min_trophy_progress | ||
offset | integer | |
only_platinum | boolean | |
platform | string | Keep only one platform. |
played_before | ISO date; keep games last played before it. | |
played_since | ISO date; keep games last played on or after it. | |
search | Case-insensitive substring match on the title. | |
sort | Ordering of the result. |
psn_game_trophies Trophy detail for one game
Full trophy list for a single game with earned status, earn dates and rarity. Pass a title (fuzzy match against the account's games) or an exact np_communication_id. Useful for 'what's left to platinum' and for judging how deeply the user engaged with a game.
| Parameter | Type | Description |
|---|---|---|
game | Game title, matched against the account's library. | |
include_hidden | boolean | |
limit | integer | |
np_communication_id | Exact trophy set id, e.g. NPWR21434_00. | |
np_service_name | Required only with a raw np_communication_id. | |
status | Which trophies to return. |
psn_owned_games Purchased PSN library
Games the account has bought or claimed (including PS Plus monthly claims), with hours played where known. Check this before recommending anything so you do not suggest a game the user already owns, and to surface unplayed purchases.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer | |
platform | string | |
search | ||
unplayed_only | boolean | Keep only games with no recorded playtime. |
psn_recently_played Recently played
The account's most recently launched games, newest first.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
psn_refresh Refresh PSN cache
Drops the cached PSN responses so the next call re-reads live data. Use after the user has just played something.
psn_profile PSN account profile
Online ID, PS Plus status, trophy level and lifetime trophy counts.