curl "https://api.northaxiumdata.ca/api/v1/bills?status=ROYAL_ASSENT&limit=10&offset=10" \
-H "X-API-Key: <your-api-key>"
import requests
url = "https://api.northaxiumdata.ca/api/v1/bills"
headers = {"X-API-Key": "<your-api-key>"}
params = {
"status": "ROYAL_ASSENT",
"limit": 10,
"offset": 10
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
const fetch = require('node-fetch');
const url = new URL('https://api.northaxiumdata.ca/api/v1/bills');
url.search = new URLSearchParams({
status: 'ROYAL_ASSENT',
limit: '10',
offset: '10'
});
fetch(url, {
headers: {
'X-API-Key': '<your-api-key>'
}
})
.then(res => res.json())
.then(json => console.log(json));
{
"data": [
{
"session_id": "44-1",
"number": "C-11",
"name_en": "Online Streaming Act",
"sponsor_name": "Minister of Canadian Heritage",
"status_code": "ROYAL_ASSENT",
"introduced": "2022-02-02"
}
],
"meta": {
"total": 1,
"limit": 10,
"offset": 10
}
}
{
"error": {
"code": "BAD_REQUEST",
"message": "law must be a valid boolean."
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing API key. Pass your key in the X-API-Key header."
}
}
{
"error": {
"code": "NOT_FOUND",
"message": "The requested resource was not found."
}
}
{
"error": {
"code": "RATE_LIMITED",
"message": "Monthly request limit exceeded."
}
}
Bills
Bills & Legislation
Retrieve a list of parliamentary bills and their current legislative status.
GET
/
api
/
v1
/
bills
curl "https://api.northaxiumdata.ca/api/v1/bills?status=ROYAL_ASSENT&limit=10&offset=10" \
-H "X-API-Key: <your-api-key>"
import requests
url = "https://api.northaxiumdata.ca/api/v1/bills"
headers = {"X-API-Key": "<your-api-key>"}
params = {
"status": "ROYAL_ASSENT",
"limit": 10,
"offset": 10
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
const fetch = require('node-fetch');
const url = new URL('https://api.northaxiumdata.ca/api/v1/bills');
url.search = new URLSearchParams({
status: 'ROYAL_ASSENT',
limit: '10',
offset: '10'
});
fetch(url, {
headers: {
'X-API-Key': '<your-api-key>'
}
})
.then(res => res.json())
.then(json => console.log(json));
{
"data": [
{
"session_id": "44-1",
"number": "C-11",
"name_en": "Online Streaming Act",
"sponsor_name": "Minister of Canadian Heritage",
"status_code": "ROYAL_ASSENT",
"introduced": "2022-02-02"
}
],
"meta": {
"total": 1,
"limit": 10,
"offset": 10
}
}
{
"error": {
"code": "BAD_REQUEST",
"message": "law must be a valid boolean."
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing API key. Pass your key in the X-API-Key header."
}
}
{
"error": {
"code": "NOT_FOUND",
"message": "The requested resource was not found."
}
}
{
"error": {
"code": "RATE_LIMITED",
"message": "Monthly request limit exceeded."
}
}
Get a standardized list of bills introduced in the House of Commons and the Senate, including their sponsors, stages, and summaries.
Query Parameters
string
Filter by parliamentary session (e.g.,
44-1). Example: 44-1.string
Filter by current bill status code. Example:
issued.string
Partial match on sponsor name. Example:
Smith.string
Exact match on sector tag. Example:
Technology.string
Partial match on bill title. Example:
carbon tax.boolean
Filter enacted laws. Example:
Criminal Code.boolean
Filter private members’ bills. Example:
true.integer
Results per page. Default:
50. Max: 200. Example: 25.integer
Result offset for pagination. Default:
0. Example: 50.page and per_page are accepted as input aliases. per_page maps to limit, and page is converted internally into the corresponding offset.curl "https://api.northaxiumdata.ca/api/v1/bills?status=ROYAL_ASSENT&limit=10&offset=10" \
-H "X-API-Key: <your-api-key>"
import requests
url = "https://api.northaxiumdata.ca/api/v1/bills"
headers = {"X-API-Key": "<your-api-key>"}
params = {
"status": "ROYAL_ASSENT",
"limit": 10,
"offset": 10
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
const fetch = require('node-fetch');
const url = new URL('https://api.northaxiumdata.ca/api/v1/bills');
url.search = new URLSearchParams({
status: 'ROYAL_ASSENT',
limit: '10',
offset: '10'
});
fetch(url, {
headers: {
'X-API-Key': '<your-api-key>'
}
})
.then(res => res.json())
.then(json => console.log(json));
{
"data": [
{
"session_id": "44-1",
"number": "C-11",
"name_en": "Online Streaming Act",
"sponsor_name": "Minister of Canadian Heritage",
"status_code": "ROYAL_ASSENT",
"introduced": "2022-02-02"
}
],
"meta": {
"total": 1,
"limit": 10,
"offset": 10
}
}
{
"error": {
"code": "BAD_REQUEST",
"message": "law must be a valid boolean."
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing API key. Pass your key in the X-API-Key header."
}
}
{
"error": {
"code": "NOT_FOUND",
"message": "The requested resource was not found."
}
}
{
"error": {
"code": "RATE_LIMITED",
"message": "Monthly request limit exceeded."
}
}