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

# Get apiv1borrow lendcollateral



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/borrow_lend/collateral
openapi: 3.1.0
info:
  title: Decibel Trading API
  description: >-
    RESTful API for Decibel. Provides read-only endpoints for market data,
    trading operations, positions, and analytics.
  contact:
    name: Decibel Team
    url: https://decibel.trade/
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.mainnet.aptoslabs.com/decibel
    description: Mainnet
  - url: https://api.testnet.aptoslabs.com/decibel
    description: Testnet
security:
  - bearerAuth: []
tags:
  - name: Market Data
    description: Market information and real-time data endpoints
  - name: User
    description: User information and account management
  - name: Account
    description: Account-specific endpoints and data
  - name: Trades
    description: Trading operations and history
  - name: Positions
    description: User position management
  - name: Orders
    description: Order management and history
  - name: TWAP
    description: Time-weighted average price orders
  - name: Bulk Orders
    description: Bulk order management
  - name: Vaults
    description: Vault operations and management
  - name: Analytics
    description: Analytics and performance metrics
  - name: Points
    description: Points-related account metrics
  - name: Trading Points
    description: Trading points endpoints
  - name: Trading Hz
    description: Trading Hz endpoints
  - name: Tier
    description: Tier information endpoints
  - name: Streaks
    description: User streak tracking endpoints
  - name: Predeposit Rewards
    description: Season 0 predeposit USDC rewards
  - name: Referrals
    description: Referral code management and tracking
  - name: Affiliates
    description: Affiliate code and earnings endpoints
  - name: Campaigns
    description: On-chain reward campaign endpoints
paths:
  /api/v1/borrow_lend/collateral:
    get:
      tags:
        - Borrow/Lend
      operationId: handle_collateral
      parameters:
        - name: limit
          in: query
          description: Page size
          required: false
          schema:
            type: integer
            format: int32
            default: 10
            maximum: 200
            minimum: 0
          example: 100
        - name: offset
          in: query
          description: Page offset
          required: false
          schema:
            type: integer
            format: int32
            default: 0
            maximum: 10000
            minimum: 0
          example: 0
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BorrowLendCollateralPageDto'
        '400':
          description: Invalid pagination
        '503':
          description: State unavailable
components:
  schemas:
    BorrowLendCollateralPageDto:
      type: object
      description: Offset pagination shared with the other list endpoints.
      required:
        - items
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/BorrowLendCollateralDto'
        total_count:
          type:
            - integer
            - 'null'
          format: int32
          minimum: 0
    BorrowLendCollateralDto:
      type: object
      required:
        - asset
        - decimals
        - max_collateral_units
        - max_ltv_bps
        - target_ltv_bps
        - liquidation_bonus_bps
        - liquidation_protocol_fee_bps
      properties:
        asset:
          type: string
        decimals:
          type: integer
          format: int32
          minimum: 0
        liquidation_bonus_bps:
          type: integer
          format: int64
          minimum: 0
        liquidation_protocol_fee_bps:
          type: integer
          format: int64
          minimum: 0
        max_collateral_units:
          type: string
        max_ltv_bps:
          type: integer
          format: int64
          minimum: 0
        target_ltv_bps:
          type: integer
          format: int64
          minimum: 0
        value_in_primary_per_unit:
          type:
            - string
            - 'null'
          description: >-
            Null when the asset has no registered market source, the market's
            mode

            is unknown, or it has no recorded oracle price: unavailable, not
            zero.

            "0" when the source market is Delisting.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from Geomi. See
        [Authentication](/api-reference/rest/authentication) for setup
        instructions.

````

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