Prediction Market User
curl --request GET \
--url https://api.unusualwhales.com/api/predictions/user/{user_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.unusualwhales.com/api/predictions/user/{user_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.unusualwhales.com/api/predictions/user/{user_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.unusualwhales.com/api/predictions/user/{user_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.unusualwhales.com/api/predictions/user/{user_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.unusualwhales.com/api/predictions/user/{user_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.unusualwhales.com/api/predictions/user/{user_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"address_tags": [],
"categories": [
"Crypto",
"Culture",
"Finance",
"Games",
"Mentions",
"Other",
"Politics",
"Sports",
"Weather"
],
"category_scores": [
{
"category": "Politics",
"num_markets": 5,
"smart_score": "7.5",
"sum_pnl": "9200.00",
"win_rate": "0.80"
}
],
"positions": [
{
"amount": "5000",
"asset_id": "78699665722135183571140787397681621204678465342167575193369860798796866652931",
"avg_price": "0.42",
"category": "Sports",
"current_price": "0.68",
"image": "https://cdn.unusualwhales.com/predictions/lakers.png",
"invested_usd": "2100",
"outcome": "Yes",
"overall_pnl": "1650.25",
"overall_pnl_pct": "65.5",
"position_value": "3400",
"question": "Will the Lakers win the 2026 NBA Championship?",
"realized_pnl": "350.25",
"status": "active",
"tags": [
"smart_money"
],
"tags_score": "1.00",
"total_bought": "6000",
"total_invested_usd": "2520",
"unrealized_pnl": "1300",
"updated_at": "2026-07-29T18:32:11.000Z"
}
],
"score": {
"is_smart": false,
"num_markets": 10,
"smart_score": "4.525",
"sum_pnl": "18500.75",
"win_rate": "0.65"
},
"tag_info": [
{
"score": "0.35",
"tag": "insider_trades"
}
],
"total_trades": 128,
"trades": [
{
"amount_filled": "1000",
"asset_id": "78699665722135183571140787397681621204678465342167575193369860798796866652931",
"counterparty_address": "0x8b3f2c1d0e9a7b6c5d4e3f2a1b0c9d8e7f6a5b4c",
"executed_at": "2026-07-29T18:32:11.000Z",
"fee": "0.50",
"id": "trade-1a2b3c",
"image": "https://cdn.unusualwhales.com/predictions/lakers.png",
"question": "Will the Lakers win the 2026 NBA Championship?",
"side": "buyer",
"transaction_hash": "0x5c8f1e2d3a4b5c6d7e8f90a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d"
}
],
"user_address": "0x5140e6529f2108469c9386ad5acd7acb8cddae0c",
"user_name": "whale_watcher"
}
}{
"code": "authentication_required",
"documentation_url": "https://api.unusualwhales.com/docs",
"expected_format": "uuid",
"message": "The API token provided is not in the expected format. Unusual Whales API tokens are UUIDs, such as 123e4567-e89b-12d3-a456-426614174000.",
"reason": "malformed_token",
"request_id": "GNI_YTC1CRnw2LACGBvE",
"retryable": false,
"support_email": "[email protected]",
"token_url": "https://unusualwhales.com/dashboard/api"
}{
"code": "missing_access",
"documentation_url": "https://api.unusualwhales.com/docs",
"message": "The API token provided is valid but is not permitted to access this route.",
"reason": "route_not_permitted",
"request_id": "GNI_YTC1CRnw2LACGBvE",
"retryable": false,
"support_email": "[email protected]",
"token_url": "https://unusualwhales.com/dashboard/api"
}"{}"{
"msg": "Invalid path input: MSFT12 (valid example: AAPL) - Invalid query input(s): date=2023-02-140 (valid example: date=2024-01-18)",
"path": "/api/darkpool/MSFT12",
"query": "date=2023-02-140",
"url": "localhost:4000/api/darkpool/MSFT12?date=2023-02-140"
}"Something went wrong"predictions
Prediction Market User
Returns a prediction market user profile by user/wallet ID.
GET
/
api
/
predictions
/
user
/
{user_id}
Prediction Market User
curl --request GET \
--url https://api.unusualwhales.com/api/predictions/user/{user_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.unusualwhales.com/api/predictions/user/{user_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.unusualwhales.com/api/predictions/user/{user_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.unusualwhales.com/api/predictions/user/{user_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.unusualwhales.com/api/predictions/user/{user_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.unusualwhales.com/api/predictions/user/{user_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.unusualwhales.com/api/predictions/user/{user_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"address_tags": [],
"categories": [
"Crypto",
"Culture",
"Finance",
"Games",
"Mentions",
"Other",
"Politics",
"Sports",
"Weather"
],
"category_scores": [
{
"category": "Politics",
"num_markets": 5,
"smart_score": "7.5",
"sum_pnl": "9200.00",
"win_rate": "0.80"
}
],
"positions": [
{
"amount": "5000",
"asset_id": "78699665722135183571140787397681621204678465342167575193369860798796866652931",
"avg_price": "0.42",
"category": "Sports",
"current_price": "0.68",
"image": "https://cdn.unusualwhales.com/predictions/lakers.png",
"invested_usd": "2100",
"outcome": "Yes",
"overall_pnl": "1650.25",
"overall_pnl_pct": "65.5",
"position_value": "3400",
"question": "Will the Lakers win the 2026 NBA Championship?",
"realized_pnl": "350.25",
"status": "active",
"tags": [
"smart_money"
],
"tags_score": "1.00",
"total_bought": "6000",
"total_invested_usd": "2520",
"unrealized_pnl": "1300",
"updated_at": "2026-07-29T18:32:11.000Z"
}
],
"score": {
"is_smart": false,
"num_markets": 10,
"smart_score": "4.525",
"sum_pnl": "18500.75",
"win_rate": "0.65"
},
"tag_info": [
{
"score": "0.35",
"tag": "insider_trades"
}
],
"total_trades": 128,
"trades": [
{
"amount_filled": "1000",
"asset_id": "78699665722135183571140787397681621204678465342167575193369860798796866652931",
"counterparty_address": "0x8b3f2c1d0e9a7b6c5d4e3f2a1b0c9d8e7f6a5b4c",
"executed_at": "2026-07-29T18:32:11.000Z",
"fee": "0.50",
"id": "trade-1a2b3c",
"image": "https://cdn.unusualwhales.com/predictions/lakers.png",
"question": "Will the Lakers win the 2026 NBA Championship?",
"side": "buyer",
"transaction_hash": "0x5c8f1e2d3a4b5c6d7e8f90a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d"
}
],
"user_address": "0x5140e6529f2108469c9386ad5acd7acb8cddae0c",
"user_name": "whale_watcher"
}
}{
"code": "authentication_required",
"documentation_url": "https://api.unusualwhales.com/docs",
"expected_format": "uuid",
"message": "The API token provided is not in the expected format. Unusual Whales API tokens are UUIDs, such as 123e4567-e89b-12d3-a456-426614174000.",
"reason": "malformed_token",
"request_id": "GNI_YTC1CRnw2LACGBvE",
"retryable": false,
"support_email": "[email protected]",
"token_url": "https://unusualwhales.com/dashboard/api"
}{
"code": "missing_access",
"documentation_url": "https://api.unusualwhales.com/docs",
"message": "The API token provided is valid but is not permitted to access this route.",
"reason": "route_not_permitted",
"request_id": "GNI_YTC1CRnw2LACGBvE",
"retryable": false,
"support_email": "[email protected]",
"token_url": "https://unusualwhales.com/dashboard/api"
}"{}"{
"msg": "Invalid path input: MSFT12 (valid example: AAPL) - Invalid query input(s): date=2023-02-140 (valid example: date=2024-01-18)",
"path": "/api/darkpool/MSFT12",
"query": "date=2023-02-140",
"url": "localhost:4000/api/darkpool/MSFT12?date=2023-02-140"
}"Something went wrong"Last modified on September 29, 2026
Was this page helpful?
