SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getPnlV2WalletChart('FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF', { time_from: 1700000000, time_to: 1700086400 });curl --request GET \
--url https://data.solanatracker.io/v2/pnl/wallets/{wallet}/chart \
--header 'x-api-key: <api-key>'import requests
url = "https://data.solanatracker.io/v2/pnl/wallets/{wallet}/chart"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://data.solanatracker.io/v2/pnl/wallets/{wallet}/chart', 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.solanatracker.io/v2/pnl/wallets/{wallet}/chart",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.solanatracker.io/v2/pnl/wallets/{wallet}/chart"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.solanatracker.io/v2/pnl/wallets/{wallet}/chart")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/v2/pnl/wallets/{wallet}/chart")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"wallet": "CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o",
"identity": {
"name": "Cented",
"twitter": "@Cented7",
"avatar": "https://kol-avatar.solanatracker.io/CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o",
"platforms": [
"axiom",
"bloom"
],
"type": "kol",
"tags": [
"kol",
"axiom",
"bloom"
]
},
"points": [
{
"date": "2025-10-14",
"time": 1760400000,
"pnl": {
"realized": 6816182.11,
"total": 6816182.11
},
"invested": 32254563.43,
"proceeds": 38281423.93,
"activity": {
"realizedPnl": 37132.78,
"buys": 359,
"sells": 303,
"volume": 365027.19,
"avgHoldTimeSecs": 32.339436464088394
},
"counts": {
"buys": 72853,
"sells": 76328,
"tokensTraded": 46329
}
},
{
"date": "2025-10-15",
"time": 1760486400,
"pnl": {
"realized": 6856608.25,
"total": 6856608.25
},
"invested": 32346009.86,
"proceeds": 38413230.91,
"activity": {
"realizedPnl": 40426.14,
"buys": 196,
"sells": 228,
"volume": 223253.42,
"avgHoldTimeSecs": 45.60831132075471
},
"counts": {
"buys": 73049,
"sells": 76556,
"tokensTraded": 46434
}
}
],
"summary": {
"days": {
"trading": 180,
"positive": 179,
"negative": 1,
"breakEven": 0
},
"totals": {
"realizedPnl": 3574393.69,
"volume": 40026214.46
},
"winRate": 99.44,
"bestDay": {
"date": "2026-03-23",
"realizedPnl": 85718.59
},
"worstDay": {
"date": "2025-11-12",
"realizedPnl": -60803.14
},
"streaks": {
"positive": 150,
"negative": 1,
"currentPositive": 150,
"currentNegative": 0
},
"drawdown": {
"amount": 515125.86,
"percent": 5.31
},
"averages": {
"dailyVolume": 222367.86,
"dailyRealizedPnl": 19857.74,
"holdTimeSecs": 54
}
},
"pagination": {
"count": 180,
"hasMore": true,
"nextTimeTo": 1760313600
}
}{
"error": "<string>"
}{
"error": "<string>"
}Wallet
Get Wallet Chart
Returns daily time-series points for charting wallet PnL, volume, and activity. Supports backward pagination with time_from and time_to and includes a computed performance summary.
GET
/
v2
/
pnl
/
wallets
/
{wallet}
/
chart
SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getPnlV2WalletChart('FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF', { time_from: 1700000000, time_to: 1700086400 });curl --request GET \
--url https://data.solanatracker.io/v2/pnl/wallets/{wallet}/chart \
--header 'x-api-key: <api-key>'import requests
url = "https://data.solanatracker.io/v2/pnl/wallets/{wallet}/chart"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://data.solanatracker.io/v2/pnl/wallets/{wallet}/chart', 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.solanatracker.io/v2/pnl/wallets/{wallet}/chart",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.solanatracker.io/v2/pnl/wallets/{wallet}/chart"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.solanatracker.io/v2/pnl/wallets/{wallet}/chart")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/v2/pnl/wallets/{wallet}/chart")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"wallet": "CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o",
"identity": {
"name": "Cented",
"twitter": "@Cented7",
"avatar": "https://kol-avatar.solanatracker.io/CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o",
"platforms": [
"axiom",
"bloom"
],
"type": "kol",
"tags": [
"kol",
"axiom",
"bloom"
]
},
"points": [
{
"date": "2025-10-14",
"time": 1760400000,
"pnl": {
"realized": 6816182.11,
"total": 6816182.11
},
"invested": 32254563.43,
"proceeds": 38281423.93,
"activity": {
"realizedPnl": 37132.78,
"buys": 359,
"sells": 303,
"volume": 365027.19,
"avgHoldTimeSecs": 32.339436464088394
},
"counts": {
"buys": 72853,
"sells": 76328,
"tokensTraded": 46329
}
},
{
"date": "2025-10-15",
"time": 1760486400,
"pnl": {
"realized": 6856608.25,
"total": 6856608.25
},
"invested": 32346009.86,
"proceeds": 38413230.91,
"activity": {
"realizedPnl": 40426.14,
"buys": 196,
"sells": 228,
"volume": 223253.42,
"avgHoldTimeSecs": 45.60831132075471
},
"counts": {
"buys": 73049,
"sells": 76556,
"tokensTraded": 46434
}
}
],
"summary": {
"days": {
"trading": 180,
"positive": 179,
"negative": 1,
"breakEven": 0
},
"totals": {
"realizedPnl": 3574393.69,
"volume": 40026214.46
},
"winRate": 99.44,
"bestDay": {
"date": "2026-03-23",
"realizedPnl": 85718.59
},
"worstDay": {
"date": "2025-11-12",
"realizedPnl": -60803.14
},
"streaks": {
"positive": 150,
"negative": 1,
"currentPositive": 150,
"currentNegative": 0
},
"drawdown": {
"amount": 515125.86,
"percent": 5.31
},
"averages": {
"dailyVolume": 222367.86,
"dailyRealizedPnl": 19857.74,
"holdTimeSecs": 54
}
},
"pagination": {
"count": 180,
"hasMore": true,
"nextTimeTo": 1760313600
}
}{
"error": "<string>"
}{
"error": "<string>"
}SDK Example
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getPnlV2WalletChart('FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF', { time_from: 1700000000, time_to: 1700086400 });
Authorizations
API Key for authentication
Path Parameters
Solana wallet address (base58, 32-44 characters).
Pattern:
^[1-9A-HJ-NP-Za-km-z]{32,44}$Query Parameters
Start of the range as a Unix timestamp in seconds. If omitted, returns up to 180 days before time_to.
End of the range as a Unix timestamp in seconds. Defaults to now.
Was this page helpful?
⌘I