get_interest_rate_history
Retrieve historical borrowing interest rate data for specified time periods to analyze market trends and inform financial decisions.
Instructions
Get historical borrowing interest rates
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_timestamp_sec | Yes | Start timestamp in seconds | |
| to_timestamp_sec | Yes | End timestamp in seconds | |
| page | No | Page number (default 1) | |
| page_size | No | Results per page (default 100, max 1000) |
Implementation Reference
- src/client.ts:137-139 (handler)The handler implementation for the tool 'get_interest_rate_history' in the client class, which dispatches a POST request.
getInterestRateHistory(params: GetInterestRateHistoryParams): Promise<unknown> { return this.post('public/get_interest_rate_history', params); } - src/tools.ts:130-141 (registration)Registration of the 'get_interest_rate_history' tool with its schema definition in src/tools.ts.
name: 'get_interest_rate_history', description: 'Get historical borrowing interest rates', inputSchema: { type: 'object', properties: { from_timestamp_sec: { type: 'integer', description: 'Start timestamp in seconds' }, to_timestamp_sec: { type: 'integer', description: 'End timestamp in seconds' }, ...paginationParams, }, required: ['from_timestamp_sec', 'to_timestamp_sec'], }, },