This API lets users view a leaderboard that tracks participants' progress in a certain project space. The leaderboard provides information on the number of tasks completed, rewards claimed, and experience points earned by each participant.
Please note that no authentication is required since leaderboard data is public.
Get participants' progress only up to ${lastDays} days ago. Must be greater than zero. Cannot be used together with currentPeriod.
currentPeriod
String
Get participants' progress of the current period. Accepted values: WEEK, MONTH. Cannot be used together with lastDays.
cids
String
Filter by campaigns ID (cids). cids are separated by comma (e.g. cids=cid,cid,cid)
{"filteredLeaderboard":[{"address":"0x0000000000000000000000000000000000000000","taskDone":100,"rewardClaimed":5,"position":1,"xpGained":50,// XP gained in the last 30 days"totalXp":120// total amount of XPs}],"nextPage":1,// current page"leaderboardUserCount":2290,// count of all users in the leaderboard "userPosition":{...}}
Get Tide NFT user data for a specific campaign
This API lets users get information related to one NFT minted in one specific Tide campaign.
Using this endpoint Tide gives you access to information related to the specific campaign and metadata related to the NFT minted by one specific user.
Please note that no authentication is required since the data shown is public.
{
"name": "MafiaBird #1",
"attributes": [
{
"trait_type": "Body",
"value": "Rocco"
},
{
"trait_type": "Clothes",
"value": "Harlem"
},
{
"trait_type": "Background",
"value": "Empire State Building"
},
{
"trait_type": "Role",
"value": "Ally"
},
{
"trait_type": "Weapon",
"value": "Bird's Knuckles"
},
{
"trait_type": "XP",
"value": "65"
}
],
"userPosition": {
"address": "0x30b0EAe5e9Df8a1C95dFdB7AF86aa4e7F3B51f13",
"rewardClaimed": 1,
"taskDone": 2,
"referralXp": 10, // xp gained from referral
"taskXp": 20, // xp gained from tasks
"xpGained": 10, // xp gained in the last 30 days
"totalXp": 65, // total xp gaiend
"xpEarned": 65, // total xp gained
"position": 1137
},
"description": "Are you ready to become a made bird and dive into The Magpie Mafia? π¦π‘οΈ Enter the gang, climb your way up thru the ranks of a fun-oriented mafia-style organization, and be rewarded for your activity. π₯π«‘ By joining, you will earn your own nontransferable Magpie Mafia NFT that will level up based on your activity while acting as your way to access future Magpie Mafia functions, track your reputation, and more! π£From here onwards, each time youβd like to engage in a campaign, join an event, or track your reputation, just show that youβre a member of The Magpie Mafia and join in on all the fun. π°The beak speaks, the words of The Magpie Mafia carries with it authority and respect. πͺ",
"external_url": "https://www.magpiefi.xyz/",
"image": "https://tideprotocol.infura-ipfs.io/ipfs/QmZHMqGJ69SCofyoXtKaXxrLnoKBbGL92aC5NC79sk9Aks",
"tokenId": "1"
}