Examples for scheduled monitoring with list, lookup, and yield metrics endpoints.
shellscript
curl -X GET "$BASE_URL/v2/portfolio-wallets?pageSize=25" \ -H "Authorization: Bearer $TOKEN"
curl -X GET "$BASE_URL/v2/portfolio-wallets?pageSize=25&cursor=$NEXT_CURSOR" \ -H "Authorization: Bearer $TOKEN"
curl -X GET "$BASE_URL/v2/portfolio-wallets/$WALLET_ID" \ -H "Authorization: Bearer $TOKEN"
requestId
label
curl -X GET "$BASE_URL/v2/portfolio-wallets/lookup?requestId=$REQUEST_ID" \ -H "Authorization: Bearer $TOKEN"
curl -X GET "$BASE_URL/v2/portfolio-wallets/lookup?label=My%20Portfolio" \ -H "Authorization: Bearer $TOKEN"
curl -X POST "$BASE_URL/v2/portfolio-wallets/yield" \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d "{ \"periodStartIso\": \"2026-01-01T00:00:00Z\", \"periodEndIso\": \"2026-02-01T00:00:00Z\", \"portfolioWalletIds\": [\"$WALLET_ID\"] }"