API reference
Points
Your points total, volume and rank.
Points summary
GET
/api/v1/pointsAPI keyPoints are earned at 50 per USD of executed volume.
Response
totalPointsnumberPoints earned.
volumeUsdstringExecuted USD volume counted for points.
completedSwapsintegerSwaps that earned points.
rankintegernullableLeaderboard rank, or null with no points yet.
participantsintegerAccounts on the leaderboard.
pointsPerUsdintegerCurrent earn rate.
Errors
curl "https://privy.ac/api/v1/points" \
-H "X-API-Key: $PRIVY_API_KEY"{
"data": {
"totalPoints": 8156.5,
"volumeUsd": "163.13",
"completedSwaps": 17,
"rank": 1,
"participants": 1,
"pointsPerUsd": 50
},
"requestId": "req_8f3a2c91d4e6b07f"
}