---
title: "Get Max Amounts"
method: GET
path: "/defi/v1/lendborrow/getmaxamounts"
tags: ["lendborrow"]
---

# Get Max Amounts

`GET /defi/v1/lendborrow/getmaxamounts`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/lendborrow/getmaxamounts`
- Auth: API key in header `X-API-Key`

Calculate the maximum amounts you can withdraw or borrow for a specific asset. Based on your collateral and current market conditions, this endpoint determines your borrowing and withdrawal limits, empowering you to manage risk and plan your next steps effectively.

> 💡 
**Compute Unit Value:** `110` (Fixed)

## Query parameters

- `lendborrowId` '1300' | '1302': The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.
- `address` string, required: Public address of the user to retrieve max amounts for.
- `asset` string, required: Token's address for which the details are required.
- `market` string: Standard market choice like USDC or WETH. Defaults to USDC if not specified.

## Response `200`

Successful response

- object
  - `status` number: Numeric status code indicating success or failure of the API call
  - `msg` string: Human-readable message describing the API result or error
  - `data` object
    - `maxWithdrawalAmount` string, required: Maximum withdrawal amount allowed
    - `maxBorrowableAmount` string, required: Maximum borrowable amount allowed

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
