get_funding_rate_history
Retrieve historical funding rate data for a perpetual instrument, including hourly rates, index prices, and interest rates, to analyze funding costs over a specified time range.
Instructions
Get historical funding rate data for a perpetual instrument. Shows hourly funding rates, index prices, and interest rates.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instrument_name": "<instrument_name>",
"start_timestamp": "<start_timestamp>",
"end_timestamp": "<end_timestamp>"
},
"name": "get_funding_rate_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_timestamp | Yes | End timestamp in milliseconds since epoch | |
| instrument_name | Yes | Perpetual instrument name (e.g. 'BTC-PERPETUAL') | |
| start_timestamp | Yes | Start timestamp in milliseconds since epoch |