Getting Forward Rates
url = "https://api.bluegamma.io/v1/forward_rate"
params = {
"index": "SOFR",
"start_date": "2025-06-01",
"end_date": "2025-12-01"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())curl -X GET "https://api.bluegamma.io/v1/forward_rate?index=SOFR&start_date=2025-06-01&end_date=2025-12-01" \
-H "x-api-key: your_api_key_here"params = {
"index": "SOFR",
"start_date": "2025-06-01",
"end_date": "2025-12-01",
"valuation_time": "2025-04-15T12:00:00Z"
}curl -X GET "https://api.bluegamma.io/v1/forward_rate?index=SOFR&start_date=2025-06-01&end_date=2025-12-01&valuation_time=2025-04-15T12%3A00%3A00Z" \
-H "x-api-key: your_api_key_here"Last updated
Was this helpful?

