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>"
}
]
}Profile & Social
Get PnL History
Get historical PnL data for charting
GET
/
profiles
/
{ownerPubkey}
/
pnl-history
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>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://dev.jup.ag/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Get API key via https://developers.jup.ag/portal
Path Parameters
Query Parameters
Available options:
24h, 1w, 1m Required range:
0 < x <= 1000Was this page helpful?
⌘I
