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_daysintegerOptionalDefaults to 0
accuracy_pointsintegerOptionalDefaults to 0
avg_returndoubleOptionalDefaults to 0
best_streakintegerOptionalDefaults to 0
best_trade_pnldoubleOptionalDefaults to 0
current_streakintegerOptionalDefaults to 0
leaderboard_rankinteger or nullOptional
markets_lostintegerOptionalDefaults to 0
markets_tradedintegerOptionalDefaults to 0
markets_wonintegerOptionalDefaults to 0
net_profitdoubleOptionalDefaults to 0
order_countintegerOptionalDefaults to 0
position_countintegerOptionalDefaults to 0
prediction_pointsintegerOptionalDefaults to 0
streak_pointsintegerOptionalDefaults to 0
total_depositeddoubleOptionalDefaults to 0
total_fees_paiddoubleOptionalDefaults to 0
total_lossesdoubleOptionalDefaults to 0
total_pointsintegerOptionalDefaults to 0
total_volume_tradeddoubleOptionalDefaults to 0
total_winningsdoubleOptionalDefaults to 0
total_withdrawndoubleOptionalDefaults to 0
trade_countintegerOptionalDefaults to 0
trading_pointsintegerOptionalDefaults to 0
wallet_balancedoubleOptionalDefaults to 0
win_ratedoubleOptionalDefaults to 0
worst_trade_pnldoubleOptionalDefaults to 0

Errors

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