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

# Get max leverage per Multiply pair

> Return the protocol risk ceiling of every Multiply pair configured in the Kamino CDN, including hidden pairs and pairs in hidden or deprecated markets. Values are raw protocol limits under the elevation group the pair auto-selects, with no safety factor applied.



## OpenAPI

````yaml /kamino-api.json get /markets/multiply-pairs
openapi: 3.1.0
info:
  version: 1.0.0
  title: Kamino Public API
  description: >
    The Kamino API provides a comprehensive way to interact with Kamino without
    reading directly from the blockchain.


    The API also provides the ability to fetch data that might not be available
    from just reading the chain.


    The API is rate-limited for unauthenticated users. If you feel you need to
    make more requests or run into rate-limit issues, please reach out.
servers:
  - url: https://api.kamino.finance
security: []
paths:
  /markets/multiply-pairs:
    get:
      tags:
        - Kamino Lend Markets
      summary: Get max leverage per Multiply pair
      description: >-
        Return the protocol risk ceiling of every Multiply pair configured in
        the Kamino CDN, including hidden pairs and pairs in hidden or deprecated
        markets. Values are raw protocol limits under the elevation group the
        pair auto-selects, with no safety factor applied.
      parameters:
        - schema:
            allOf:
              - $ref: '#/components/schemas/AddressBase58'
              - description: Only return pairs configured under this lending market
                example: 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF
          required: false
          description: Only return pairs configured under this lending market
          name: market
          in: query
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketsMultiplyPairsResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: High-level error message describing the failure
                    example: Invalid query params
                  details:
                    type: array
                    items:
                      type: object
                      additionalProperties: {}
                    description: >-
                      Detailed validation issues (present only for validation
                      errors)
                required:
                  - error
                description: Bad request response (400)
                example:
                  error: Invalid query request
                  details:
                    - code: invalid_union
                      errors:
                        - - code: custom
                            path: []
                            message: Invalid date string
                        - - expected: number
                            code: invalid_type
                            path: []
                            message: 'Invalid input: expected number, received string'
                      path:
                        - start
                      message: Invalid input
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AddressBase58:
      type: string
      description: Valid base58-encoded address
      example: VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd
    MarketsMultiplyPairsResponse:
      type: object
      properties:
        multiplyPairs:
          type: array
          items:
            $ref: '#/components/schemas/MultiplyPair'
      required:
        - multiplyPairs
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message for internal server failure
          example: An internal error occurred
      required:
        - error
      description: Internal server error response (500)
      example:
        error: An internal error occurred
    MultiplyPair:
      type: object
      properties:
        lendingMarket:
          allOf:
            - $ref: '#/components/schemas/AddressBase58'
            - description: Lending market the pair is configured under
              example: 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF
        collateralReserve:
          allOf:
            - $ref: '#/components/schemas/AddressBase58'
            - description: Reserve the Multiply position deposits
              example: EVbyPKrHG6WBfm4dLxLMJpUDY43cCAcHSpV3KYjKsktW
        borrowReserve:
          allOf:
            - $ref: '#/components/schemas/AddressBase58'
            - description: Reserve the Multiply position borrows
              example: d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q
        collateralMint:
          anyOf:
            - $ref: '#/components/schemas/AddressBase58'
            - type: 'null'
          description: >-
            Liquidity mint of collateralReserve, read from chain. Null when the
            pair can't be resolved on-chain.
          example: J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn
        debtMint:
          anyOf:
            - $ref: '#/components/schemas/AddressBase58'
            - type: 'null'
          description: >-
            Liquidity mint of borrowReserve, read from chain. Null when the pair
            can't be resolved on-chain.
          example: So11111111111111111111111111111111111111112
        elevationGroup:
          type:
            - integer
            - 'null'
          description: >-
            Elevation group a deposit+borrow of this pair auto-selects, being
            the usable common group with the highest ltvPct. 0 when the pair has
            no usable group, in which case the values below are the reserves own
            configuration. Null when the pair can't be resolved on-chain.
          example: 2
        maxLeverage:
          anyOf:
            - $ref: '#/components/schemas/Decimal'
            - type: 'null'
          description: >-
            Maximum leverage, 1 / (1 - maxLtv / borrowFactor). Raw protocol
            ceiling, no safety factor. Values are for elevationGroup. Null when
            the pair can't be resolved on-chain.
          example: '7.6923076923076923077'
        maxLtv:
          anyOf:
            - $ref: '#/components/schemas/Decimal'
            - type: 'null'
          description: >-
            Maximum loan to value ratio for this collateral. Decimal fraction,
            not bps. Raw protocol ceiling, no safety factor. Values are for
            elevationGroup. Null when the pair can't be resolved on-chain.
          example: '0.87'
        liquidationLtv:
          anyOf:
            - $ref: '#/components/schemas/Decimal'
            - type: 'null'
          description: >-
            Liquidation loan to value ratio for this collateral. Decimal
            fraction, not bps. Raw protocol ceiling, no safety factor. Values
            are for elevationGroup. Null when the pair can't be resolved
            on-chain.
          example: '0.92'
        borrowFactor:
          anyOf:
            - $ref: '#/components/schemas/Decimal'
            - type: 'null'
          description: >-
            Borrow factor applied to this debt, where 1 means no adjustment.
            Decimal fraction, not bps. Values are for elevationGroup. Null when
            the pair can't be resolved on-chain.
          example: '1'
        flashLoanFee:
          anyOf:
            - $ref: '#/components/schemas/Decimal'
            - type: 'null'
          description: >-
            Flash loan fee of collateralReserve, paid when a Multiply open
            flash-borrows the collateral token (the SDK's preferred path; its
            debt-flash fallback pays the borrowReserve fee instead). 0 when
            flash loans are disabled on collateralReserve. Decimal fraction, not
            bps. Null when the pair can't be resolved on-chain.
          example: '0.001'
      required:
        - lendingMarket
        - collateralReserve
        - borrowReserve
        - collateralMint
        - debtMint
        - elevationGroup
        - maxLeverage
        - maxLtv
        - liquidationLtv
        - borrowFactor
        - flashLoanFee
    Decimal:
      type: string
      description: Decimal value represented as string
      example: '1234.56789'

````

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