fundings
Get fundings. At most 750 funding entries are returned per call. count_back indicates the number of fundings you would like to be returned, starting from start_timestamp, if set to 0, all fundings will be returned.
Public market identifier returned by orderBooks or events.
Time interval for each returned data point. Allowed values: 1h, 1d.
Inclusive start of the requested time range, as a Unix timestamp in milliseconds. These history endpoints also accept Unix seconds.
End of the requested time range, as a Unix timestamp in milliseconds. These history endpoints also accept Unix seconds.
Backward-window sizing hint when start_timestamp is 0. An explicit start/end range takes precedence; this is not a strict limit on response length.
A successful response.
2001hBad request
GET /api/v1/fundings?market_id=1&resolution=1h&start_timestamp=1&end_timestamp=1&count_back=1 HTTP/1.1
Host: mainnet.zklighter.elliot.ai
Accept: */*
{
"code": 200,
"message": "text",
"resolution": "1h",
"fundings": [
{
"timestamp": 1640995200,
"value": "0.0001",
"rate": "0.0001",
"direction": "long"
}
]
}Last updated
Was this helpful?