HyperliquidHyperliquid REST APIUser data
Get User Funding History
Retrieve funding payment history for perpetual positions.
Rate Limit: 20 weight
Request Body
application/json
type*enum<string>required
Request type identifier
Available options:
userFundinguser*stringrequired
User's Ethereum address
startTime*integerrequired
Start time for funding history in milliseconds
endTime?integer
End time for funding history in milliseconds
Response Body
application/json
application/json
curl -X POST "https://api.hypereth.io/v1/info/userFunding" \ -H "Content-Type: application/json" \ -d '{ "type": "userFunding", "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b", "startTime": 1681923833000 }'[
{
"coin": "BTC",
"fundingRate": "0.0001",
"usdc": "-2.5",
"szi": "0.5",
"time": 1681923833000
}
]{
"error": "Insufficient margin for order placement",
"code": 1001,
"details": {}
}