getEarnAprHistory
Fetch historical APR rates for Bybit Earn products by product and category. Provides hourly records for FlexibleSaving and daily records for OnChain, covering up to 182 days.
Instructions
Query historical daily APR for a product. Supports FlexibleSaving and OnChain.
FlexibleSaving: Returns hourly APR records.
OnChain: Returns daily APR records.
Results are returned in descending order by date/time. Maximum query range is 182 days.
Authentication is optional (public endpoint).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | Yes | ||
| category | Yes | ||
| productId | Yes | ||
| startTime | Yes |