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 freeHistorical Jupiter Perps trade fills for a wallet or transaction id.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
walletAddress | query | str | required | Solana wallet address (required unless txid is provided) example: jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3 |
mint | query | str | optional | Optional market mint filter example: |
side | query | str | optional | Optional side filter (long/short) example: |
start | query | int | optional | Pagination start index example: 0 |
end | query | int | optional | Pagination 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"