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

# List trades

> Your OTC funding trades at your client rate, newest first. Pass `next_before_id` back as `before_id` for the next page; null means done.



## OpenAPI

````yaml /openapi.json get /trades
openapi: 3.1.0
info:
  title: Jenzy Hermes Client API
  version: 1.0.0
  description: >-
    Draw down your prefunded MWK balance as payouts to Malawian banks and mobile
    money. Authenticate with your `jz_live_…` API key as a bearer token.
servers:
  - url: https://api.jenzy.com/v1
    description: Production
security: []
paths:
  /trades:
    get:
      summary: List trades
      description: >-
        Your OTC funding trades at your client rate, newest first. Pass
        `next_before_id` back as `before_id` for the next page; null means done.
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 200
            description: Page size, 1-200 (default 50).
          required: false
          description: Page size, 1-200 (default 50).
          name: limit
          in: query
        - schema:
            type: string
            format: uuid
            description: 'Keyset cursor: the `next_before_id` from the previous page.'
          required: false
          description: 'Keyset cursor: the `next_before_id` from the previous page.'
          name: before_id
          in: query
      responses:
        '200':
          description: One page of trades.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TradeList'
        '400':
          description: Malformed `limit` or `before_id`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Missing, malformed, or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TradeList:
      type: object
      properties:
        trades:
          type: array
          items:
            $ref: '#/components/schemas/Trade'
        has_more:
          type: boolean
        next_before_id:
          type:
            - string
            - 'null'
          format: uuid
          description: Pass back as `before_id` for the next page; null means done.
      required:
        - trades
        - has_more
        - next_before_id
    ErrorEnvelope:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - validation_error
                - unauthorized
                - forbidden
                - not_found
                - conflict
                - rate_limited
                - internal_error
                - unknown_bank
                - unknown_operator
                - invalid_mobile_number
                - invalid_account_number
                - service_unavailable
                - insufficient_funds
                - rail_disabled
                - amount_limit_exceeded
                - org_limit_exceeded
              description: >-
                Stable identifier a client may branch on — never renamed or
                removed.
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
    Trade:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Trade id.
        usdt_amount:
          type: string
          description: >-
            Exact decimal string, trailing zeros trimmed — parse with a decimal
            library.
          example: '10000'
        client_rate:
          type: string
          description: MWK per USDT at which this trade was priced — exact decimal string.
          example: '1735.5'
        mwk_amount:
          type: integer
          example: 17355000
        status:
          type: string
          description: >-
            One of `settling`, `settled`, `cancelled` — a trade is visible from
            the moment it is booked.
          example: settled
        created_at:
          type: string
          format: date-time
        settled_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            When the funding landed and your balance was credited; null until
            then.
      required:
        - id
        - usdt_amount
        - client_rate
        - mwk_amount
        - status
        - created_at
        - settled_at
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Your Jenzy API key: `Authorization: Bearer jz_live_…`'

````