Skip to main content
GET
/
yield
/
earnings
curl --request GET \
  --url 'https://api.starknode.io/yield/earnings?wallet=FmTGYpzX27fDqaiytXUdFVaphC5o68G61Q3uhVM2d8bm&chain_name=solana' \
  --header 'x-api-key: <api_key>'
{
  "statusCode": 200,
  "success": true,
  "status": "get_earnings_position",
  "message": "Get earnings wallet position",
  "data": {
    "profits": []
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.starkfi.io/llms.txt

Use this file to discover all available pages before exploring further.

x-api-key
string
required
Your StarkNode API key. You can find it in your dashboard.
wallet
string
Filters wallet_manager (recommended).
position
string
Snapshot id filter.
asset
string
strategy_symbol filter.
chain_name
string
Chain filter.
provider
string
strategy_name filter (jupiter_lend, kamino, etc.).
amount
string
When set to a positive number, includes requested-withdraw profit estimates in each row.
curl --request GET \
  --url 'https://api.starknode.io/yield/earnings?wallet=FmTGYpzX27fDqaiytXUdFVaphC5o68G61Q3uhVM2d8bm&chain_name=solana' \
  --header 'x-api-key: <api_key>'
{
  "statusCode": 200,
  "success": true,
  "status": "get_earnings_position",
  "message": "Get earnings wallet position",
  "data": {
    "profits": []
  }
}

Response

data.profits
array
required
One object per matching snapshot_yield_operations row, enriched with on-chain earnings and profit math.