Skip to content
Option Chains and Strategy Guide

Get Risk-Free Rate

Returns the average US Treasury yield for a given year and month. The option calculator uses it as the default risk-free rate. avg_rate is an annualized percentage, so divide it by 100 before passing it to a pricing model. The App requests the current year and month in US Eastern Time. The endpoint is read-only. If you use WhaleCore, you can also read the SDK's built-in risk-free rate (annualized decimal) with getInterestRate() on quoteService().

POSThttps://api.lbkrs.com/v1/gemini/bond_yield_rate

Request body application/json

yearstringrequired

Four-digit year

monthstringrequired

Two-digit month (01–12)

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Risk-Free Rate” operation.
Standard response envelopecodemessagedata
dataobjectdata structure

Rate result

avg_ratenumber

Average US Treasury yield as an annualized percentage (for example, 4.2513 means 4.2513%)

Whale Docs