Statistics & leaderboards
Fetch user leaderboards, reward totals, and historical TVL/APR metrics
The Merkl API provides endpoints to retrieve user leaderboards and reward statistics for individual campaigns or across multiple campaigns distributing the same token.
Recommended endpoints:
- Campaign leaderboard: Get all users rewarded in a campaign —
GET /v4/rewards/ - Token-level rewards: Check rewards across all campaigns for a token —
GET /v4/rewards/token/ - Campaign-level rewards: Check total amount of rewards distributed in a specific campaign —
GET /v4/rewards/total - Unclaimed rewards: Check unclaimed amounts for a campaign —
GET /v4/rewards/unclaim/ - Historical metrics: Get TVL and APR history for a campaign —
GET /v4/campaigns/{id}/metrics
