> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.gamezop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# All Games API

> Get the games enabled for your Property ID, with each game's URL, name, category, and images, so you can list them in your own UI.

> [!NOTE]
>
> To open Gamezop games in an iframe on your website, ask your Gamezop Account Manager to whitelist your Property ID for iframe use. By default, Gamezop games don't work in iframes.

> [!NOTE]
>
> Data from this API changes infrequently, so cache the response on your own server instead of calling the API for every user request. Refreshing your cache once every 24 hours is enough.

***


## OpenAPI

````yaml openapi-gzp.json GET /v3/games
openapi: 3.1.0
info:
  title: Gamezop APIs
  version: 1.0.0
  description: >-
    OpenAPI specification for Gamezop endpoints including game catalog,
    leaderboard metadata, and other integration APIs.
servers:
  - url: https://api.gamezop.com
    description: Gamezop API
security:
  - bearerAuth: []
paths:
  /v3/games:
    get:
      summary: All Games API
      description: >-
        Get the games enabled for your Property ID, with each game's URL, name,
        category, and images, so you can list them in your own UI.
      operationId: listGames
      parameters:
        - name: lang
          in: query
          required: false
          description: >-
            ISO 639-1 language code. A full list of valid language codes is
            available in the IANA Language Subtag Registry (filter for `Type:
            language`). If translations are unavailable for the requested
            language, English values are returned.
          schema:
            type: string
            minLength: 2
            maxLength: 2
          example: en
      responses:
        '200':
          description: >-
            You get an HTTP 200 when the API responds successfully with the list
            of games enabled for your Property ID.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GamesListResponse'
              examples:
                Success:
                  summary: Example response with one game
                  value:
                    data:
                      - code: Ey5Wzu1MZ9l
                        url: https://www.gamezop.com/g/Ey5Wzu1MZ9l
                        name: Hextris
                        description: >-
                          Rotate the Hexagon to match colours, prevent the
                          blocks from stacking on incorrect counterparts.
                        screen_orientation: portrait
                        has_integrated_ads: true
                        category:
                          id: 1
                          name: Arcade
                        images:
                          cover: https://static.gamezop.com/Ey5Wzu1MZ9l/cover.jpg
                          brick: https://static.gamezop.com/Ey5Wzu1MZ9l/brick.png
                          thumb: https://static.gamezop.com/Ey5Wzu1MZ9l/thumb.png
                          wall: https://static.gamezop.com/Ey5Wzu1MZ9l/wall.png
                          square: https://static.gamezop.com/Ey5Wzu1MZ9l/square.png
                          tall: https://static.gamezop.com/Ey5Wzu1MZ9l/450x800.png
                          screenshots:
                            - https://static.gamezop.com/Ey5Wzu1MZ9l/game-1.png
                            - https://static.gamezop.com/Ey5Wzu1MZ9l/game-2.png
                            - https://static.gamezop.com/Ey5Wzu1MZ9l/game-3.png
                    success: true
        '401':
          description: >-
            Unauthorized. You get a 401 when the Bearer token is missing,
            invalid, or belongs to an archived Property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Invalid Bearer Token:
                  summary: Invalid or missing token
                  value:
                    message: Invalid or missing token.
                    success: false
components:
  schemas:
    GamesListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Game'
        success:
          type: boolean
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
        success:
          type: boolean
    Game:
      type: object
      properties:
        code:
          type: string
          description: |-
            Unique alphanumeric identifier for the game

            Example: `Ey5Wzu1MZ9l`
        url:
          type: string
          format: uri
          description: The URL to the game that you can embed in your app or website
        name:
          type: string
          description: >-
            The game's name in the language you requested with `lang`. If the
            name isn't available in that language, the English name is returned.
        description:
          type: string
          description: >-
            The game's description in the language you requested with `lang`. If
            the description isn't available in that language, the English
            description is returned.
        screen_orientation:
          type: string
          enum:
            - portrait
            - landscape
            - responsive
          description: Indicates the preferred screen orientation for the game
        has_integrated_ads:
          type: boolean
          description: >-
            Integrated ads are opt-in ads built into a game's UI, for example a
            button to watch an ad for an extra life. They are different from the
            preroll and midroll interstitial ads shown before or during
            gameplay.


            In most games with integrated ads, these UI elements are shown only
            when ads are enabled for your Property. Such games return `false`.


            In some games, these elements are core to the gameplay and always
            appear, even when ads are disabled. Only these games return `true`.


            If ads are disabled for your Property, avoid games where this value
            is `true`.
        category:
          $ref: '#/components/schemas/Category'
        images:
          $ref: '#/components/schemas/GameImages'
    Category:
      type: object
      properties:
        id:
          type: integer
          enum:
            - 1
            - 2
            - 3
            - 4
            - 5
            - 7
          description: |-
            Category identifier for the game. Possible values:

            1 = Arcade

            2 = Action

            3 = Sports & Racing

            4 = Strategy

            5 = Puzzle & Logic

            7 = Adventure.
        name:
          type: string
          description: >-
            If you request data for any specific language, category.name will
            contain the game's category in that language. If we do not have the
            category name in the requested language, the English name for the
            game category will be returned.
    GameImages:
      type: object
      description: >-
        To find more assets for a game, search for its `code` in the [Gamezop
        Creatives Library](https://gzp.gg/creatives).
      properties:
        cover:
          type: string
          format: uri
          description: URL to a 600x492 pixel image asset.
        brick:
          type: string
          format: uri
          description: URL to a 310x150 pixel image asset.
        wall:
          type: string
          format: uri
          description: URL to a 1024x500 pixel image asset.
        thumb:
          type: string
          format: uri
          description: >-
            URL to a 512x512 pixel image asset with rounded corners and a
            Gamezop logo.
        square:
          type: string
          format: uri
          description: >-
            URL to a 512x512 pixel image asset without rounded corners and
            without a Gamezop logo.
        screenshots:
          type: array
          description: Array of 3 URLs containing screenshots from the game.
          items:
            type: string
            format: uri
        tall:
          type: string
          format: uri
          description: URL to a 450x800 pixel vertical image asset.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: UUID
      description: >-
        You can find the Bearer token for this API under Settings & Admin > API
        Tokens within the [Gamezop Business
        Dashboard](https://dashboard.gamezop.com).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.