Integrate via All Games API
Gamezop All Games API allows you to access data on our games so you can list them in your own UI.
The All Games API lets you access a list of games and associated details (description, screenshots etc.) so that you can directly launch games from your app / site instead of sending users to the Gamezop Game Centre.
Making the request
Get All Games
GET
https://pub.gamezop.com/v3/games?id={PropertyID}&lang={ISOLangTag}
Get a list of games
objects.
Query Parameters
Name | Type | Description |
---|---|---|
id* | String | Your Property ID |
lang | String | ISO 639 alpha-2 or alpha-3 language code. A full list of valid language codes is available in the IANA Language Subtag Registry (search for |
Sample response
The response contains a single array games
with multiple game objects. Each games
object contains
Key | Description |
---|---|
| A unique alphanumeric identifier for the game |
| The URL to the game that you can embed in your app or website |
| A name object for the game, capturing the game name in multiple languages. It will always have an |
|
|
| A short description object of the game (can be displayed to the end-user), capturing the game description in multiple languages. It will always have an |
| A game preview object for the game, containing video links in multiple languages. A game preview is basically a link to a YouTube video containing a screen recording of the game being played. You can use this to show the user how the game is to be played. This value may be empty for some games. Note: There may be several games without any game preview links. |
| An assets object for the game. This contains several assets that can be used as promotional banners:
To find more assets for any particular game, enter the |
| The genre to which the game belongs. It will always have an
The array may optionally have a second value:
This second category is present for games that are currently trending / popular on the Gamezop platform. Featured games change frequently. The object will also have the category names in the language requested in the API call, if any. If we do not have translations for the category names the requested language, you will get an empty array for that language. |
| The height (in pixels), of the canvas in which the game runs. Useful if you want to allocate a specific amount of space for the game on your desktop webpage. |
| The width (in pixels), of the canvas in which the game runs. Useful if you want to allocate a specific amount of space for the game on your desktop webpage. |
| Lifetime count of game plays for that game. Each time a user finishes a game start and end loop, it is counted as 1 game play. Each user session may have several game plays. |
| If In-game ads are those ads which users opt-in to watch. For instance, users may have an option to get an extra life by watching an ad. If the value for |
If the API response contains any other keys besides the ones documented above, do not use those keys. They will be removed from the API.
Caching the API response
We discourage integrating our API directly in your front-end project. Instead, request data from the All Games API from your servers, and cache the data at your end. Service your frontend requests from your own APIs using this data.
We strongly suggest you set up a cron to update the games data on your server once every 24 hours. We often add new games and update other data for existing games, which your users may not be able to access if you do not refresh your cache.
Looking for a deeper integration with our games? Check out Gamezop's advanced guides.
💪Advanced guidesLast updated