🚨 Action Required: lite-api.jup.ag will be deprecated on 31st December 2025. View migration guide →
lite-api.jup.ag
cURL
curl --request GET \ --url https://api.jup.ag/lend/v1/earn/earnings \ --header 'x-api-key: <api-key>'
{ "address": "<string>", "ownerAddress": "<string>", "totalDeposits": "<string>", "totalWithdraws": "<string>", "totalBalance": "<string>", "totalAssets": "<string>", "earnings": "<string>" }
Request for the earnings of one or multiple positions of a user
Get API key via https://portal.jup.ag
User wallet address
User token positions (comma-separated)
Successful response