Skip to main content
GET
/
rewards
/
stats
/
allocations
Get reward allocations overview
curl --request GET \
  --url https://{subdomain}.nudj.cx/api/v2/analytics/rewards/stats/allocations
{
  "allocations": [
    {
      "id": "<string>",
      "allocationType": "<string>",
      "supply": 123,
      "amountToDistribute": 123,
      "distributed": 123,
      "isShop": true,
      "isLive": true,
      "sourceName": "<string>",
      "category": "<string>",
      "primaryImageUrl": "<string>",
      "eventDetails": {
        "category": "<string>",
        "subCategory": "<string>",
        "sourceId": "<string>"
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "summary": {
    "totalSupply": 123,
    "totalDistributed": 123,
    "allocationRate": 123,
    "shopAllocations": 123,
    "eventAllocations": 123,
    "activeAllocations": 123,
    "totalAllocations": 123
  }
}

Query Parameters

rewardId
string
required
startDate
string
endDate
string

Response

Successful response

allocations
object[]
required
summary
object
required
I