Get current user statistics

Get trading and account statistics for the authenticated user.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
X-API-Keystring

Server-side API key (drzl_live_ prefix), least-privilege scoped. Keep it secret — never ship it to a browser or SPA. An alternative to a session JWT (HTTPBearer) on the developer surface. See docs/api/cors-and-auth.md.

Headers

X-API-Keystring or nullOptional

Response

Successful Response
user_idstring
account_age_daysintegerDefaults to 0
accuracy_pointsintegerDefaults to 0
avg_returndoubleDefaults to 0
best_streakintegerDefaults to 0
best_trade_pnldoubleDefaults to 0
current_streakintegerDefaults to 0
leaderboard_rankinteger or null
markets_lostintegerDefaults to 0
markets_tradedintegerDefaults to 0
markets_wonintegerDefaults to 0
net_profitdoubleDefaults to 0
order_countintegerDefaults to 0
position_countintegerDefaults to 0
prediction_pointsintegerDefaults to 0
streak_pointsintegerDefaults to 0
total_depositeddoubleDefaults to 0
total_fees_paiddoubleDefaults to 0
total_lossesdoubleDefaults to 0
total_pointsintegerDefaults to 0
total_volume_tradeddoubleDefaults to 0
total_winningsdoubleDefaults to 0
total_withdrawndoubleDefaults to 0
trade_countintegerDefaults to 0
trading_pointsintegerDefaults to 0
wallet_balancedoubleDefaults to 0
win_ratedoubleDefaults to 0
worst_trade_pnldoubleDefaults to 0

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error