cURL
curl --request GET \ --url https://api.jup.ag/prediction/v1/profiles/{ownerPubkey}/pnl-history \ --header 'x-api-key: <api-key>'
{ "ownerPubkey": "<string>", "history": [ { "timestamp": 123, "realizedPnlUsd": "<string>" } ] }
Get historical PnL data for charting
Get API key via https://portal.jup.ag
24h
1w
1m
0 < x <= 1000
PnL history for charting
Show child attributes
Was this page helpful?