GET /api/v1/analytics/user/me
Activity summary and portfolio overview for the authenticated user.
Authentication: Required
Cache: None
Sample Request
curl -H "Authorization: Bearer YOUR_TOKEN" \
"https://api.grails.app/api/v1/analytics/user/me"Response
// 200 OK
{
"success": true,
"data": {
"activity": {
"names_viewed": 150,
"names_watching": 42,
"votes_cast": 30,
"offers_made": 3,
"names_purchased": 15,
"names_sold": 10
},
"portfolio": {
"owned_names_count": 25,
"listed_names_count": 5,
"total_listing_value_wei": "5000000000000000000",
"total_offer_value_wei": "7500000000000000000"
}
},
"meta": {
"timestamp": "2026-04-09T00:00:00.000Z",
"version": "1.0.0"
}
}Error Responses
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid token |
Last updated on