Fetching Compounded RFR Rates
Calculate compounded overnight rates (realised rates) for risk-free rate indices like SOFR, SONIA, and ESTR over any custom period.
Example: 90-Day Compounded SOFR
import requests
url = "https://api.bluegamma.io/v1/compounded_rate"
headers = {"x-api-key": "your_api_key"}
params = {
"index": "SOFR",
"start_date": "2025-09-17",
"end_date": "2025-12-16"
}
response = requests.get(url, headers=headers, params=params)
print(response.json()){
"start_date": "2025-09-17",
"end_date": "2025-12-16",
"index": "SOFR",
"nominal": 1000000.0,
"spread": 0.0,
"day_counter": "Actual360",
"calendar": "SOFR fixing calendar",
"lookback_days": 0,
"lockout_days": 0,
"apply_observation_shift": false,
"rate": 4.090541348035881,
"amount": 10226.353370089702
}Field
Description
Validating Against the New York Fed

Matching the Fed's 90-Day Average
Source
90-Day Compounded SOFR
Supported Indices
Index
Currency
Description
Optional Parameters
Spread
Nominal Amount
Lookback and Lockout
Use Cases
Settling a Floating-Rate Loan Payment
Comparing SONIA vs SOFR
Related Endpoints
If you need...
Use
Last updated
Was this helpful?

