GET
/
api
/
v1
/
realms
/
{realmId}
/
currencies
/
{currencyId}
/
holders
Get Points Holders
curl --request GET \
  --url https://api.drip.re/api/v1/realms/{realmId}/currencies/{currencyId}/holders \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "userId": "<string>",
      "username": "<string>",
      "balance": 123,
      "lastActivity": "2023-11-07T05:31:56Z",
      "totalEarned": 123,
      "totalSpent": 123,
      "transactionCount": 123,
      "rank": 123
    }
  ],
  "meta": {
    "total": 123,
    "page": 123,
    "limit": 123,
    "totalPages": 123
  }
}

Authorizations

Authorization
string
header
required

API Key

Path Parameters

realmId
string
required
currencyId
string
required

Query Parameters

page
number
default:1

Page number (1-based)

Required range: x >= 1
limit
number
default:10

Number of items per page (max 100)

Required range: 1 <= x <= 100

Search by user ID or username

sortBy
enum<string>
default:balance

Field to sort by

Available options:
balance,
totalEarned,
totalSpent,
lastActivity,
username,
transactionCount
sortOrder
enum<string>
default:desc

Sort order

Available options:
asc,
desc
minBalance
number
default:0

Minimum balance filter

Required range: x >= 0

Response

200
application/json

Default Response

The response is of type object.