Pear Exchange
Portfolio

GET /api/portfolio/stats

In-app / Pear-executed trading: range-scoped equity delta from portfolio_snapshots + buildPortfolioFrame, closed trades from user_positions, lifetime totals from user_stats, and weekly rank. Range vocabulary matches /api/portfolio/pnl. For prediction market (Polymarket + DFlow) stats, use GET /api/prediction-wallet/insights.

GET
/api/portfolio/stats
AuthorizationBearer <token>

Privy access token. For live POST /execute, use the wallet-auth JWT instead.

In: header

Query Parameters

range?string
Default"1d"
Value in"1h" | "3h" | "1d" | "1w" | "1m" | "all"

Response Body

curl -X GET "https://api.pear.trade/api/portfolio/stats"
Empty