curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/analytics/rewards/stats/users \
--header 'x-api-token: <api-key>'{
"data": [
{
"userId": "<string>",
"username": "<string>",
"portfolio": {
"assetsOwned": 123,
"assetsRedeemed": 123,
"entriesHeld": 123,
"giveawaysWon": 123,
"totalRewardValue": 123
},
"behavior": {
"avgTimeToRedeem": 123,
"redemptionRate": 123,
"giveawayParticipationRate": 123,
"favoriteRewardType": "<string>",
"lastRewardActivity": "2023-11-07T05:31:56Z"
},
"history": {
"totalAssetsEarned": 123,
"totalEntriesEarned": 123,
"winLossRatio": 123,
"lifetimeValue": 123
}
}
],
"pagination": {
"total": 123,
"skip": 123,
"limit": 123
}
}Get user-level reward analytics including portfolio, behavior patterns, and historical performance
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/analytics/rewards/stats/users \
--header 'x-api-token: <api-key>'{
"data": [
{
"userId": "<string>",
"username": "<string>",
"portfolio": {
"assetsOwned": 123,
"assetsRedeemed": 123,
"entriesHeld": 123,
"giveawaysWon": 123,
"totalRewardValue": 123
},
"behavior": {
"avgTimeToRedeem": 123,
"redemptionRate": 123,
"giveawayParticipationRate": 123,
"favoriteRewardType": "<string>",
"lastRewardActivity": "2023-11-07T05:31:56Z"
},
"history": {
"totalAssetsEarned": 123,
"totalEntriesEarned": 123,
"winLossRatio": 123,
"lifetimeValue": 123
}
}
],
"pagination": {
"total": 123,
"skip": 123,
"limit": 123
}
}x >= 01 <= x <= 100Successful response
Show child attributes
Was this page helpful?