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

# Get Closed Limit Order Pools

> Paginated per-pool summary of the wallet's closed limit orders, sorted by
`last_closed_at` DESC. A limit order is closed iff it has a row in
`close_limit_orders` — cancel-only orders remain in `/open`.



## OpenAPI

````yaml /developer-guides/dlmm/api-reference/openapi.json get /wallets/{wallet}/limit_orders/closed/pools
openapi: 3.1.0
info:
  title: DLMM API
  description: >-
    Indexed DLMM data for pools, portfolios, positions, limit orders, wallets,
    and protocol stats.
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://dlmm.datapi.meteora.ag
    description: Production
  - url: https://dlmm.dev.metdev.io
    description: Development
security: []
paths:
  /wallets/{wallet}/limit_orders/closed/pools:
    get:
      tags:
        - Limit Orders
      summary: Get Closed Limit Order Pools
      description: >-
        Paginated per-pool summary of the wallet's closed limit orders, sorted
        by

        `last_closed_at` DESC. A limit order is closed iff it has a row in

        `close_limit_orders` — cancel-only orders remain in `/open`.
      operationId: Get Closed Limit Order Pools
      parameters:
        - name: wallet
          in: path
          description: Base58-encoded wallet address
          required: true
          schema:
            type: string
          example: Dc85YcHkAWs62ndssWcGN5V4xYaQzPzgUDiRGtvnZas6
        - name: page
          in: query
          description: 'Page number, 1-indexed. Default: 1'
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
            minimum: 1
        - name: page_size
          in: query
          description: 'Number of results per page. Default: 20, max: 1000'
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
            default: 20
            maximum: 1000
            minimum: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaginationResponse_ClosedLimitOrderPoolSummary
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    PaginationResponse_ClosedLimitOrderPoolSummary:
      type: object
      required:
        - total
        - pages
        - current_page
        - page_size
        - data
      properties:
        current_page:
          type: integer
          format: int64
          minimum: 0
        data:
          type: array
          items:
            type: object
            required:
              - pool
              - total_orders
              - fully_filled_orders
              - filled_pct
              - total_deposit_x
              - total_deposit_y
              - total_deposit_x_usd
              - total_deposit_x_sol
              - total_deposit_y_usd
              - total_deposit_y_sol
              - total_deposit_usd
              - total_deposit_sol
              - total_withdrawal_x
              - total_withdrawal_y
              - total_withdrawal_x_usd
              - total_withdrawal_x_sol
              - total_withdrawal_y_usd
              - total_withdrawal_y_sol
              - total_withdrawal_usd
              - total_withdrawal_sol
              - total_bonus_x
              - total_bonus_y
              - total_bonus_x_usd
              - total_bonus_y_usd
              - total_bonus_x_sol
              - total_bonus_y_sol
              - total_bonus_usd
              - total_bonus_sol
              - last_closed_at
            properties:
              filled_pct:
                type: string
              fully_filled_orders:
                type: integer
                format: int64
                minimum: 0
              last_closed_at:
                type: integer
                format: int64
                description: Unix seconds. Latest close-event block time for this pool.
                minimum: 0
              pool:
                $ref: '#/components/schemas/LimitOrderPoolDetails'
              total_bonus_sol:
                type: string
                description: SOL value of bonus (cancel-event-time SOL price).
              total_bonus_usd:
                type: string
              total_bonus_x:
                type: string
              total_bonus_x_sol:
                type: string
                description: SOL value of token X bonus (cancel-event-time SOL price).
              total_bonus_x_usd:
                type: string
                description: USD value of token X bonus (cancel-event-time USD price).
              total_bonus_y:
                type: string
              total_bonus_y_sol:
                type: string
                description: SOL value of token Y bonus (cancel-event-time SOL price).
              total_bonus_y_usd:
                type: string
                description: USD value of token Y bonus (cancel-event-time USD price).
              total_deposit_sol:
                type: string
                description: >-
                  SOL value of deposits, deposit-side only (placement-time SOL
                  price).
              total_deposit_usd:
                type: string
                description: >-
                  USD value of deposits, deposit-side only (an ask deposits X, a
                  bid deposits Y).
              total_deposit_x:
                type: string
              total_deposit_x_sol:
                type: string
                description: SOL value of token X deposits (placement-time SOL price).
              total_deposit_x_usd:
                type: string
                description: >-
                  USD value of token X deposits (placement-time price; only ask
                  orders deposit X).
              total_deposit_y:
                type: string
              total_deposit_y_sol:
                type: string
                description: SOL value of token Y deposits (placement-time SOL price).
              total_deposit_y_usd:
                type: string
                description: >-
                  USD value of token Y deposits (placement-time price; only bid
                  orders deposit Y).
              total_orders:
                type: integer
                format: int64
                minimum: 0
              total_withdrawal_sol:
                type: string
                description: SOL value of withdrawals (cancel-event-time SOL price).
              total_withdrawal_usd:
                type: string
              total_withdrawal_x:
                type: string
              total_withdrawal_x_sol:
                type: string
                description: SOL value of token X withdrawn (cancel-event-time SOL price).
              total_withdrawal_x_usd:
                type: string
                description: USD value of token X withdrawn (cancel-event-time USD price).
              total_withdrawal_y:
                type: string
              total_withdrawal_y_sol:
                type: string
                description: SOL value of token Y withdrawn (cancel-event-time SOL price).
              total_withdrawal_y_usd:
                type: string
                description: USD value of token Y withdrawn (cancel-event-time USD price).
        page_size:
          type: integer
          format: int64
          minimum: 0
        pages:
          type: integer
          format: int64
          minimum: 0
        total:
          type: integer
          format: int64
          minimum: 0
    ErrorResponse:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    LimitOrderPoolDetails:
      type: object
      description: |-
        Pool-level metadata shared across all limit-order responses for a given
        pool. Same shape on both the open- and closed-order endpoints so clients
        can render the pool header from a single struct.
      required:
        - pool_address
        - pair_name
        - bin_step
        - base_fee
        - token_x_mint
        - token_y_mint
        - token_x_icon
        - token_y_icon
        - token_x
        - token_y
        - collect_fee_mode
      properties:
        base_fee:
          type: string
          description: >-
            Pool base fee as a percentage (f64 serialized as string to preserve
            precision).
        bin_step:
          type: integer
          format: int32
          description: Pool bin step in basis points (on-chain u16).
          minimum: 0
        collect_fee_mode:
          type: integer
          format: int32
          description: |-
            0 = `InputOnly` (bonus flows to the deposit/input token),
            1 = `OnlyY` (bonus always in token Y regardless of side).
          minimum: 0
        pair_name:
          type: string
          description: '`"{X}-{Y}"` computed from token symbols.'
        pool_address:
          type: string
        token_x:
          type: string
        token_x_icon:
          type: string
        token_x_mint:
          type: string
        token_y:
          type: string
        token_y_icon:
          type: string
        token_y_mint:
          type: string

````