curl -H "X-API-Key: your_api_key_here" \
"https://api.northaxiumdata.ca/api/v1/departments?q=Defence"
import requests
headers = {"X-API-Key": "your_api_key_here"}
response = requests.get(
"https://api.northaxiumdata.ca/api/v1/departments",
headers=headers,
params={"q": "Defence"}
)
print(response.json())
{
"data": [
{
"department": "National Defence | Défense nationale",
"record_count": 18432,
"total_value": 4821034521.00
}
],
"meta": {
"total": 1,
"limit": 100,
"offset": 0
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing API key. Pass your key in the X-API-Key header."
}
}
{
"error": {
"code": "RATE_LIMITED",
"message": "Monthly request limit exceeded. Upgrade your plan for higher limits."
}
}
Departments
Browse Departments
Browse all federal departments ranked by procurement record count.
GET
/
api
/
v1
/
departments
curl -H "X-API-Key: your_api_key_here" \
"https://api.northaxiumdata.ca/api/v1/departments?q=Defence"
import requests
headers = {"X-API-Key": "your_api_key_here"}
response = requests.get(
"https://api.northaxiumdata.ca/api/v1/departments",
headers=headers,
params={"q": "Defence"}
)
print(response.json())
{
"data": [
{
"department": "National Defence | Défense nationale",
"record_count": 18432,
"total_value": 4821034521.00
}
],
"meta": {
"total": 1,
"limit": 100,
"offset": 0
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing API key. Pass your key in the X-API-Key header."
}
}
{
"error": {
"code": "RATE_LIMITED",
"message": "Monthly request limit exceeded. Upgrade your plan for higher limits."
}
}
Overview
Returns all distinct federal department strings ranked by contract record count. Use to find the exact department name before calling Department Profile.Query Parameters
string
Partial match on department name. Example:
Palantir.string
Only
record_count. Default: record_count. Example: date.string
asc or desc. Default: desc. Example: desc.integer
Max results. Default:
100. Max: 200. Example: 25.integer
Result offset. Default:
0. Example: 50.curl -H "X-API-Key: your_api_key_here" \
"https://api.northaxiumdata.ca/api/v1/departments?q=Defence"
import requests
headers = {"X-API-Key": "your_api_key_here"}
response = requests.get(
"https://api.northaxiumdata.ca/api/v1/departments",
headers=headers,
params={"q": "Defence"}
)
print(response.json())
{
"data": [
{
"department": "National Defence | Défense nationale",
"record_count": 18432,
"total_value": 4821034521.00
}
],
"meta": {
"total": 1,
"limit": 100,
"offset": 0
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing API key. Pass your key in the X-API-Key header."
}
}
{
"error": {
"code": "RATE_LIMITED",
"message": "Monthly request limit exceeded. Upgrade your plan for higher limits."
}
}