bankofcanada.fx.rates
Get Canadian dollar (CAD) exchange rates against major world currencies from the Bank of Canada Valet API. Returns daily average reciprocal rates: 1 CAD expressed in foreign currency units (e.g. FXCADUSD = 0.7061 means 1 CAD = 0.7061 USD). Default currencies: USD, EUR, GBP, JPY, AUD, CHF, MXN, SE...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/bankofcanada.fx.rates.md
What bankofcanada.fx.rates does on Apibase
AI agents call bankofcanada.fx.rates to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
recent | integer | — | Number of most-recent observations to return (default 1 = latest rate only). Ignored when start_date or end_date is provided. |
end_date | string | — | End date for historical range in YYYY-MM-DD format (e.g. "2026-06-22"). Use with start_date to get a specific date range. |
currencies | array | — | ISO 4217 currency codes to fetch CAD rates for (e.g. ["USD","EUR","GBP","JPY"]). Omit to get all 10 default major currencies: USD, EUR, GBP, JPY, AUD, CHF, MXN, |
start_date | string | — | Start date for historical range in YYYY-MM-DD format (e.g. "2026-01-01"). Use with end_date to get a specific date range. |
Parameters from the server's own tool schema.
Why bankofcanada.fx.rates is rated Low
Retrieves historical and current exchange rate data with no side effects or financial transactions.
From the tool's definition Get Canadian dollar exchange rates, returns daily average reciprocal rates
Attacks that exploit this kind of access
The rule that runs bankofcanada.fx.rates safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For bankofcanada.fx.rates, this is the rule to start with:
bankofcanada.fx.rates is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every bankofcanada.fx.rates call is checked against it from then on.
Questions about bankofcanada.fx.rates
Get Canadian dollar (CAD) exchange rates against major world currencies from the Bank of Canada Valet API. Returns daily average reciprocal rates: 1 CAD expressed in foreign currency units (e.g. FXCADUSD = 0.7061 means 1 CAD = 0.7061 USD). Default currencies: USD, EUR, GBP, JPY, AUD, CHF, MXN, SEK, NOK, HKD. Specify custom ISO 4217 codes via the currencies parameter. Fetch the latest rate (recent=1, default), N most-recent observations, or a date range (start_date + end_date). Data published on each Bank of Canada business day. Source: Bank of Canada, www.bankofcanada.ca — open data, attribution required. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
bankofcanada.fx.rates accepts 4 parameters: recent, end_date, currencies, start_date. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for bankofcanada.fx.rates: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
bankofcanada.fx.rates is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the bankofcanada.fx.rates rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for bankofcanada.fx.rates. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
bankofcanada.fx.rates is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue