earnings
curl --request GET \
--url https://api.jup.ag/lend/v1/earn/earnings \
--header 'x-api-key: <api-key>'[
{
"address": "So11111111111111111111111111111111111111112",
"ownerAddress": "BQ72nSv9f3PRyRKCBnHLVrerrv37CYTHm5h3s9VSGQDV",
"earnings": 34483000,
"slot": 345678901
}
]Earn
Earnings
Request for the earnings of one or multiple positions of a user
GET
/
earn
/
earnings
earnings
curl --request GET \
--url https://api.jup.ag/lend/v1/earn/earnings \
--header 'x-api-key: <api-key>'[
{
"address": "So11111111111111111111111111111111111111112",
"ownerAddress": "BQ72nSv9f3PRyRKCBnHLVrerrv37CYTHm5h3s9VSGQDV",
"earnings": 34483000,
"slot": 345678901
}
]Documentation Index
Fetch the complete documentation index at: https://dev.jup.ag/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Get API key via https://developers.jup.ag/portal
Query Parameters
User wallet address
User token positions (comma-separated)
Was this page helpful?
⌘I
