# Prediction Market User `GET` `https://api.unusualwhales.com/api/predictions/user/{user_id}` Returns a prediction market user profile by user/wallet ID. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Path Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `user_id` | string | Yes | | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `address_tags` | array[string] | | | `categories` | array[string] | | | `category_scores` | array[Prediction Market User Category Score] | | | `positions` | array[Prediction Market User Position] | | | `score` | object | Aggregate score across all categories, or null if not yet scored. | | `tag_info` | array[Prediction Tag Info] | | | `total_trades` | integer | | | `trades` | array[Prediction Market User Trade] | | | `user_address` | string | | | `user_name` | string | | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/predictions/user/{user_id}" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json" ``` ### Python ```python import http.client conn = http.client.HTTPSConnection("api.unusualwhales.com") headers = {"Authorization": "Bearer YOUR_API_KEY", "Accept": "application/json"} conn.request("GET", "/api/predictions/user/{user_id}", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": { "address_tags": [], "categories": [ "Crypto", "Culture", "Finance", "Games", "Mentions", "Other", "Politics", "Sports", "Weather" ], "category_scores": [ null ], "positions": [ null ], "score": null } } ```