getGameList
/v1/commandsgetGameListSignature
client.getGameList(parameters: GetGameListParameters, options?: RequestOptions): Promise<SuccessResponse<GameCatalogue>>Call examples
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.
{ "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.
{ "method": "getGameList", "currency": "USD", "list_type": 1}| Field | Required | Accepted value |
|---|---|---|
currency | Yes | Three-letter uppercase code; provider coverage and any workspace restriction apply |
list_type | No | 1 or 2; default 1 |
show_additional | No | Boolean; default true |
show_systems | No | 0 or 1; default 0 |
Both formats filter currency coverage and workspace access. Compatibility options do not expand metadata or availability.
Detailed response (default)#
{ "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)#
{ "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" } ]}| Key | Meaning |
|---|---|
n, p, s | Game name, provider, exact launch ID |
fs, fb, d | Free rounds, feature buy, demo flags |
image | Hosted 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.
Try a request
/v1/commandsgetGameListRequest parameters
Call example
import { AggregatorClient } from '@aggregator-network/sdk'; const client = new AggregatorClient({ apiKey: process.env.AGGREGATOR_API_KEY, baseUrl: 'https://aggregatornetwork.com',}); const result = await client.getGameList({ "currency": "USD", "list_type": 2});// Inspect result on your server. Keep launch URLs private.Response
The response will appear here after your request.