[Integrations](https://spiral.ai/integrations) › [dots](https://spiral.ai/integrations/dots) › [Bank of Canada bond yields](https://spiral.ai/integrations/dots/bank-of-canada-bond-yields)

# How to Use Bank of Canada bond yields in dots

Fetch Government of Canada benchmark bond yields for a date or period. Use the maturity comparisons to study the yield curve or calculate the spread between two-year and ten-year yields.

|  |  |
| --- | --- |
| Model | Bank of Canada bond yields |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Bank of Canada bond yields in dots

- Each business evening, use Bank of Canada bond yields to compare the latest two-year and ten-year yields with the previous available day and report the spread.
- Every Monday at 9am: use Bank of Canada bond yields to look this up and give me the result as a table.
- Pull the latest numbers from Bank of Canada bond yields and tell me what changed since last week.
- Check Bank of Canada bond yields and summarize what you find in three bullet points.
- Pull the newest data from Bank of Canada bond yields and give me the result as a table.

## How to set up Bank of Canada bond yields in dots

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send dots this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create an API key**: In the console, open API keys and create a key for your dot. Copy it.

2. **Send your dot this message**: Your dot reads Spiral's skill and asks for your API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give your dot the key**: When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Bank of Canada bond yields**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "bankofcanada-ca/economic-data/bond_yields",
    "input": {
      "date": "<date>"
    }
  }'
```

Then paste one of the prompts above: dots finds Bank of Canada bond yields on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/dots

## Bank of Canada bond yields tools and prices

- [Bank of Canada (Valet API and press feeds) · Bond yields](https://spiral.ai/tools/alexandria/bankofcanada-ca/economic-data/bond_yields) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| date |  | — | One day, YYYY-MM-DD. Weekends and holidays have no yields (not_found). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| terms |  | — | Terms to return. Default: all seven. |
| recent | 1 to 10000 | — | The latest N observations per series instead of a date or range. |
| end_date |  | — | Range end, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| start_date |  | — | Range start, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |

## What can you do with Bank of Canada bond yields in dots?

Maintain a dated Canadian economic digest as the Bank publishes new observations and communications. A scheduled agent can compare each retrieval with its previous results and report changes in rates, yields, and published material.

### Monthly treasury briefing

Combine CAD exchange rates, government bond yields, and the policy rate with decision statements and relevant Bank publications. Use the series directory and definitions to document additional indicators included in the briefing.

### Policy decision event study

Compare daily CAD exchange rates and benchmark yields around policy decisions. Add the policy rate history, announcement wording, related Bank publications, and selected Valet observations to distinguish measured changes from the Bank's explanation.

### Quarterly board reporting

Prepare a Canadian economic appendix with quarter-end rates, exchange-rate comparisons, bond yield movements, and policy commentary. Identify supplementary statistics through the directory and explain their definitions alongside the tables.

### Economics teaching workbook

Build exercises that connect the overnight target, benchmark yields, and CAD exchange rates to published policy statements and research. Include series discovery, definition checks, and historical observations so students can reproduce the comparisons.

### Benchmark yield comparison

Compare two-year and ten-year Government of Canada yields over a reporting period. Use series definitions and additional observations to explain the selected benchmarks and calculate their spread.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All dots guides](https://spiral.ai/integrations/dots)

## Bank of Canada bond yields in other agents

- [Amp](https://spiral.ai/integrations/amp/bank-of-canada-bond-yields)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/bank-of-canada-bond-yields)
- [Claude](https://spiral.ai/integrations/claude-desktop/bank-of-canada-bond-yields)
- [Claude Code](https://spiral.ai/integrations/claude-code/bank-of-canada-bond-yields)
- [Cline](https://spiral.ai/integrations/cline/bank-of-canada-bond-yields)
- [Codex](https://spiral.ai/integrations/codex/bank-of-canada-bond-yields)
- [Cursor](https://spiral.ai/integrations/cursor/bank-of-canada-bond-yields)
- [Devin](https://spiral.ai/integrations/devin/bank-of-canada-bond-yields)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/bank-of-canada-bond-yields)
- [Gemini](https://spiral.ai/integrations/gemini/bank-of-canada-bond-yields)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/bank-of-canada-bond-yields)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/bank-of-canada-bond-yields)
- [goose](https://spiral.ai/integrations/goose/bank-of-canada-bond-yields)
- [Grok](https://spiral.ai/integrations/grok/bank-of-canada-bond-yields)
- [Grok Build](https://spiral.ai/integrations/grok-build/bank-of-canada-bond-yields)
- [Hermes](https://spiral.ai/integrations/hermes/bank-of-canada-bond-yields)
- [Instinct](https://spiral.ai/integrations/instinct/bank-of-canada-bond-yields)
- [Manus](https://spiral.ai/integrations/manus/bank-of-canada-bond-yields)
- [Muse](https://spiral.ai/integrations/muse/bank-of-canada-bond-yields)
- [Muse Code](https://spiral.ai/integrations/muse-code/bank-of-canada-bond-yields)
- [n8n](https://spiral.ai/integrations/n8n/bank-of-canada-bond-yields)
- [Notion](https://spiral.ai/integrations/notion/bank-of-canada-bond-yields)
- [OpenClaw](https://spiral.ai/integrations/openclaw/bank-of-canada-bond-yields)
- [opencode](https://spiral.ai/integrations/opencode/bank-of-canada-bond-yields)
- [Perplexity](https://spiral.ai/integrations/perplexity/bank-of-canada-bond-yields)
- [Raycast](https://spiral.ai/integrations/raycast/bank-of-canada-bond-yields)
- [VS Code](https://spiral.ai/integrations/vscode/bank-of-canada-bond-yields)
- [Windsurf](https://spiral.ai/integrations/windsurf/bank-of-canada-bond-yields)
- [Zapier](https://spiral.ai/integrations/zapier/bank-of-canada-bond-yields)

## More dots guides

- [Banco Central do Brasil payment statistics](https://spiral.ai/integrations/dots/banco-central-do-brasil-payment-statistics)
- [Bank of Canada economic statistics](https://spiral.ai/integrations/dots/bank-of-canada-economic-statistics)
- [Banco Central do Brasil dataset search](https://spiral.ai/integrations/dots/banco-central-do-brasil-dataset-search)
- [Bank of Canada exchange rates](https://spiral.ai/integrations/dots/bank-of-canada-exchange-rates)
- [Banco Central do Brasil bank lending rates](https://spiral.ai/integrations/dots/banco-central-do-brasil-bank-lending-rates)
- [Bank of Canada news](https://spiral.ai/integrations/dots/bank-of-canada-news)

## Questions about Bank of Canada bond yields in dots

**Can dots use Bank of Canada bond yields?**

Yes. Add Spiral to dots as an MCP server, and dots can find and run Bank of Canada bond yields like any built-in tool.

**How much does Bank of Canada bond yields cost in dots?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.

**Do I need an Alexandria account to use Bank of Canada bond yields in dots?**

You need no Alexandria account. dots uses one Spiral API key for every tool, and Spiral runs Bank of Canada bond yields on its own Alexandria account.

**How long does it take to set up Bank of Canada bond yields in dots?**

About two minutes: create an API key, then send your dot this message, then give your dot the key.

**Does dots wait while Bank of Canada bond yields runs?**

Bank of Canada bond yields runs in the background. dots starts the run, checks on it and gives you the json when it's ready.

**What does the Bank of Canada publish through these sources?**

Valet supplies exchange rates, economic statistics, and other financial datasets. The Bank's feeds add its own press releases, speeches, research publications, surveys, and events.

**How frequently do the Bank's exchange rates change?**

Daily averages are normally published once per business day by 16:30 Eastern Time. They do not provide intraday trading quotes.

**Are the exchange rates executable market rates?**

The Bank publishes indicative averages based on aggregated quotes from financial institutions. An actual currency conversion can therefore use a different rate.

**Does a benchmark bond yield follow the same bond forever?**

The selected bond can change as another issue becomes the benchmark. The Bank warns that part of a yield change can reflect this replacement.

**Does new data appear in Valet immediately?**

The Bank documents a possible processing delay between publication and availability in Valet. A newly released observation may therefore appear later than the corresponding website update.

