Skip to main content
GET
/
v2
/
pnl
/
wallets
/
{wallet}
/
history
Daily PnL history series
curl --request GET \
  --url https://api.dexploit.dev/v2/pnl/wallets/{wallet}/history \
  --header 'X-API-Key: <api-key>'
{
  "wallet": "<string>",
  "pnl_mode": "<string>",
  "points": [
    {
      "ts_day": "<string>",
      "realized_sol": 123,
      "unrealized_sol": 123,
      "total_value_sol": 123
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).

Path Parameters

wallet
string
required

Wallet address (base58, 32–44 characters).

Query Parameters

from
string

Inclusive start date (UTC, YYYY-MM-DD).

to
string

Inclusive end date (UTC, YYYY-MM-DD).

pnl_mode
enum<string>
default:adjusted

PnL accounting mode. strict (FIFO) and adjusted (weighted-avg cost) are realized-PnL figures; raw is net cash-flow (Σ sells − Σ buys), not realized PnL. Unknown values fall back to adjusted.

Available options:
raw,
strict,
adjusted

Response

Daily series

wallet
string
pnl_mode
string
points
object[]