Overview
Canadian government open data
Notes: Free Canadian government data.
TL;DR
What it does: Open Government - Canada: Canadian government open data.
Quick start: http://open.canada.ca/data/en/dataset
No API key needed!
Try It Now
Call this URL to see what you get back:
http://open.canada.ca/data/en/dataset
Try This URL Now →
FAQ
- Do I need an API key?
- No! This API is completely free to use with no authentication required.
- Is there a rate limit?
- Most free APIs have generous limits. Check documentation for specifics.
- Can I use this in a commercial project?
- Yes, these APIs are free for both personal and commercial use. Check the documentation for any specific restrictions.
- How do I get started?
- Copy the example URL above and paste it into your browser or code. The response is in JSON format which you can parse in any programming language.
Code Examples
JavaScript Example
fetch('http://open.canada.ca/data/en/dataset')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
Python Example
import requests
url = 'http://open.canada.ca/data/en/dataset'
response = requests.get(url)
data = response.json()
print(data)
API Details
- API URL
http://open.canada.ca/en- Documentation
- http://open.canada.ca/en/api
- Category
- Government
- Authentication
- Not Required
- Geographic Coverage
- CA
What You Can Build
- Integrate into your application
- Build new features
- Enhance existing projects