Dennery AgentNative

All API connectors

Open Government Canada dataset catalogue

The open.canada.ca catalogue of Government of Canada datasets: search by keyword and retrieve a dataset record with its organisation, licence and downloadable resources.

No API key needed to call

Source
Open Government Portal, Government of Canada
Licence and terms
Open Government Licence - Canada
Coverage
Canada
Refresh cadence
Answers are shared and cached for 3600 seconds.

Questions you can ask

Operations

Answers: which Government of Canada datasets are about a topic, from which department, under which licence and in which formats?

qrequired, string, Search keywords.
rowsoptional, integer, default 8, How many datasets.

Example: Which Canadian government datasets cover housing starts?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"open_canada","operation":"open_canada_dataset_search","params":{"q":"housing starts","rows":3}}}

Over HTTP

curl '/v1/connectors/open_canada/open_canada_dataset_search?q=housing+starts&rows=3'

Canadian government dataset record

Answers: what are the description, publisher, licence, update frequency and download links (resources) of one open.canada.ca dataset?

idrequired, string, Dataset id (a UUID) from open_canada_dataset_search.

Example: What files are in the Preliminary housing starts dataset?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"open_canada","operation":"open_canada_dataset","params":{"id":"ad17c1fe-ae10-45c3-8e8d-2dd69cc55759"}}}

Over HTTP

curl '/v1/connectors/open_canada/open_canada_dataset?id=ad17c1fe-ae10-45c3-8e8d-2dd69cc55759'

Source notice

Source: Open Government Portal, Government of Canada. Terms were not quoted here: see the terms page. Information is released under the Open Government Licence - Canada unless a record says otherwise; check the licence field of each record. Values are trimmed and reordered here; the publisher does not endorse this presentation.