Skip to documentation
/

getGameList

POST/v1/commandsgetGameList

Signature

typescript example
.ts
client.getGameList(parameters: GetGameListParameters, options?: RequestOptions): Promise<SuccessResponse<GameCatalogue>>

Call examples

typescript example
.ts
import { AggregatorClient } from '@aggregator-network/sdk'; const apiKey = process.env.AGGREGATOR_API_KEY;if (!apiKey) throw new Error('Set AGGREGATOR_API_KEY');const client = new AggregatorClient({ apiKey }); const catalogue = await client.getGameList({ currency: 'USD', list_type: 2 });const games = Array.isArray(catalogue.response)  ? catalogue.response  : Object.values(catalogue.response);for (const game of games) {  // list_type: 2 returns compact records with the exact launch ID in s.  const launchId = game.s;}

Response examples

Example responses. Request options are in Try it now.

json example
.json
{  "error": 0,  "response": [    {      "n": "Illustrative game",      "p": "Illustrative provider",      "s": "provider/game",      "fs": false,      "fb": false,      "d": false,      "id": 1    }  ]}

Request#

Scope: proxy:getGameList or proxy:*. Send a supported currency; omit Idempotency-Key.

json example
.json
{  "method": "getGameList",  "currency": "USD",  "list_type": 1}
FieldRequiredAccepted value
currencyYesThree-letter uppercase code; provider coverage and any workspace restriction apply
list_typeNo1 or 2; default 1
show_additionalNoBoolean; default true
show_systemsNo0 or 1; default 0

Both formats filter currency coverage and workspace access. Compatibility options do not expand metadata or availability.

Detailed response (default)#

json example
.json
{  "error": 0,  "response": [    {      "id": 737,      "name": "Example game",      "type": "video-slots",      "category": "Example provider",      "subcategory": "video-slots",      "details": [],      "new": false,      "mobile": true,      "id_hash": "12/737",      "id_hash_parent": "12/737",      "freerounds_supported": false,      "featurebuy_supported": false,      "has_jackpot": false,      "play_for_fun_supported": false,      "image": "https://aggregatornetwork.com/v1/catalogue-assets/MTIvNzM3/image.webp",      "image_square": null,      "image_portrait": null,      "image_long": "https://aggregatornetwork.com/v1/catalogue-assets/MTIvNzM3/image.webp",      "currency": "USD"    }  ]}

This record is illustrative. Launch with id_hash, never numeric id. category names the provider. image_long falls back to image; square/portrait can be null. Confirm trial support with a demo request, not incomplete flags.

Compact response (list_type: 2)#

json example
.json
{  "error": 0,  "response": [    {      "n": "Example game",      "p": "Example provider",      "s": "12/737",      "fs": false,      "fb": false,      "d": false,      "id": 737,      "image": "https://aggregatornetwork.com/v1/catalogue-assets/MTIvNzM3/image.webp"    }  ]}
KeyMeaning
n, p, sGame name, provider, exact launch ID
fs, fb, dFree rounds, feature buy, demo flags
imageHosted artwork URL

fb and d currently default to false, not a complete capability inventory. Confirm demos by request. Responses may also be record maps; preserve IDs exactly.

Hosted artwork#

Use returned .webp URLs directly, without keys/cookies; extensionless URLs still work. Artwork is locally stored, re-encoded and stripped of metadata.

Use a placeholder on image failure; missing art does not mean a game is unavailable. Variants, caching and errors.

Empty results and request logs#

error: 0 with response: [] means zero matching games. Check currency coverage and provider/exact-game restrictions; empty workspace currency restrictions are not a denial.

Request Logs records currency and post-filter count for new catalogue calls. Succeeded - count not recorded is unknown, not Empty result - 0 games. Other methods have no catalogue count.

Use the catalogue#

Use the returned ID to launch a game or grant free rounds. Refresh cached metadata and handle removed games. Compare equivalent currency/access scopes before changing availability; missing artwork alone is not grounds to deactivate.

Was this page helpful?