Spiral gives your agent every tool with one account. Browse the tools →

Grok · Finance

How to Use Bank of Canada exchange rates in Grok

Fetch the Bank's daily average exchange rates against the Canadian dollar. Use them for historical currency comparisons or CAD reporting calculations, with the rate expressed as Canadian dollars per foreign currency unit.

Prompts to try with Bank of Canada exchange rates in Grok

Copy an example into Grok, or ask in your own words.

Use Bank of Canada exchange rates to compare USD and EUR against CAD during March 2025, showing daily averages and the change from the first available day to the last.

Bank of Canada exchange ratesGrok
Try asking
  • Use Bank of Canada exchange rates to look this up and give me the result as a table.

  • Pull the latest numbers from Bank of Canada exchange rates and tell me what changed since last week.

  • Check Bank of Canada exchange rates and summarize what you find in three bullet points.

  • Pull the newest data from Bank of Canada exchange rates and give me the result as a table.

How to set up Bank of Canada exchange rates in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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 the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    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 exchange rates

    One request; the result comes back by polling or a webhook.

    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/fx_rates",
        "input": {
          "date": "<date>"
        }
      }'

Then paste one of the prompts above: Grok finds Bank of Canada exchange rates on Spiral, shows the price and runs it.

Bank of Canada exchange rates providers and prices

Spiral runs Bank of Canada exchange rates through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Bank of Canada (Valet API and press feeds) · Fx rates
bankofcanada-ca/economic-data/fx_rates

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Recent1 to 10000

The latest N observations per series instead of a date or range.

Every API field of Bank of Canada (Valet API and press feeds) · Fx rates is on its tool page: open its card above.

What can you do with Bank of Canada exchange rates in Grok?

Prepare a Canadian economic briefing that combines published measurements with the Bank's own commentary. A chat app can explain the retrieved figures, compare reporting periods, and point readers to the relevant statements.

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.

CAD reporting worksheet

Prepare historical USD and EUR conversion tables for a business reporting period. Check the exchange-rate definitions and compare the dedicated currency results with the corresponding Valet observations.

Questions about Bank of Canada exchange rates in Grok

Can Grok use Bank of Canada exchange rates?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Bank of Canada exchange rates like any built-in tool.

How much does Bank of Canada exchange rates cost in Grok?

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

Do I need an Alexandria account to use Bank of Canada exchange rates in Grok?

No. Spiral runs Bank of Canada exchange rates on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Bank of Canada exchange rates in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Bank of Canada exchange rates runs?

Bank of Canada exchange rates runs in the background. Grok 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.

Get started

Start using Bank of Canada exchange rates in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options