Pushbuild

Bank of Canada API: Policy Rate, CORRA, Bonds, CPI & CAD FX

Bank of Canada statistics from its official Valet API: policy rate, CORRA, prime, T-bills, benchmark bond yields, mortgage and GIC rates, CPI and core CPI, commodity prices and daily CAD exchange rates. 30 presets or any series, with the change from the previous observation.

$0.16 per 1,000 observations

Get an API key

What it returns

Canadian monetary and market statistics from the Bank of Canada's official Valet API, one row per series and date, with the change from the previous observation.

| field | meaning |. |---|---|. | `series`, `preset`, `title`, `frequency` | Valet series name, preset name, the Bank's label and frequency |. | `date`, `value`, `change` | observation and change from the previous one in the returned window |. | `source` | the series in the Valet API |.

Request

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

FieldTypeDescription
presetslist of stringsHeadline Canadian series. Default when nothing is chosen: policy rate, CORRA, 10-year benchmark bond yield and USD/CAD.
seriesNameslist of stringsAny series name from the Bank of Canada Valet API, for example FXSEKCAD (Swedish krona in Canadian dollars) or V80691303 (3-month T-bill auction yield).
lastNintegerMost recent observations per series. Ignored when startDate is set. Default: 24.
startDatestringReturn every observation from this date. Optional.
endDatestringLast date to include. Defaults to the latest observation.
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-canada-rates/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"presets": ["policy-rate", "corra", "bond-10y", "usd-cad"], "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.