GET /perps/loans/history
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/jupiter_portfolio/perps/loans/historyCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeJLP loan borrow/repay/liquidation history (global or filtered by walletAddress).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
walletAddress | query | str | optional | Optional Solana wallet address example: |
start | query | int | optional | Pagination start index default: 0example: 0 |
end | query | int | optional | Pagination end index default: 20example: 5 |
Response
type: object
data key: dataList
count key: count
pagination: offset
sample: {
"dataList": "array[5]",
"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/loans/history?walletAddress=&start=0&end=5"