GET /perps/trades

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/jupiter_portfolio/perps/tradesCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Historical Jupiter Perps trade fills for a wallet or transaction id.

Parameters

nameintypedescription
walletAddressquerystrrequiredSolana wallet address (required unless txid is provided)
example: jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3
mintquerystroptionalOptional market mint filter
example:
sidequerystroptionalOptional side filter (long/short)
example:
startqueryintoptionalPagination start index
example: 0
endqueryintoptionalPagination end index
example: 20

Response

type: object
data key: dataList
count key: count
pagination: offset
sample: {
  "dataList": "array[0]",
  "count": "int"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/jupiter_portfolio/perps/trades?walletAddress=jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3&mint=&side=&start=0&end=20"