Method Name
public/get_funding_rate_history
public/get_funding_rate_historyGet funding rate history. Start timestamp is restricted to at most 30 days ago.
End timestamp greater than current time will be truncated to current time.
Zero start timestamp is allowed and will default to 30 days from the end timestamp.
DB: read replica
Parameters
instrument_name
string required |
end_timestamp
integer |
period
string |
start_timestamp
integer |
Response
id string or integer required |
result object required |
result.
funding_rate_history
array of objects required |
result.funding_rate_history[].
funding_rate
string required |
result.funding_rate_history[].
timestamp
integer required |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}