Skip to main content
GET
/
earn
/
earnings
earnings
curl --request GET \
  --url https://lite-api.jup.ag/lend/v1/earn/earnings
{
  "address": "<string>",
  "ownerAddress": "<string>",
  "totalDeposits": "<string>",
  "totalWithdraws": "<string>",
  "totalBalance": "<string>",
  "totalAssets": "<string>",
  "earnings": "<string>"
}

Query Parameters

user
string
required

User wallet address

positions
string
required

User token positions (comma-separated)

Response

200 - application/json

Successful response

address
string
required
ownerAddress
string
required
totalDeposits
string
required
totalWithdraws
string
required
totalBalance
string
required
totalAssets
string
required
earnings
string
required
I