getHistoricalInterestRate
Retrieve historical hourly borrow interest rates for any coin on UTA spot margin. Specify a date range (up to 30 days) to analyze past lending costs, or get the last 7 days by default.
Instructions
Query historical borrowing interest rate data for UTA spot margin.
Requires API key with Spot permission.
startTimeandendTimemust be provided together. Maximum span is 30 days.If both are omitted, defaults to the last 7 days.
Data available for up to 6 months.
Agent hint: Authenticated endpoint (Spot permission required). Returns historical hourly borrow rates for a specific coin and VIP level. The currency parameter is required. If vipLevel is omitted, uses the account's current VIP level. startTime/endTime must be used together (max 30-day window); if omitted, defaults to last 7 days. Note: "No VIP" must be URL-encoded as "No%20VIP".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | ||
| currency | Yes | ||
| vipLevel | No | ||
| startTime | No |