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

# Get all ledgers

> Retrieves multiple users' ledgers with pagination and filtering options

### Required Scopes

```
guild:read
```

### Rate Limit

10 requests per second


## OpenAPI

````yaml GET /guild/ledgers
openapi: 3.1.0
info:
  title: Multex Discord Bot API
  version: 1.0.0
  description: API documentation for Multex Discord bot
servers:
  - url: https://api.multex.tech
    description: Development server
security: []
paths:
  /guild/ledgers:
    get:
      tags:
        - Guild Management
        - Financial
      summary: Get Multiple User Ledgers
      description: Retrieves multiple users' ledgers with pagination and filtering options
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
          description: Page number for pagination
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
          description: Number of results per page
        - name: from
          in: query
          required: false
          schema:
            type: string
          description: Filter by source category
        - name: minAmount
          in: query
          required: false
          schema:
            type: number
            minimum: 0
          description: Filter by minimum total amount
        - name: maxAmount
          in: query
          required: false
          schema:
            type: number
            minimum: 0
          description: Filter by maximum total amount
      responses:
        '200':
          description: User ledgers retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        robloxId:
                          type: string
                          example: '123456789'
                        totalAmount:
                          type: number
                          example: 1500.5
                        categories:
                          type: array
                          items:
                            type: object
                            properties:
                              source:
                                type: string
                                example: store
                              netAmount:
                                type: number
                                example: 750.25
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                        example: 1
                      limit:
                        type: integer
                        example: 20
                      total:
                        type: integer
                        example: 150
                      totalPages:
                        type: integer
                        example: 8
        '401':
          description: Unauthorized - invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Unauthorized - invalid API key
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for accessing protected guild endpoints

````