Fetching a Swap Rate
Use the /swap_rate endpoint to calculate the par rate for a vanilla interest rate swap, given an index, start/maturity, and leg conventions.
Last updated
Use the /swap_rate endpoint to calculate the par rate for a vanilla interest rate swap, given an index, start/maturity, and leg conventions.
Last updated
This is the most common use case for pulling current or historical market swap rates directly into your software or spreadsheet. For more details:
✅ Example: Live 10Y SOFR Swap Rate
Returns the par swap rate based on today's curve.
📆 Example: Historical Swap Rate
Add valuation_time
to calculate the swap rate as it would have been on a past date/time.
This returns the rate using the market data from that exact point in time (in UTC).
🧠Tips
Use "0D"
for today, or "2025-12-31"
for a fixed date
Make sure fixed and floating legs are consistent with your internal pricing
Supported indices include: SOFR
, SONIA
, 6M EURIBOR
, 3M NIBOR
, and more. See a full list here