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 free

JLP loan borrow/repay/liquidation history (global or filtered by walletAddress).

Parameters

nameintypedescription
walletAddressquerystroptionalOptional Solana wallet address
example:
startqueryintoptionalPagination start index
default: 0
example: 0
endqueryintoptionalPagination end index
default: 20
example: 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"