Wallet-wide PnL totals across all markets
Wallet-wide PnL totals aggregated across every market the wallet has touched, refreshed hourly — a fast point lookup rather than a live scan. For real-time per-market freshness on a single active market, use /pnl/hover/{provider_id}/{wallet}/{contract_id} instead. Same provider restriction as /pnl/hover: only polymarket and predictfun are accepted; kalshi and hyperliquid are rejected with 400 and must use /pnl/{user_id}. When the underlying pipeline is disabled, returns a well-formed zero payload (market_count: 0, token_count: 0, all dollar totals 0.0, snapshot_ts set to the current time) instead of erroring. No credentials are required. If you send an API key, it needs position:read, and the requested provider must have API access enabled.
curl --request GET \
--url https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}import requests
url = "https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}', 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://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"provider_id": "polymarket",
"wallet_address": "0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b",
"total_unrealized_pnl_usd": 340.2,
"total_realized_pnl_usd": 1250.4382,
"total_position_value_usd": 980,
"total_cost_basis_usd": 640,
"market_count": 12,
"token_count": 19,
"snapshot_ts": "2026-07-22T13:00:00Z"
}{
"detail": "Invalid API credentials"
}{
"detail": [
{}
]
}{
"error": "Rate limit exceeded: 100 per 1 minute"
}{
"detail": "Invalid provider"
}Path Parameters
Response
Wallet-wide PnL totals as of the last hourly snapshot. Returns a zeroed payload (not a 404) when the underlying PnL pipeline is disabled.
Wallet-wide PnL totals across all markets, refreshed hourly. Returns a zeroed payload (market_count: 0, token_count: 0) instead of erroring when the underlying PnL pipeline is disabled.
Was this page helpful?
curl --request GET \
--url https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}import requests
url = "https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}', 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://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kairos.trade/pnl/wallet-totals/{provider_id}/{wallet}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"provider_id": "polymarket",
"wallet_address": "0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b",
"total_unrealized_pnl_usd": 340.2,
"total_realized_pnl_usd": 1250.4382,
"total_position_value_usd": 980,
"total_cost_basis_usd": 640,
"market_count": 12,
"token_count": 19,
"snapshot_ts": "2026-07-22T13:00:00Z"
}{
"detail": "Invalid API credentials"
}{
"detail": [
{}
]
}{
"error": "Rate limit exceeded: 100 per 1 minute"
}{
"detail": "Invalid provider"
}
