# GET Available borrows

{% openapi src="/files/9n3oMf5j9lHPVLo2Ywuu" path="/v1/lend/mm-available-borrow" method="get" %}
[nativeLend.json](https://2236132028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fta4g2TwHaleDMaDKVgwR%2Fuploads%2FtioKKepUoaP6j2ypXoqA%2FnativeLend.json?alt=media\&token=8d90ab11-f17c-4a71-8b31-696c2143cc2e)
{% endopenapi %}

Market makers can use this data to learn the max size they can quote to construct the orderbook. `inventoryBalance` indicates the actual balance available in the Vault. `baseShortLimit` is the conservative amount that MM can quote as short token assuming long token has collateral factor `0`. If the long token has higher collateral factor, the limit would be higher, the adjusted amount it `baseShortLimit/(1 - longTokenCollateralFactor)`. For more specific example, refer [here](broken://pages/yizUTrKNKwplKBFC0jMB#how-to-know-the-largest-order-size-that-can-be-quoted).

The actual limit would be `Math.min(inventoryBalance, baseShortLimit/(1 - longTokenCollateralFactor)`)

#### Example response

```json
{
    "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": {
        "tokenSymbol": "USDC",
        // inventoryBalance: The inventory balance in the Lend Vault
        "inventoryBalanceWei": "201896139137", 
        "inventoryBalanceEther": 201896.139137,
        // baseShortLimit: The conservative amount that MM can quote as short token, assuming long token has collateral factor 0
        "baseShortLimitWei": "9991965330", 
        "baseShortLimitEther": 9991.965330,
        // do not use the collateral for this token itself on the short side, should use the collateral factor of the long token in the pair
        "collateralFactor": 0.8,
        "tokenUsd": 1.0008041129999998
    },
    "0xdac17f958d2ee523a2206206994597c13d831ec7": {
        "tokenSymbol": "USDT",
        "inventoryBalanceWei": "40592895009",
        "inventoryBalanceEther": 40592.895009,
        "baseShortLimitWei": "10012332740",
        "baseShortLimitEther": 10012.332740,
        "collateralFactor": 0.8,
        "tokenUsd": 0.9987682450860701
    },
    "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": {
        "tokenSymbol": "WETH",
        "inventoryBalanceWei": "6123000233052323400",
        "inventoryBalanceEther": 6.123000233052323,
        "baseShortLimitWei": "2914794044523376000",
        "baseShortLimitEther": 2.914794044523376,
        "collateralFactor": 0.8,
        "tokenUsd": 3430.7741292353257
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.native.org/native-dev/build-with-native/market-makers/native-market-makers-api/get-available-borrows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
