fundingHistory
post
/info
Request funding history.
Body
Request funding history.
typeundefined · enumRequiredPossible values:
Type of request.
coinstringRequired
Asset symbol (e.g., BTC).
startTimeintegerRequired
Start time (in ms since epoch).
endTimeany ofOptional
End time (in ms since epoch).
integer | nullableOptional
Responses
200
Array of historical funding rate records for an asset.
application/json
422
Failed to deserialize the JSON body into the target type
text/plain
500
Internal Server Error
application/json
post
/infoPOST /info HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"type": "fundingHistory",
"coin": "text",
"startTime": 1,
"endTime": 1
}[
{
"coin": "text",
"fundingRate": "text",
"premium": "text",
"time": 1
}
]Last updated