Bank of England Yield Curve

Retrieves the UK yield curves the Bank of England estimates daily from 1985: the spot rates of UK government bonds (gilts) and of overnight index swaps on SONIA (OIS, from 2009), for maturities from 0.5 years to 40 years (25 years for OIS).

Unlike the par yields of 5, 10 and 20 years in get_government_bond_yield_curve, these are zero-coupon spot rates over the full range of maturities with history back to 1985. The Bank of England publishes them continuously compounded, and they are returned that way: a spot rate r discounts a payment in t years with exp(-r t).

The Bank of England’s real and implied inflation curves are part of economics.get_real_yield_curve and economics.get_breakeven_inflation_expectations for the United Kingdom.

The archive is a set of large files, of which only those covering the requested years are read, and they are cached since past years do not change. Weekly and monthly periods take the curve on the last day of each period.

See definition: Bank of England

Also known as: gilt curve, UK spot curve, SONIA OIS curve.

Example · 2026

Install the Finance Toolkit with pip install financetoolkit -U, then call get_bank_of_england_yield_curve:

from financetoolkit import FixedIncome

fixedincome = FixedIncome(start_date='2026-04-01', end_date='2026-09-30')

fixedincome.get_bank_of_england_yield_curve(period='monthly')[
    ['1Y', '3Y', '5Y', '10Y', '20Y', '30Y']
]

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

How did the Bank of England's nominal zero-coupon gilt yields at 1, 3, 5, 10, 20 and 30 years move in each month from April to September 2026?

Which returns:

Parameters

get_bank_of_england_yield_curve accepts the following parameters.

ParameterTypeDescriptionExample
curvestrThe curve. Options are: “nominal” (the gilt spot curve), “ois” (the SONIA overnight index swap spot curve). Defaults to “nominal”."ois"
periodstrThe frequency of the data. Options are: “daily”, “weekly”, “monthly”. Defaults to “daily”."weekly"
roundingint | NoneThe number of decimals to round the results to. Defaults to None.2
growthboolWhether to return the growth data or the actual data. Defaults to False.True
lagintThe number of periods to lag the growth data by. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column
Share