Pushbuild

Bank of England API: Bank Rate, SONIA, Gilts & Mortgages

Bank of England statistics from its official database: Bank Rate, SONIA, gilt yields, implied inflation, mortgage rates and approvals, M4 money, lending and sterling FX. 18 presets or any series code, with the change from the previous observation.

$0.16 per 1,000 observations

Get an API key

What it returns

UK monetary and market statistics from the Bank of England's official Interactive Statistical Database, one row per series and date, with the change from the previous observation.

| field | meaning |. |---|---|. | `series`, `preset`, `title` | database series code, preset name and the Bank's description |. | `date`, `value`, `change` | observation and change from the previous one |. | `source` | the series in the Bank of England database |.

Request

POST https://api.pushbuild.com/bank-of-england-rates/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
presetslist of stringsHeadline UK series. Default when nothing is chosen: Bank Rate, SONIA, 10-year gilt yield and the 2-year fixed mortgage rate.
seriesCodeslist of stringsAny 7-character series code from the Bank of England database, for example XUDLCDS (Canadian dollar into sterling).
lastNintegerMost recent observations per series within the lookback window. Ignored when startDate is set. Default: 24.
lookbackDaysintegerHow far back to search for the last N observations. Ignored when startDate is set. Default: 730.
startDatestringReturn every observation from this date. Optional.
endDatestringDefaults to today.
changesbooleanAdd the change from the previous observation in the same series. Default: true.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/bank-of-england-rates/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"presets": ["bank-rate", "sonia", "gilt-10y", "mortgage-2y-fixed-75ltv"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.16 per 1,000 observations. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.