Query a game library
query_librarySearch a Backloggd user's library by shelf, platform, genre, year, or rating. Sort by release date, rating, or playtime to find games matching specific criteria.
Instructions
Search a user's library with Backloggd's full filter grammar. Defaults to your own. This is the main discovery tool: combine a shelf with a release platform, genre, year, completion status or rating, and sort by anything including how long games take to finish.
Examples: shelf='backlog' + release_platform='PS5' answers 'what do I have that runs on PS5'; sort='shuffle' picks at random; sort='avg-finish-time' ranks by how long games take (LONGEST first by default — see the sort notes).
An empty result means nothing matched — invalid filter values are rejected before the request is sent, so a zero-row answer is trustworthy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| sort | No | shuffle = random pick; user-rating = your score; rating = community score. avg-finish-time / avg-play-time rank by community playtime and default to LONGEST first. Do NOT use order='asc' to find short games: ascending puts games with NO recorded finish time first (MMOs, live-service and obscure titles), not genuinely short ones. To actually find short games, take an ascending page and check real hours with get_games_metadata. | |
| genre | No | Genre by name or slug, e.g. 'Simulator', 'RPG'. | |
| order | No | ||
| shelf | No | Which shelf to restrict to. | |
| rating | No | Your rating, 0.5-5 stars. | |
| category | No | Game category, e.g. 'main_game', 'dlc', 'remake'. | |
| username | No | Backloggd username. Defaults to the authenticated user. | |
| categories | No | 'games' excludes DLC and other extras. | |
| played_year | No | Four-digit year you played it. | |
| release_year | No | Four-digit year, or 'upcoming' / 'released'. | |
| played_platform | No | Platform YOU played it on. Empty for unplayed games, so it returns nothing on a backlog — use release_platform instead unless you specifically mean this. | |
| release_platform | No | Platform the game RELEASED on, by name or slug ('PS5', 'Wii U', 'Meta Quest 3'). This is the one you want for backlog questions. | |
| completion_status | No |