cURL
curl --request GET \ --url https://markets.dial.to/api/v0/positions/owners \ --header 'x-dialect-api-key: <api-key>'
{ "positions": [ { "id": "<string>", "type": "<any>", "marketId": "<string>", "ownerAddress": "<string>", "side": "deposit", "amount": 123, "amountUsd": 123, "additionalData": {}, "market": { "id": "<string>", "type": "<any>", "provider": { "id": "<string>", "name": "<string>" }, "token": { "address": "<string>", "symbol": "<string>", "decimals": 123 }, "depositApy": 123, "borrowApy": 123, "totalDeposit": 123, "totalDepositUsd": 123, "totalBorrow": 123, "totalBorrowUsd": 123, "maxDeposit": 123, "maxBorrow": 123, "oraclePrice": 123, "additionalData": {}, "actions": { "deposit": { "blinkUrl": "<string>" }, "withdraw": { "blinkUrl": "<string>" } } } } ] }
Supported providers & markets: Kamino Lending.
API key for the Markets API
Comma separated list of owner addresses. Currently only supports one address.
OK
The response is of type object.
object
Was this page helpful?