API Reference
Public endpoints#
Base URL: https://aggregatornetwork.com.
| Method & path | Authentication | Purpose & related guide |
|---|---|---|
POST /v1/commands | Game API key: X-API-Key or Authorization: Bearer | JSON commands listed below; examples & explorer |
GET /v1/providers | None; no cookies needed | Cached provider counts, currency coverage, artwork previews; directory & currency fields |
GET /v1/catalogue-assets/{asset}/{variant} | None; no cookies needed | WebP image bytes; follow a returned URL; variants, caching & errors |
GET /openapi.json | None | Customer schemas, importable into local API tools |
Use authenticated getGameList for workspace inventory. Public counts and artwork grant no access. Asset paths also accept HEAD.
Command index#
Send the exact case-sensitive method in a JSON object to /v1/commands. Every command needs scope proxy:<method> or proxy:*; use specific scopes where possible.
| Command | Idempotency-Key | What it does |
|---|---|---|
getGameList | Rejected | Currency-filtered catalogue; defaults: list_type: 1, show_additional: true, show_systems: 0 |
getGameDemo | Rejected | Temporary trial URL; no player balance or monetary settlement |
createPlayer | Required | Optional player identity by workspace, username and currency; does not fund a session |
getGame | Required | Launch with reserved numeric starting balance and approved return URLs |
addFreeRounds | Required | Grant rounds for a supported game; send explicit total_bet |
deleteFreeRounds | Required | Cancel unused rounds for one player and game; does not reverse settled rounds |
getFreeRounds | Rejected | Recognized compatibility command, currently unsupported |
deleteAllFreeRounds | Required | Recognized compatibility command, currently unsupported |
Unsupported compatibility commands return an application error, not usable round data. There is no separate public player-wallet credit/debit endpoint or RTP endpoint: your wallet handles funds, settlements are outbound callbacks, and rtp is an optional getGame field.
Three different credentials#
| Credential | Use |
|---|---|
| Game API key | Authenticate /v1/commands; workspace scope, expiry, IP restrictions and access rules apply |
| Callback signing secret | Verify outbound settlements with HMAC-SHA256 over the exact body bytes; not a command credential |
| Portal session | Manage your workspace using permitted UI controls; not a Game API key |
Demo commands need a Game API key and eligible activation, not a portal session. Provider authentication and internal administration are outside this customer API.
Manage keys, callbacks, exact return origins, IP restrictions and limits in API Setup. Demo access does not bypass scope, currency/game availability, access or rate limits.
Response & retry rules#
Commands return top-level fields, not a data wrapper. Require HTTP success and numeric error: 0. HTTP 200 with a nonzero numeric error is an application rejection. Gateway errors use error: { code, message, requestId }; artwork errors instead use a string error.
Retain x-request-id. Mutation keys are 8–255 printable ASCII characters without spaces; persist one per operation with its exact request. Never switch keys to “fix” an unknown outcome. Sensitive launch URLs are not guaranteed replayable.
See validation, limits & recovery, signed settlement contract, and the production checklist. Activation and funding alone do not establish legal or unrestricted real-money approval.