> ## Documentation Index
> Fetch the complete documentation index at: https://gateway.wasmou.net/llms.txt
> Use this file to discover all available pages before exploring further.

# List products

> Products with their variants (lighter than the catalog: no delivery mode or stock counts).



## OpenAPI

````yaml /openapi.json get /products
openapi: 3.0.3
info:
  title: Wasmou API
  version: 1.0.0
  description: >-
    Sell digital goods: catalog, purchase, delivery, game top-ups and per-client
    stock. All amounts are in DZD.
servers:
  - url: https://api.wasmou.net/api
    description: Production
security: []
paths:
  /products:
    get:
      tags:
        - Catalog
      summary: List products
      description: >-
        Products with their variants (lighter than the catalog: no delivery mode
        or stock counts).
      operationId: listProducts
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CatalogProduct'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
      security:
        - ApiKey: []
components:
  schemas:
    CatalogProduct:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        description:
          type: string
        image:
          type: string
          nullable: true
        category_id:
          type: integer
          nullable: true
        requires_input:
          type: boolean
        input_fields:
          type: object
          description: Extra fields to send with the purchase when requires_input is true.
        variants:
          type: array
          items:
            $ref: '#/components/schemas/CatalogVariant'
    Error:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
          example: Insufficient balance.
        data:
          nullable: true
    CatalogVariant:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        price:
          type: number
          description: Your price in DZD.
        currency:
          type: string
          example: DZD
        delivery:
          type: string
          enum:
            - instant
            - key
            - manual
        in_stock:
          type: integer
          nullable: true
          description: Units left for key-based variants; null for instant and manual.
        available:
          type: boolean
        client_stock:
          $ref: '#/components/schemas/ClientStock'
    ClientStock:
      type: object
      properties:
        variant_id:
          type: integer
        allocated:
          type: integer
          nullable: true
        used:
          type: integer
        remaining:
          type: integer
          nullable: true
          description: Units you can buy right now. null when released (unrestricted).
        status:
          type: string
          enum:
            - active
            - paused
            - expired
            - exhausted
            - released
        expires_at:
          type: string
          format: date-time
          nullable: true
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Your API key from the Wasmou app (API access).

````

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