GET /api/v1/auth/me
Return the full profile of the currently authenticated user, including balance, open and closed positions, crypto wallet addresses, and referral information.
Authentication
Required
Request
No request body or query parameters.
Example
curl -X GET https://intotes.com/api/v1/auth/me \
-H "Authorization: Bearer <access_token>"
Response
200 OK
{
"user": {
"id": 42,
"name": "John",
"nickname": "john_doe",
"email": "user@example.com",
"referral_code": "XYZ789",
"language": "en",
"theme": "dark",
"balance": 50000,
"bonus_balance": 1000,
"total_balance": 51000,
"tron_address": "TXyz1234567890abcdefghijk",
"bsc_address": "0x1234567890abcdef1234567890abcdef12345678",
"polygon_address": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd",
"ethereum_address": "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
"avatar_url": "https://cdn.intotes.com/avatars/42.jpg",
"telegram_verified": false,
"is_creator": false,
"is_stats_viewer": false,
"positions": [
{
"id": 501,
"user_id": 42,
"market_id": 100,
"token_type": "YES",
"amount": 1500,
"avg_price": 6500,
"use_bonus": false,
"created_at": "2026-03-10T10:00:00Z",
"event_id": 10,
"event_name": "Will ETH exceed $4000?",
"pool_id": 5,
"pool_name": "Main Pool",
"market_name": "ETH > $4000",
"side": "YES",
"side_ru": "ДА",
"unrealized_pnl": 320
}
],
"closed_positions": [
{
"id": 401,
"user_id": 42,
"market_id": 50,
"token_type": "NO",
"amount": 2000,
"avg_price": 3000,
"use_bonus": false,
"pnl": 1400,
"won_side": 1,
"closed_at": "2026-03-05T18:00:00Z",
"event_id": 8,
"event_name": "BTC > $100K?",
"pool_id": 3,
"pool_name": "Crypto",
"market_name": "BTC > $100K",
"side": "NO",
"side_ru": "НЕТ"
}
],
"closed_positions_has_more": false,
"total_predictions": 12,
"biggest_win": 8500,
"registered_date": "2026-01-15",
"level": 0
}
}
Response fields
| Field | Type | Description |
|---|---|---|
id | int64 | Unique user identifier |
name | string | Display name |
nickname | string | Unique username (nullable) |
profile_hidden | boolean | Whether the profile is hidden from other users |
email | string | Email address |
referral_code | string | User's referral code for sharing |
language | string | Preferred language ("en" or "ru") |
theme | string | UI theme preference |
level | integer | User level |
balance | int64 | Account balance in kopecks |
bonus_balance | int64 | Bonus balance in kopecks |
total_balance | int64 | Sum of balance and bonus balance |
tron_address | string | TRON wallet address for deposits |
bsc_address | string | BSC wallet address for deposits |
polygon_address | string | Polygon wallet address for deposits |
ethereum_address | string | Ethereum wallet address for deposits |
avatar_url | string | URL to user's avatar image (nullable) |
telegram_verified | boolean | Whether Telegram account is linked |
is_creator | boolean | Whether the user can create events |
is_stats_viewer | boolean | Whether the user has access to admin stats |
positions | array | Currently open positions (PositionWithDetails) |
closed_positions | array | Settled positions (ClosedPositionWithDetails) |
closed_positions_has_more | boolean | Whether more closed positions exist |
total_predictions | int64 | Total number of closed positions |
biggest_win | int64 | Largest single PnL win in kopecks |
registered_date | string | Registration date in YYYY-MM-DD format |
Errors
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid access token |