- Ids: every
getand game sub-list takes a RAWG id (3498) or a slug (grand-theft-auto-v). - Pages: lists take
pageandpage_size(at most 40). Each page carriescount,next_page(pass it aspage; null on the last page) and RAWG’snext/previouslinks with the key removed. - Filters on
games.listare comma-separated ids or slugs (genres: "action,indie",platforms: "4,187",dates: "2020-01-01,2020-12-31",metacritic: "80,100"). games.suggested,games.twitchandgames.youtubeare served to RAWG business and enterprise plans only.- Every operation only reads (
read). With a database, games and each catalog type (genres, platforms, stores, tags, developers, publishers, creators) are kept in their own table with their summary fields.
- 30 typed API operations
- 8 synced entities (
creators,developers,games,genres,platforms,publishers, and 2 more) for fast.search()/.list()
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
Store the RAWG API key before the first call: More: API Key
pnpm corsair setup --plugin=rawg --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
Search gamesQuery synced data
Synced entities supporttenant.rawg.db.<entity>.search() and .list(): creators, developers, games, genres, platforms, publishers, stores, tags.
See Database for filters and operators.
What’s next
API reference
Every
rawg.api.* operation with input and output types.Database
Synced entities, search filters, and operators.
Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.