# Canada Sanctions List Scraper (`parseforge/canada-sanctions-list-scraper`) Actor

Scrapes the official Canadian sanctions list from Global Affairs Canada. Returns each sanctioned individual or entity as a flat row with name, aliases, dates of birth, addresses, and sanction schedules. Filter by country or schedule.

- **URL**: https://apify.com/parseforge/canada-sanctions-list-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Business, News
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $19.00 / 1,000 results

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

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner-v4.webp)](https://apify.com/parseforge?fpr=vmoqkp)

### Canada Sanctions List Scraper

**Scrape the official Canadian sanctions list for individuals and entities, filtered by country or schedule.** Each entry returns the full name, aliases, dates of birth, addresses, and the legal grounds for the sanction. Export to CSV, JSON, Excel, or XML.

The Canadian sanctions list is published as a web page that is hard to query and impossible to export in bulk. This Actor reads the official list from Global Affairs Canada, applies your country or schedule filters, and returns every matching entry in a clean, flat dataset. No manual copying, no missed updates.

| Who uses it | What they scrape Global Affairs Canada for |
|---|---|
| Compliance officers | Screen counterparties against the current Canadian sanctions list. |
| Financial crime investigators | Pull the full list of sanctioned persons for a specific country into a case file. |
| Risk analysts | Monitor daily changes to the sanctions list for a given jurisdiction. |
| Journalists | Map the network of sanctioned individuals and entities linked to a particular regime. |

### What it does

This Actor collects sanctioned individuals and entities from the official Canadian government website and returns each one as a structured row with all available identifiers and sanction details.

- 🇨🇦 **Official source:** Data is scraped directly from the public Global Affairs Canada website, the single authoritative list.
- 🔍 **Country filter:** Return only entries whose country field matches a string you provide, such as 'Russia', 'Iran', or 'Belarus'.
- 📋 **Schedule filter:** Narrow results to a specific legal schedule, like '1, Part 1' or '2'.
- 📊 **Structured output:** Every entry is flattened into a consistent row with name, aliases, DOB, addresses, and sanction grounds.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Global Affairs Canada data

**🛡️ Client onboarding and KYC.**

A compliance team runs the Actor daily with a country filter for Russia and Belarus to check new clients against the latest designations before opening an account.

**📈 Sanctions monitoring dashboard.**

A risk analyst schedules the Actor to pull all entries every morning and feeds the dataset into a monitoring dashboard that flags changes from the previous day.

**🔎 Investigative research.**

A journalist scrapes the full list for Iran, filters by a specific schedule, and cross-references the names with corporate registries to uncover hidden ownership.

**📋 Audit and record keeping.**

An auditor runs the Actor quarterly to capture a snapshot of the entire Canadian sanctions list and archives the CSV as a point-in-time record for regulators.

### Why choose this scraper

| | What you get |
|---|---|
| **No API key or registration** | Access the public list without any authentication or rate limits. |
| **Always up to date** | Each run fetches the live page, so you get the latest designations. |
| **Bulk export ready** | Download the full list or a filtered subset in CSV, JSON, Excel, or XML. |
| **Fixed schema** | Every run returns the same fields, making it safe for automated pipelines. |

### How it compares

No other Store actor targets Global Affairs Canada the same way, so the honest comparison is with the alternatives teams actually weigh.

| | Canada Sanctions List Scraper | Build it in-house | By hand |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When Global Affairs Canada changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |

### Configure the run

Set a maximum number of entries and optionally filter by country or schedule. Filters are applied as each record is read so only matching entries are returned. The Input tab lists every parameter.

A first run with the defaults:

```json
{
 "maxItems": 10
}
```

A larger pull:

```json
{
 "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.021 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $2.10 |
| 1,000 results | $21.00 |
| 10,000 results | $210.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Canada Sanctions List Scraper](https://apify.com/parseforge/canada-sanctions-list-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Global Affairs Canada through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/canada-sanctions-list-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check your filter values. The country and schedule filters are case-insensitive substring matches. Try broadening your search string or removing the filters to see the full list.

**The run completed but the dataset is empty.**

This usually means your filters excluded all entries. Run the Actor without any filters first to confirm the source is reachable and data is being returned.

**Some fields are missing in my output.**

Not every sanctions entry has all fields populated. If a field like 'alias' or 'address' is empty on the source page, it will be empty in your dataset.

**The Actor is timing out.**

The full list is large but should complete within the default timeout. If you are running with a very high maxItems value and experiencing timeouts, try increasing the run timeout in the Actor's advanced settings.

**The data looks different from the website.**

The Actor parses the live page. If the government has changed the page layout, the Actor may need an update. Check the Actor's page for the latest version or report the issue.

### FAQ

| Question | Answer |
|---|---|
| What data does this Actor return? | It returns the full details published for each sanctioned individual or entity: name, aliases, dates of birth, addresses, and the schedule and regulations under which they are listed. |
| How often is the source updated? | Global Affairs Canada updates the list whenever new sanctions are imposed or existing ones are amended. The Actor fetches the live page on every run, so you always get the current data. |
| Can I filter by country? | Yes. Use the Country Filter input to return only entries whose country field contains your search string, for example 'Russia' or 'Syria'. |
| What is the Schedule filter for? | Canadian sanctions are organized under different schedules that correspond to specific regulations. You can filter by a schedule value like '1, Part 1' to isolate entries under a particular legal instrument. |
| Is there a limit on how many entries I can scrape? | You can set the maximum number of entries up to 1,000,000 per run. The full list is typically a few thousand entries, so the default limit is more than enough for a complete pull. |
| Do I need an API key or government login? | No. The Actor reads the public web page directly. No registration, no API key, and no authentication are required. |
| What export formats are supported? | You can export your dataset in CSV, JSON, Excel, or XML from the Apify platform. |
| Can I schedule this Actor to run automatically? | Yes. Use Apify's built-in scheduler to run the Actor daily, weekly, or at any custom interval to keep your sanctions data current. |
| Does this cover the Consolidated Canadian Autonomous Sanctions List? | Yes, the Actor scrapes the official consolidated list published by Global Affairs Canada, which includes all autonomous sanctions. |
| What if an entry has multiple aliases or addresses? | The Actor captures all listed aliases and addresses for each entry and returns them in the dataset so you have the complete record. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Government of Canada. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `maxItems` (type: `integer`):

How many sanctions entries to collect per run.

## `country` (type: `string`):

Filter records whose Country field contains this string (case-insensitive). Examples: Belarus, Russia, Iran, Syria.

## `schedule` (type: `string`):

Filter by Schedule value (substring match). Example: '1, Part 1'.

## Actor input object example

```json
{
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

Scraped Canada Sanctions List Scraper records

# 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 = {
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/canada-sanctions-list-scraper").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 = { "maxItems": 10 }

# Run the Actor and wait for it to finish
run = client.actor("parseforge/canada-sanctions-list-scraper").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 '{
  "maxItems": 10
}' |
apify call parseforge/canada-sanctions-list-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/canada-sanctions-list-scraper"
        }
    }
}
```

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/cTxamJ4V45fGNfPaP/builds/Yg6R8PF9ZugkhEMD8/openapi.json
