# Bank of Canada Valet Monitor - Exchange Rate for Canada (`mmdincer/bank-of-canada-valet-monitor`) Actor

Extract published exchange-rate observations from the Bank of Canada Valet API. Includes the series, date and observation value. Valet series such as FXUSDCAD, including a baseline and a new observation. Results as JSON, CSV or Excel. Access through API or MCP.

- **URL**: https://apify.com/mmdincer/bank-of-canada-valet-monitor.md
- **Developed by:** [Muhammet Mustafa Dincer](https://apify.com/mmdincer) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 series checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🤖 What does the Bank of Canada monitor do?

A Bank of Canada monitor reads published exchange-rate observations from the Bank of Canada Valet API.
It can collect:

- **published exchange-rate observations** from the Bank of Canada Valet API
- **the series, date and observation value**
- **A saved baseline** when the source compares the next run
- **JSON, CSV or Excel** from the dataset
- **The same run through the Apify API or MCP**

### 💡 Why use the Bank of Canada monitor?

People use a Bank of Canada monitor when the same public page would otherwise be checked by hand.

- **Watch a change.** The Actor keeps a baseline and writes the next difference.
- **Feed a sheet.** The dataset opens as JSON, CSV or Excel.
- **Call it from code.** The Apify API runs the same input.
- **Hand it to an agent.** Apify MCP can call the Actor with that input.
- **Stay on the sample.** The prefilled input is the short, cheap run.

### 🚀 How do you run the Bank of Canada monitor?

1. Open this Actor and click **Try for free**.
2. Keep the prefilled sample, or set Series.
3. Leave the other fields on their defaults unless you need a narrower run.
4. Click **Run**.
5. Open the **Dataset** tab and download JSON, CSV or Excel.

Sample input from the prefilled schema:

```json
{
  "series": [
    "FXUSDCAD"
  ],
  "onlyChanges": false,
  "monitorName": "default"
}
```

### ⚠️ What limits does this Actor have?

The input schema is the limit. Defaults and prefills are unchanged by this copy update.

- `series`: at most 10 items.
- Actor Start is priced in the table. The other events are billed only when the source charges them and the charge is accepted.
- A spending limit that cannot pay for the next event stops that event. The source does not invent a result to replace it.

### 💳 How much does the Bank of Canada monitor cost?

The table is the live pay-per-event price list (`pricingInfos`) for this Actor. It is not a guessed price.
| Event | What the price list calls it | Free | Bronze | Silver | Gold | Platinum | Diamond |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `apify-actor-start` | Actor Start | $0.0005 | $0.0005 | $0.0005 | $0.0005 | $0.0005 | $0.0005 |
| `series-checked` | Series checked | $0.001 | $0.001 | $0.001 | $0.001 | $0.001 | $0.001 |
| `new-observation` | New observation | $0.0025 | $0.00225 | $0.002125 | $0.002 | $0.002 | $0.002 |

One Free-plan run that bills one `series-checked` plus Actor Start is $0.0005 + $0.001 = $0.0015. 1,000 `series-checked` events on the Free plan are $1.00, before Actor Start. These figures use only the live prices in the table.

`apify-actor-start` is in the live price list. Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event).
The source names `series-checked` and charges it with Actor.charge when that event happens. One Valet series whose response included that series, including a first baseline and a later run whose saved observation did not change. An unknown series, an API error, a network error, an invalid series id, or a skip because the spending limit could not pay for the check or for a new observation is not charged.
The source names `new-observation` and charges it with Actor.charge when that event happens. Charged in addition to the series check for each observation date that was not in the saved baseline, and for a saved date whose value the Bank changed. The first baseline and an unchanged value are not this event. An observation the spending limit cannot pay for is not fetched when that is known beforehand, is not stored, and is not charged.

### 📝 What input does this Actor take?

Required fields are marked. Defaults and prefills are the quick run; this text does not change them.

| Field | Required | What it means |
| --- | --- | --- |
| `series` (Series) | Yes | Bank of Canada Valet series ids, one per line. <code>FXUSDCAD</code> is the US dollar in Canadian... |
| `onlyChanges` (Only new observations) | No | Leave this off for the sample so a repeated run still writes the current observation. Turn it on,... |
| `monitorName` (Watchlist name) | No | Baselines are stored per watchlist. Use a new name to start over without deleting the old snapshot. |

### 📊 What output does this Actor return?

The dataset schema names every stored field.

| Field | What the schema says |
| --- | --- |
| `recordType` | observation: one row for a Valet series observation or for a series t... |
| `status` | baseline_saved, unchanged, new_observation, revised, no_observations,... |
| `changeType` | baseline, unchanged, new, or revised. Null when the series was not st... |
| `input` | The series id as entered. |
| `seriesId` | Valet series id, uppercased. |
| `label` | Series label copied from Valet. |
| `description` | Series description copied from Valet. |
| `date` | Observation date, YYYY-MM-DD, copied from Valet. |
| `value` | Observation value copied from Valet. Not rewritten as a rounded number. |
| `previousValue` | Saved value when the Bank revised that date. Null otherwise. |
| `unit` | Unit copied from Valet metadata. |
| `frequency` | Frequency copied from Valet metadata. |
| `revised` | True when the Bank published a different value for a date already saved. |
| `source` | The publisher of the series. |
| `termsUrl` | Bank of Canada website terms. |
| `freeOnBankSite` | True because the series is free on the Bank of Canada website. |
| `httpStatus` | HTTP status of the Valet response. Null when it was not fetched. |
| `checkedAt` | When this series was handled, ISO 8601. |
| `charged` | True only when the platform billed the event for this row. False when... |
| `message` | What changed, or why the series was not stored. |

Field examples declared in the dataset schema shipped with this Actor. They are not a newly invented row.

```json
{
  "recordType": "observation",
  "status": "baseline_saved",
  "changeType": "baseline",
  "input": "FXUSDCAD",
  "seriesId": "FXUSDCAD",
  "label": "USD/CAD",
  "description": "Daily average exchange rate of the US dollar in Canadian dollars.",
  "date": "2026-11-06",
  "value": "1.4113",
  "previousValue": null,
  "unit": "Canadian dollars per US dollar",
  "frequency": "Business daily",
  "revised": false,
  "source": "Bank of Canada",
  "termsUrl": "https://www.bankofcanada.ca/terms/",
  "freeOnBankSite": true,
  "httpStatus": 200,
  "checkedAt": "2026-11-07T12:00:00.000Z",
  "charged": false,
  "message": "Baseline saved."
}
```

### 🔌 How do you call this Actor from the API?

Call `mmdincer/bank-of-canada-valet-monitor` with the Apify API. The body is the input schema. MCP clients on Apify use the same input.
Make and Zapier can start the Actor through Apify's integration. The input is the same JSON.

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("mmdincer/bank-of-canada-valet-monitor").call(run_input={"series": ["FXUSDCAD"], "onlyChanges": false, "monitorName": "default"})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

```javascript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<APIFY_TOKEN>" });
const run = await client.actor("mmdincer/bank-of-canada-valet-monitor").call({"series": ["FXUSDCAD"], "onlyChanges": false, "monitorName": "default"});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### ❓ What else should you know?

#### Does the Bank of Canada monitor need a login?

The sample run uses the public source and the prefilled input. A field that asks for your own key is optional unless the input schema marks it required.

#### What does the Bank of Canada monitor charge for?

The primary event in the live price list is `series-checked` (Series checked). Actor Start is separate. An event the source does not call is not billed by the source.

#### Can this Actor run on a schedule?

Yes. Save the input and schedule it. The next run compares against the baseline when the source stores one.

#### Where do the results go?

Results land in the run dataset. Download JSON, CSV or Excel, or read them with the API.

### ⚖️ Is it legal to use the Bank of Canada monitor?

You are responsible for the source terms and for privacy law that applies to you, including the GDPR if you handle personal data. This Actor stores the public fields described above. This Actor is not affiliated with the Bank of Canada.

Not affiliated with the Bank of Canada.
Source license: Apache-2.0.
The git file `pricing-ppe.json` still lists series-checked from $0.002 and new-observation from $0.004. Those file cells are not the live prices. The table above is the live pricingInfos read on 12 November 2026.
Series values are free on the Bank of Canada website. This Actor does not write them to the Actor pricing API.
Not affiliated with the Bank of Canada.

### 🔗 Which related actors sit beside this one?

Other public Actors from mmdincer in this group:

- [Finland Food CPI Monitor - Food prices for Finland](https://apify.com/mmdincer/finland-food-cpi-monitor)
- [Iceland Food CPI Monitor - Food prices for Iceland](https://apify.com/mmdincer/iceland-food-cpi-monitor)
- [Denmark Food CPI Monitor - Food prices for Denmark](https://apify.com/mmdincer/denmark-food-cpi-monitor)
- [SSB Food CPI Monitor - Food prices for Norway](https://apify.com/mmdincer/ssb-food-cpi-monitor)
- [Defra Price Monitor - Wholesale produce for the UK](https://apify.com/mmdincer/defra-wholesale-produce-price-monitor)
- [UK Fuel Price Monitor - Weekly road fuel for the UK](https://apify.com/mmdincer/uk-weekly-road-fuel-price-monitor)
- [CSO House Price Monitor - Index values for Ireland](https://apify.com/mmdincer/cso-residential-property-price-monitor)
- [Ireland Price Monitor - Property sales for Ireland](https://apify.com/mmdincer/ireland-property-price-register-monitor)

Run the Bank of Canada monitor again when you want a fresh Bank of Canada check.

Run the Bank of Canada monitor again when you want a fresh Bank of Canada check.

Download the dataset as JSON, CSV or Excel when the run finishes.

# Changelog

This Actor's version history is a separate document: https://apify.com/mmdincer/bank-of-canada-valet-monitor/changelog.md

# Actor input Schema

## `series` (type: `array`):

Bank of Canada Valet series ids, one per line. <code>FXUSDCAD</code> is the US dollar in Canadian dollars. This is the series id, not a page URL. Up to 10.

## `onlyChanges` (type: `boolean`):

Leave this off for the sample so a repeated run still writes the current observation. Turn it on, or omit the field, to hide an unchanged series after a baseline exists. A first successful read is always written.

## `monitorName` (type: `string`):

Baselines are stored per watchlist. Use a new name to start over without deleting the old snapshot.

## Actor input object example

```json
{
  "series": [
    "FXUSDCAD"
  ],
  "onlyChanges": false,
  "monitorName": "default"
}
```

# Actor output Schema

## `observations` (type: `string`):

Bank of Canada Valet observations, or why a series was not read. Figures are copied from the Bank.

## `summary` (type: `string`):

Series requested, baselines, new observations, and the first problems.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "series": [
        "FXUSDCAD"
    ],
    "onlyChanges": false,
    "monitorName": "default"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mmdincer/bank-of-canada-valet-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "series": ["FXUSDCAD"],
    "onlyChanges": False,
    "monitorName": "default",
}

# Run the Actor and wait for it to finish
run = client.actor("mmdincer/bank-of-canada-valet-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "series": [
    "FXUSDCAD"
  ],
  "onlyChanges": false,
  "monitorName": "default"
}' |
apify call mmdincer/bank-of-canada-valet-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mmdincer/bank-of-canada-valet-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ZIBTTjFOyQIpQDZx2/builds/oJkRpswnta4FaHWoC/openapi.json
