Skip to main content
GET
/
rewards
/
stats
/
users
User rewards analytics
curl --request GET \
  --url https://{subdomain}.nudj.cx/api/v2/analytics/rewards/stats/users
{
  "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
  }
}

Query Parameters

communityId
string
userId
string
startDate
string
endDate
string
skip
integer
default:0
Required range: x >= 0
limit
integer
default:10
Required range: 1 <= x <= 100

Response

Successful response

data
object[]
required
pagination
object
required
I