BlueGamma
  • Getting Started
  • Setting up your account
  • Features Overview
  • Interest Rate Swaps
    • Overview
    • Calculating a Swap Rate
    • Calculating the MtM of a Swap
    • Refinancing a Swap
    • Advanced
      • Download a Custom Table of Swap Rates
      • Benchmarking a Swap Rate with a Bank
    • FAQs
      • How Forward Rates Are Calculated
      • How Discount Factors Are Calculated
  • Forward Curves
    • Overview
    • Downloading a Forward Curve
    • Downloading Historic Forward Curves
    • Advanced
      • How to Access BRL Forward Curves and Download TLP Forecasts
    • FAQs
  • Government Bonds
    • Accessing Bond Yields
    • Accessing Forward Starting Bond Yields
  • Foreign Exchange
    • Downloading FX Forward Rates
  • Cross Currency
    • Overview
    • Pricing a Cross-Currency Swap
  • Integrations
    • Excel Add-in
      • Installation & Setup
      • Get Swap Rates
      • Get Discount Factors
      • Get Forward Rates
      • Get Swap Rate by ID
    • API
      • API Reference
      • How to Guides
        • Fetching a Swap Rate
        • Fetching Historical Swap Rates
        • Getting Forward Rates
        • Getting a Forward Curve
        • Getting Discount Factors
        • Validating BlueGamma API Data Against Bloomberg or Other Platforms
  • Accounts and Plans
    • Adding and removing seats
  • FAQs
    • Currency-Specific FAQs
    • Where does your data come from?
Powered by GitBook
On this page
  1. Integrations
  2. API
  3. How to Guides

Getting a Forward Curve

PreviousGetting Forward RatesNextGetting Discount Factors

Last updated 1 month ago

Get a series of forward rates over time using /forward_curve. Useful for dashboards, pricing models, and forecasts. For more details visit:

url = "https://api.bluegamma.io/v1/forward_curve"
params = {
    "index": "SOFR",
    "start_date": "0D",
    "end_date": "10Y",
    "tenor": "3M",
    "frequency": "3M"
}
response = requests.get(url, headers=headers, params=params)
curve = response.json()["curve"]

📘 Each curve point includes start_date, end_date, and forward_rate.

https://bluegamma.apidocumentation.com/reference