Developer Quick Start
Read a lending reserve from the public NAVI API and identify its asset and borrowing limit. You can do this without a wallet or an API key.
Query the lending pools
Request GET /api/navi/pools. Both examples look up reserve 34 so you can compare the same record across languages.
In a terminal, fetch the JSON response:
curl --fail --silent --show-error https://open-api.naviprotocol.io/api/navi/poolsTo print just the example reserve, use jq:
curl --fail --silent --show-error https://open-api.naviprotocol.io/api/navi/pools |
jq -e '.data[] | select(.id == 34) | {id, symbol: .token.symbol, suiCoinType, ltvValue}'Check the result
A successful response has code: 0 and a data array. Here are the selected fields from the example reserve. Rates and limits can change.
{
"id": 34,
"symbol": "USDSUI",
"suiCoinType": "0x44f838219cf67b058f3b37907b655f226153c18e33dfcd0da559a844fea9b1c1::usdsui::USDSUI",
"ltvValue": 0.75
}| Response field | Use it to |
|---|---|
id | Select the reserve, independent of its position in the array. |
token.symbol | Display a ticker. Both examples print this value as symbol. |
suiCoinType | Identify the underlying asset by its full Move type. |
ltvValue | Read maximum loan-to-value as a fraction. In this example, 0.75 means 75%. |
Next steps
- Lending API reference — explore additional market data.
- Pool configuration and oracle feeds — look up objects needed for an integration.
- Market parameters — see how the protocol presents borrowing limits for each asset.