Canada Open Data Catalog Scraper avatar

Canada Open Data Catalog Scraper

Pricing

from $15.00 / 1,000 result items

Go to Apify Store
Canada Open Data Catalog Scraper

Canada Open Data Catalog Scraper

Scrapes Canada's open data catalog, returning each dataset as a flat row with title, description, organization, license, and resource links. Supports catalog and single-dataset modes.

Pricing

from $15.00 / 1,000 result items

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Share

ParseForge

Canada Open Data Catalog Scraper

Scrape Canada's open data catalog, every dataset with its metadata, resources, and formats, up to a million per run. No API key or registration. Export to CSV, JSON, Excel, or XML.

Canada's open data portal holds thousands of federal, provincial, and municipal datasets, but browsing it by hand is slow and the official API needs a key and pagination code. This Actor walks the public catalog directly, filters by search term, and returns each dataset as one flat row with its title, description, organization, license, and resource links.

Who uses itWhat they scrape Canada Open Data for
Data journalistsFind government datasets on a topic for a story
ResearchersBuild a corpus of Canadian public datasets for analysis
Open data advocatesMonitor which datasets are published or updated
DevelopersGet a machine-readable list of dataset IDs and resources

What it does

This Actor collects Canada open data catalog entries by browsing all datasets or fetching one by ID, and returns each dataset as a flat row with its metadata and resources.

  • 📚 Catalog mode: walk every dataset in the catalog, with an optional search term filter.
  • 🎯 Dataset mode: fetch one dataset by its UUID or slug for a focused pull.
  • 🔎 Search filter: narrow the catalog walk to dataset IDs that contain your term.
  • 📦 Flat rows: each dataset comes back as one row, ready for CSV, JSON, Excel, or XML.

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

What you can do with Canada Open Data data

📰 Find data for a story.

A journalist runs catalog mode with a search term like 'housing' and gets every federal dataset on housing, with descriptions and resource links, to pick sources for an article.

🔬 Build a research corpus.

A researcher walks the full catalog once, exports the dataset list, and filters locally by organization or license to assemble a corpus of Canadian public data for a meta-analysis.

📊 Monitor dataset updates.

An open data advocate schedules a weekly catalog run and compares the results to spot newly published or removed datasets in their area of interest.

🧩 Get IDs for automation.

A developer runs catalog mode to collect dataset IDs, then uses dataset mode to fetch details for each one before downloading resources in a pipeline.

Why choose this scraper

What you get
No API keyReads the public catalog directly, no registration or token
One row per datasetFlat schema with title, description, organization, license, and resources
Two modesBrowse all datasets or fetch a single one by ID
Search filterLimit the catalog walk to IDs that contain your term

How it compares

This Actor scrapes Canada's open data catalog, while the competitor below scrapes Sephora products, a different source entirely.

FeatureParseForgeSephora Product Scraper (Global)
Scrapes Canada open data catalogYesNot listed
Returns dataset metadata and resourcesYesNot listed
Catalog mode to browse all datasetsYesNot listed
Dataset mode to fetch one by IDYesNot listed
Search term filterYesNot listed
No API key requiredYesNot listed

Configure the run

Drive the Actor with a mode, an optional dataset ID, and an optional search term, and it returns only the datasets that match. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10,
"mode": "catalog"
}

A larger pull:

{
"maxItems": 200,
"mode": "catalog"
}

Pricing

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

Results collectedApproximate cost
100 results$2.00
1,000 results$20.00
10,000 results$200.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 to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Canada Open Data Catalog Scraper.
  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 (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

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

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/canada-open-data-scraper"

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

Troubleshooting

Why am I getting no results?

Your search term may not match any dataset IDs. The filter is case-insensitive and matches substrings in the ID field. Try a shorter term or leave it blank to walk the full catalog.

Why does dataset mode fail?

Make sure you provided a valid dataset ID in the datasetId input. You can find IDs by running catalog mode first.

Why is the run slow?

Catalog mode walks every dataset, which can take time. Lower maxItems to stop early, or use a search term to narrow the walk.

Why are some fields empty?

Not every dataset has every field. The catalog may omit descriptions, licenses, or resources for some entries. That is normal.

Can I get the actual data files?

This Actor returns metadata and resource links, not the data files themselves. Use the resource URLs to download files separately.

FAQ

QuestionAnswer
Do I need an API key for Canada's open data portal?No. This Actor reads the public catalog pages directly, so you do not need to register or manage a key.
What is the difference between catalog mode and dataset mode?Catalog mode walks all datasets, optionally filtered by a search term. Dataset mode fetches a single dataset by its UUID or slug.
How do I find a dataset ID?Run catalog mode first and look at the dataset IDs in the results. Then use one of those IDs in dataset mode.
Can I filter by organization or license?The input schema only supports a search term filter on dataset IDs. You can export the full catalog and filter locally by any field.
What format are the results in?The Actor returns a flat dataset that you can export to CSV, JSON, Excel, or XML from Apify.
How many datasets can I scrape in one run?You set the maximum with the maxItems input, up to 1,000,000 datasets per run.
Does this scrape provincial or municipal open data portals?No, it scrapes the federal Canada open data catalog at open.canada.ca. Provincial portals are separate sites.
Is this legal?The data is published under the Open Government Licence - Canada, which allows reuse. Scraping public pages is generally permitted, but check the terms for your use case.
Can I schedule this Actor to run regularly?Yes, you can set up a schedule in Apify to run it daily, weekly, or on any cron expression.
What if I get no results?Check your search term. It filters dataset IDs, not titles or descriptions. Try a broader term or leave it blank to walk all datasets.

Browse the full ParseForge collection 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.