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

# Get commissions (returns up to 20 at a time)



## OpenAPI

````yaml get /public/commissions
openapi: 3.1.0
info:
  title: Joylink API
  version: 1.0.0
  description: API for managing Joylink short links and tracking
servers:
  - url: https://api.joylink.io
    description: Production server
security: []
paths:
  /public/commissions:
    get:
      summary: Get commissions (returns up to 20 at a time)
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                skip:
                  type: integer
                  description: Number of records to skip (pagination offset)
      responses:
        '200':
          description: Successfully retrieved commissions
          content:
            application/json:
              schema:
                type: object
                properties:
                  commissions:
                    type: array
                    items:
                      type: object
                      properties:
                        asin:
                          type: string
                          description: Amazon Standard Identification Number
                        discounted_price:
                          type: string
                          description: Discounted price of the item
                        commission:
                          type: string
                          description: Commission amount
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimitExceeded'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        details:
          type: string
  responses:
    RateLimitExceeded:
      description: >-
        Rate limit exceeded. Public API keys are limited to 60 requests per
        minute and 1440 requests per day, shared across endpoints.
      headers:
        X-RateLimit-Limit-Minute:
          description: Maximum requests allowed per minute.
          schema:
            type: integer
            example: 60
        X-RateLimit-Remaining-Minute:
          description: Requests remaining in the current minute window.
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset-Minute:
          description: Seconds until the minute window resets.
          schema:
            type: integer
            example: 45
        X-RateLimit-Limit-Day:
          description: Maximum requests allowed per day.
          schema:
            type: integer
            example: 1440
        X-RateLimit-Remaining-Day:
          description: Requests remaining in the current day window.
          schema:
            type: integer
            example: 1200
        X-RateLimit-Reset-Day:
          description: Seconds until the day window resets.
          schema:
            type: integer
            example: 43200
        Retry-After:
          description: >-
            Seconds to wait before retrying. Matches the limit you hit (minute
            or day).
          schema:
            type: integer
            example: 45
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            minute_limit:
              summary: Per-minute limit exceeded
              value:
                error: >-
                  Rate limit exceeded. Maximum 60 requests per minute. Resets in
                  45s.
            day_limit:
              summary: Per-day limit exceeded
              value:
                error: >-
                  Rate limit exceeded. Maximum 1440 requests per day. Resets in
                  5h 20m.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````