curl "https://api.northaxiumdata.ca/api/v1/contributions?party=Liberal&limit=10&offset=0" \
-H "X-API-Key: <your-api-key>"
import requests
url = "https://api.northaxiumdata.ca/api/v1/contributions"
headers = {"X-API-Key": "<your-api-key>"}
params = {
"party": "Liberal",
"limit": 10,
"offset": 0
}
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/contributions');
url.search = new URLSearchParams({
party: 'Liberal',
limit: '10',
offset: '0'
});
fetch(url, {
headers: {
'X-API-Key': '<your-api-key>'
}
})
.then(res => res.json())
.then(json => console.log(json));
{
"data": [
{
"record_id": "CON-93821",
"contributor_name": "John Doe",
"contributor_city": "Toronto",
"contributor_province": "ON",
"recipient_name": "Liberal Party of Canada",
"political_party": "Liberal Party of Canada",
"monetary_amount": 1500.00,
"contribution_date": "2023-08-12"
}
],
"meta": {
"total": 6460000,
"limit": 10,
"offset": 0
}
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Invalid parameter value."
}
}
{
"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."
}
}
Political Financing
List Contributions
Retrieve a list of political contributions made to federal parties and candidates.
GET
/
api
/
v1
/
contributions
curl "https://api.northaxiumdata.ca/api/v1/contributions?party=Liberal&limit=10&offset=0" \
-H "X-API-Key: <your-api-key>"
import requests
url = "https://api.northaxiumdata.ca/api/v1/contributions"
headers = {"X-API-Key": "<your-api-key>"}
params = {
"party": "Liberal",
"limit": 10,
"offset": 0
}
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/contributions');
url.search = new URLSearchParams({
party: 'Liberal',
limit: '10',
offset: '0'
});
fetch(url, {
headers: {
'X-API-Key': '<your-api-key>'
}
})
.then(res => res.json())
.then(json => console.log(json));
{
"data": [
{
"record_id": "CON-93821",
"contributor_name": "John Doe",
"contributor_city": "Toronto",
"contributor_province": "ON",
"recipient_name": "Liberal Party of Canada",
"political_party": "Liberal Party of Canada",
"monetary_amount": 1500.00,
"contribution_date": "2023-08-12"
}
],
"meta": {
"total": 6460000,
"limit": 10,
"offset": 0
}
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Invalid parameter value."
}
}
{
"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 individual and corporate contributions, filterable by political party, riding, and dates.
Query Parameters
string
Full-text search across contributor name, party, and recipient name simultaneously. Example:
John Doe.string
Partial match on contributor name. Example:
John Doe.string
Partial match on recipient name. Example:
Liberal Party.string
Partial match on political party. Example:
Liberal.string
Exact match on political entity type. Example:
political_party.string
Exact match on contributor type. Example:
individual.string
Exact match on contributor province. Example:
ON.string
Exact match on electoral event. Example:
2021 General Election.integer
Exact match on contribution year. Example:
2023.number
Minimum monetary amount. Example:
500.number
Maximum monetary amount. Example:
1500.integer
Results per page. Default:
50. Max: 500. 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/contributions?party=Liberal&limit=10&offset=0" \
-H "X-API-Key: <your-api-key>"
import requests
url = "https://api.northaxiumdata.ca/api/v1/contributions"
headers = {"X-API-Key": "<your-api-key>"}
params = {
"party": "Liberal",
"limit": 10,
"offset": 0
}
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/contributions');
url.search = new URLSearchParams({
party: 'Liberal',
limit: '10',
offset: '0'
});
fetch(url, {
headers: {
'X-API-Key': '<your-api-key>'
}
})
.then(res => res.json())
.then(json => console.log(json));
{
"data": [
{
"record_id": "CON-93821",
"contributor_name": "John Doe",
"contributor_city": "Toronto",
"contributor_province": "ON",
"recipient_name": "Liberal Party of Canada",
"political_party": "Liberal Party of Canada",
"monetary_amount": 1500.00,
"contribution_date": "2023-08-12"
}
],
"meta": {
"total": 6460000,
"limit": 10,
"offset": 0
}
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Invalid parameter value."
}
}
{
"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."
}
}