fundingHistory

post
/info

Request funding history.

Body

Request funding history.

typeundefined · enumRequired

Type of request.

Possible values:
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
post
/info
POST /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